Skip to content

Instantly share code, notes, and snippets.

@yupadhyay
Created March 13, 2015 17:44
Show Gist options
  • Save yupadhyay/1482e45c27074ae43cda to your computer and use it in GitHub Desktop.
Save yupadhyay/1482e45c27074ae43cda to your computer and use it in GitHub Desktop.
Command to create docker Image
#Make sure that you run this command from same directory where docker file is
#Also makes sure that all files are at same location
docker build --tag="localhost:5000/wemblog/microsites_aem:5.6" .
#Make sure that image exist before push
docker images
#Push image to registry
docker push localhost:5000/wemblog/microsites_aem:5.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment