Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ec2-user@ip-172-31-22-179 ~]$ docker run -ti --net=host -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/tomcat/temp/local-storage:/home/user/che/tomcat/temp/local-storage -e CHE_DOCKER_MACHINE_HOST=$(echo $DOCKER_HOST | cut -c 7- | cut -c -14) codenvy/che
- !!!
- !!! Running 'docker' succeeded, but 'docker ps' failed. This usually means that docker cannot reach its daemon.
- !!!
- Usage:
- che [OPTIONS] [COMMAND]
- -v, --vmware Use the docker-machine VMware driver (instead of VirtualBox)
- -m:name, --machine:name For Win & Mac, sets the docker-machine VM name; default=che
- -a:driver, --machine-driver:driver For Win & Mac, specifies the docker-machine driver to use; default=vbox
- -p:port, --port:port Port that Che server will use for HTTP requests; default=8080
- -r:ip, --remote:ip If Che clients are not localhost, set to IP address of Che server
- -h, --help Show this help
- -d, --debug Use debug mode (prints command line options + app server debug)
- Options when running Che natively:
- -b, --blocking-entropy Security: https://wiki.apache.org/tomcat/HowTo/FasterStartUp
- -g, --registry Launch Docker registry as a container (used for ws snapshots)
- -s:client, --skip:client Do not print browser client connection information
- -s:java, --skip:java Do not enforce Java version checks
- -s:uid, --skip:uid Do not enforce UID=1000 for Docker
- Options when running Che in a Docker container:
- -i, --image Launches Che within a Docker container using latest image
- -i:tag, --image:tag Launches Che within a Docker container using specific image
- -c:name, --container:name Sets the container name if -i provided; default=che
- -t, --stop-container If stopping Che, will also stop Che container if Che ran with -i
- Commands:
- run (Default) Starts Che server with logging in current console
- start Starts Che server in new console
- stop Stops Che server
- Docs: http://eclipse.org/che/getting-started.
- If you are running Che as a server on a VM for multiple users to access, review the various networking
- configuration items that control how clients, Che and workspaces initiate connections. See:
- https://eclipse-che.readme.io/docs/networking.
- [ec2-user@ip-172-31-22-179 ~]$
Advertisement
Add Comment
Please, Sign In to add comment