Last active
August 29, 2015 14:13
-
-
Save aschmoe/c4e8024d4e12366894c1 to your computer and use it in GitHub Desktop.
Installing drupal docker image
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
# build from https://github.com/albatrossdigital/aws-docker-drupal-deployment | |
git clone | |
cd FOLDER | |
sudo docker build -t aschmoe/soar-drops-v1 . | |
# run a container on the image | |
sudo docker run -p 49160:80 -d --name soar_drupal aschmoe/soar-drops-v1 | |
# run a container on the image with a mounted shared folder | |
sudo docker run -p 49160:80 -d --name soar_drupal -v /var/docker-temp:/var/docker-temp aschmoe/soar-drops-v1 | |
# run a container with mounted data volume | |
sudo docker run -p 49160:80 -d --volumes-from soar_db --name soar_drupal aschmoe/soar-drops-v1 | |
# check on container progress | |
sudo docker logs soar_drupal | |
# Enter bash on running container | |
sudo docker exec -it soar_drupal bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment