mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
fc92df0d17
change docker login address to localhost
11 lines
268 B
Bash
Executable File
11 lines
268 B
Bash
Executable File
docker pull hello-world
|
|
docker pull docker
|
|
docker login -u admin -p Harbor12345 127.0.0.1
|
|
|
|
docker tag hello-world 127.0.0.1/library/hello-world
|
|
docker push 127.0.0.1/library/hello-world
|
|
|
|
docker tag docker 127.0.0.1/library/docker
|
|
docker push 127.0.0.1/library/docker
|
|
|