-登録
https://hub.docker.com/
-login
docker login -u
-add tag
docker tag
-push to Docker hub
docker push
or
docker push
imageのrepoNameをtagで変更しておかないとpushでエラー吐く.
denied: requested access to the resource is denied
An image does not exist locally with the tag:
- about
docker hubへ置いておくことで他の環境からでもオンラインでのpull
が可能になる.
また,代替手段として,Dockerfileをgit管理しても少し面倒になるが良いだろう.