Skip to content

Instantly share code, notes, and snippets.

@anokun7
Created August 24, 2015 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anokun7/3f3c4dfcf3f01a8c5ad3 to your computer and use it in GitHub Desktop.
Save anokun7/3f3c4dfcf3f01a8c5ad3 to your computer and use it in GitHub Desktop.
While running the following command, you may see this error:
`docker push anoop/webapp`
To fix this, run
`docker images`
Get the image id of the repository that you want to push.
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
web_web latest 4b81006810f8 2 hours ago 348.6 MB
webapp_web latest 4b81006810f8 2 hours ago 348.6 MB
debian latest 4a5e6db8c069 3 days ago 125.1 MB
mysql latest c45e4ba02f47 11 days ago 283.8 MB
tomcat latest 71093fb71661 5 weeks ago 347.6 MB
`docker tag 4b81006810f8 anoop/webapp`
`docker push anoop/webapp`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment