Starting eclipse che with parameters in docker outputs "You are missing a mandatory parameter"
See original GitHub issueReproduction Steps:
I am trying to run eclipse che following the documentation. Upon providing the command :
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/docker eclipse/che start
Always provides this output:
INFO: Welcome to Eclipse Che!
INFO:
INFO: You are missing a mandatory parameter:
INFO: 1. Mount 'docker.sock' for accessing Docker with unix sockets.
INFO: 2. Or, set DOCKER_HOST to Docker's daemon location (unix or tcp).
INFO:
INFO: Mount Syntax:
INFO: Start with 'docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock' ...
INFO:
INFO: DOCKER_HOST Syntax:
INFO: Start with 'docker run -it --rm -e DOCKER_HOST=<daemon-location> ...'
Which I do not understand as I am explicitly providing the same parameters.
OS and version:
Ubuntu 16.04
I am new to docker. Point to note that I am not the sudo user, my user just have been added to docker group.
Issue Analytics
- State:
- Created 7 years ago
- Comments:36 (14 by maintainers)
Top Results From Across the Web
Re: [che-dev] Trying Eclipse Che latest release on ubuntu
when we have the USE_DOCKER parameter false Che is not starting with docker? ... (OPTIONAL) CHE_LOGS_DIR ==> Directory for Che output logs.
Read more >Build Docker CLIs Your Users Will Love | Eclipse Che Blog
After 9 months of development, we recently released Eclipse Che 5 ... -v <LOCAL_PATH>:/data Where user data savedOPTIONAL DOCKER PARAMETERS:
Read more >Eclipse CHE - Java mon amour
INFO: INFO: You are missing a mandatory parameter: INFO: 1. Mount 'docker.sock' for accessing Docker with unix sockets. INFO: 2. Or, set ...
Read more >Build your Java image - Docker Documentation
If you prefer to not install Java on your machine, you can skip this step, ... Let's start our application and make sure...
Read more >Chapter 4. Selecting a workspace IDE
Use the che-editor.yaml file to define a default IDE for the project users. For a list of supported IDs, see Optional parameters for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue when I follow the instructions here:
Neither using
sudo
, nor using nightly, norsudo chmod 777 /var/run/docker.sock
makes a difference. The environment variable$DOCKER_HOST
is undefined in my shell.However, this full command does work:
OS: Linux Mint 18.1 Cinnamon 64-bit Docker: 1.13.0 build 49bf474 (info)
@virtlink - your execution is expected. We already require docker sock or docker host to be added to run. We provide the simpler syntax in our docs to simplify how people get started. You provide the simple syntax first and then we guide you to add the other mounts.