Created
March 13, 2015 18:14
-
-
Save yupadhyay/660cdb43e0fb6abcdc9d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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