-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Che container creates folders with projects in /data on host machine #3324
Comments
@garagatyi with image from master branch ? |
Yes |
Post command line. We made changes in the cli-improvements branch to change :/che volume mount to now be :/data, but it's only in the branch. |
I tried commands I listed below and I can reproduce it:
|
I do not know what is |
Sorry - it is my shortcut |
Ok - issue reproduced. Not a CLI issue. It's an issue with the che-server Docker container. The embedded the che.properties must be getting set a value that is a host path, and not the container path. |
I've started a ubuntu vm. (we can't reproduce on mac or windows) docker.sh script is doing
is_in_vm check if we're using docker4mac, boot2docker, etc and then set
but on Linux, it goes with "native" then these properties are not set then it takes default values but it takes what is done at line https://github.com/eclipse/che/blob/master/assembly/assembly-main/src/assembly/bin/docker.sh#L98
|
fix is part of #3318 |
solved by #3318 |
Che CLI in docker container creates /data folder on host and writes projects there.
Che version: 5.0.0-M9-SNAPSHOT
OS and version: Ubuntu 16.04
Docker version: 1.12
Che install: Docker container
The text was updated successfully, but these errors were encountered: