Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. USAGE:
  2. docker run -it --rm <DOCKER_PARAMETERS> eclipse/che-cli:<version> [COMMAND]
  3.  
  4.  
  5. MANDATORY DOCKER PARAMETERS:
  6. -v <LOCAL_PATH>:/data Where user, instance, and log data saved
  7.  
  8. OPTIONAL DOCKER PARAMETERS:
  9. -e CHE_HOST=<YOUR_HOST> IP address or hostname where che will serve its users
  10. -e CHE_PORT=<YOUR_PORT> Port where che will bind itself to
  11. -e CHE_CONTAINER=<YOUR_NAME> Name for the che container
  12. -u <name|uid>[:<group|gid>] (Linux Only) Runs che with specific user and group identity
  13. -v <LOCAL_PATH>:/data/instance Where instance, user, log data will be saved
  14. -v <LOCAL_PATH>:/data/backup Where backup files will be saved
  15. -v <LOCAL_PATH>:/repo che git repo - uses local binaries and manifests
  16. -v <LOCAL_PATH>:/assembly che assembly - uses local binaries
  17. -v <LOCAL_PATH>:/sync Where remote ws files will be copied with sync command
  18. -v <LOCAL_PATH>:/unison Where unison profile for optimizing sync command resides
  19. -v <LOCAL_PATH>:/chedir Soure repository to convert into workspace with Chedir utility
  20.  
  21.  
  22. :
  23. archetype Generate, build, and run custom assemblies of che
  24. action <action-name> Start action on che instance
  25. backup Backups che configuration and data to /data/backup volume mount
  26. config Generates a che config from vars; run on any start / restart
  27. destroy Stops services, and deletes che instance data
  28. dir <command> Use Chedir and Chefile in the directory mounted to :/chedir
  29. download Pulls Docker images for the current che version
  30.  
  31. help This message
  32. info Displays info about che and the CLI
  33. init Initializes a directory with a che install
  34. offline Saves che Docker images into TAR files for offline install
  35. restart Restart che services
  36. restore Restores che configuration and data from /data/backup mount
  37. rmi Removes the Docker images for <version>, forcing a repull
  38.  
  39. ssh <wksp-name> [machine-name] SSH to a workspace if SSH agent enabled
  40. start Starts che services
  41. stop Stops che services
  42. sync <wksp-name> Synchronize workspace with local directory mounted to :/sync
  43. test <test-name> Start test on che instance
  44. upgrade Upgrades che from one version to another with migrations and backups
  45.  
  46. version Installed version and upgrade paths
  47.  
  48.  
  49. GLOBAL COMMAND OPTIONS:
  50. --fast Skips networking, version, nightly and preflight checks
  51.  
  52. --offline Runs CLI in offline mode, loading images from disk
  53. --debug Enable debugging of che server
  54. --trace Activates trace output for debugging CLI
  55. --help Get help for a command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement