Last active
October 8, 2016 18:57
-
-
Save TylerJewell/784316135bb8442e693ff7a699c95f86 to your computer and use it in GitHub Desktop.
Che Docker Container - Complex Syntax
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
# Run the Che container with: | |
docker run --net=host \ | |
--name che \ | |
--restart always \ | |
-p 9001:8080 \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /home/user/che/lib:/home/user/che/lib-copy \ | |
-v /home/user/che/workspaces:/home/user/che/workspaces \ | |
-v /home/user/che/storage:/home/user/che/storage \ | |
-v /local:/container \ | |
-v /home/my_assembly:/home/user/che \ | |
-e CHE_LOCAL_CONF_DIR=/container \ | |
-e DOCKER_MACHINE_HOST=172.17.0.1 \ | |
codenvy/che-server --remote:1.1.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment