Open dattapw opened 3 years ago
Same here...
anyone found solution of it?
The entrypoint scripts use ~/ or $HOME to find the home directory, but since you must run these scripts as root to create some of the directories, that directory path changes from /home/kasm-user to /root, resulting in directory does not exist.
Also I think some of the startup scripts in some images use "kasm_user" and others use "kasm-user", but I still end up with the issue above after rebuilding the image with them reconciled. The process of making new users in the image build, then at startup, copying them, linking them, removing old ones, creating root level directories, is all a little too convoluted for me to wrap my head around. I have not yet been able to decipher the order in which it is all happening. I think we need to use a variable other than $HOME, like $KASM_DEFAULT_HOME and $NEW_USER_HOME so that running sudo commands or as root still uses the intended base path.
The entrypoint scripts use ~/ or $HOME to find the home directory, but since you must run these scripts as root to create some of the directories, that directory path changes from /home/kasm-user to /root, resulting in directory does not exist.
Also I think some of the startup scripts in some images use "kasm_user" and others use "kasm-user", but I still end up with the issue above after rebuilding the image with them reconciled. The process of making new users in the image build, then at startup, copying them, linking them, removing old ones, creating root level directories, is all a little too convoluted for me to wrap my head around. I have not yet been able to decipher the order in which it is all happening. I think we need to use a variable other than $HOME, like $KASM_DEFAULT_HOME and $NEW_USER_HOME so that running sudo commands or as root still uses the intended base path.
this is because of bug in docker https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/2028392 use different version
I run:
It builds fine. BUT when I try to run it, it exits with the following error: