Guest User

Untitled

a guest
May 22nd, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.68 KB | None | 0 0
  1. [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
  2.  
  3. !!!
  4. !!! Running 'docker' succeeded, but 'docker ps' failed. This usually means that docker cannot reach its daemon.
  5. !!!
  6.  
  7. Usage:
  8.   che [OPTIONS] [COMMAND]
  9.      -v,        --vmware                Use the docker-machine VMware driver (instead of VirtualBox)
  10.      -m:name,   --machine:name          For Win & Mac, sets the docker-machine VM name; default=che
  11.      -a:driver, --machine-driver:driver For Win & Mac, specifies the docker-machine driver to use; default=vbox
  12.      -p:port,   --port:port             Port that Che server will use for HTTP requests; default=8080
  13.      -r:ip,     --remote:ip             If Che clients are not localhost, set to IP address of Che server
  14.      -h,        --help                  Show this help
  15.      -d,        --debug                 Use debug mode (prints command line options + app server debug)
  16.  
  17.   Options when running Che natively:
  18.      -b,        --blocking-entropy      Security: https://wiki.apache.org/tomcat/HowTo/FasterStartUp
  19.      -g,        --registry              Launch Docker registry as a container (used for ws snapshots)
  20.      -s:client, --skip:client           Do not print browser client connection information
  21.      -s:java,   --skip:java             Do not enforce Java version checks
  22.      -s:uid,    --skip:uid              Do not enforce UID=1000 for Docker
  23.  
  24.   Options when running Che in a Docker container:
  25.      -i,        --image                 Launches Che within a Docker container using latest image
  26.      -i:tag,    --image:tag             Launches Che within a Docker container using specific image
  27.      -c:name,   --container:name        Sets the container name if -i provided; default=che
  28.      -t,        --stop-container        If stopping Che, will also stop Che container if Che ran with -i
  29.  
  30.   Commands:
  31.      run                                (Default) Starts Che server with logging in current console
  32.      start                              Starts Che server in new console
  33.      stop                               Stops Che server
  34.  
  35. Docs: http://eclipse.org/che/getting-started.
  36.  
  37. If you are running Che as a server on a VM for multiple users to access, review the various networking
  38. configuration items that control how clients, Che and workspaces initiate connections. See:
  39. https://eclipse-che.readme.io/docs/networking.
  40. [ec2-user@ip-172-31-22-179 ~]$
Advertisement
Add Comment
Please, Sign In to add comment