harbor/tests/testprepare.sh
yhua123 fc92df0d17 Update testprepare.sh
change docker login address to localhost
2016-06-15 11:19:10 +08:00

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