How to push image to docker hub:
# docker login
// build a image using Dockerfile in PWD
# docker build -t store-build .
# docker images | grep store-build
# docker tag <db548e132e30> saran/store-build
# docker push saran/store-build
# docker login
// build a image using Dockerfile in PWD
# docker build -t store-build .
# docker images | grep store-build
# docker tag <db548e132e30> saran/store-build
# docker push saran/store-build
No comments:
Post a Comment