Docker Hub
After create docker image, I want to push image to docker hub to using next time easy. I should do as follow:
Need to make sure I login docker hub
1
docker login --username=<YOUR_USERNAME> --email=<YOUR_EMAIL>
It will save login credentials in $HOME/.docker/config.json
Create tag for image
1
docker tag <IMAGE ID> <USERNAME>/<IMAGE NAME>
Push image
1
docker push <USERNAME>/<IMAGE NAME>
And then, you can pull you image everywhere(with VPN in some place).