Skip to content

Instantly share code, notes, and snippets.

@yupadhyay
Created March 13, 2015 18:14
Show Gist options
  • Save yupadhyay/660cdb43e0fb6abcdc9d to your computer and use it in GitHub Desktop.
Save yupadhyay/660cdb43e0fb6abcdc9d to your computer and use it in GitHub Desktop.
# First check if docker process is running
docker ps
# Make sure to commit your changes before you stop
docker commit --message="<What did you do>" <Container ID> <your docker registry>/wemblog/aem_microsite:5.6
# Grab container ID from above command
docker stop <Container ID>
# Then pull new image
docker pull <your docker registry>/<new or existing docker tag name>
# Once docker new docker image is available start your image
docker run -d -t -i -p 4502:4502 -p 4503:4503 -p 8080:80 -p 8443:443 <your docker registry>/<new or existing docker tag name>
# Above command could be different depending upon what is present in docker image. Email should have that information
# make sure that docker image is up
docker ps
# Go to your system
# If this is brand new image, You might have to upload content and code again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment