Last active
April 10, 2019 12:33
-
-
Save mvmthecreator/dcd5ff60be6fc6b11f932bd6f0656f42 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
# This creates a docker container with lemp stack and creates | |
# --net = name of your host | |
# -v your webroot folder:docker container folder with z option | |
docker run -it -p "8080:80" -p "3306:3306" -e MYSQL_PASS="MySecretPassword" -v /home/user_home_folder/web:/app:z --name=webserver --net=hostname tutum/lamp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment