8000 GitHub - koolay/imgcopy
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

koolay/imgcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy docker image to remote

Build and run

$ docker build -t imgcopy .
$ docker run --rm  -e DOCKER_CONFIG_FILE=/tmp/docker.config.json -e DOCKER_AUTH_NAME=hw -e DOCKER_AUTH_TOKEN=aa -p 8080:8080 imgcopy
http://localhost:8080/api/copy?src=docker.io/library/busybox:latest&dest=my-registry.com/mirr/busybox:latest

Deployment to fly.io

  1. install flyctl

curl -L https://fly.io/install.sh | sh

# flyctl detect the Dockerfile
$ flyctl launch  --verbose

# set secrets
$ flyctl secrets set LOGIN_KEY=xx
$ flyctl secrets set DOCKER_AUTH_TOKEN=xx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0