-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
HOME environment var ignore on version 0.9.11 and 0.9.12 #119
Comments
I have three HOME vars: 1- HOME is "" expanding from Ex: Then my automated script running without shell fail with: not HOME defined. |
The same applies to SHELL. |
I also experienced this issue. This workaround seems to work for me so far in my Dockerfile to set HOME=/root
|
Faced the same today in Docker 1.5.0 with baseimage 0.9.16 |
We ignore HOME, SHELL, USER and a bunch of other environment variables on purpose, because not ignoring them will break multi-user containers. See #86 But I recognize that this causes confusion, so we should update the documentation accordingly. |
Also faced the same today in Docker 1.11.2 with baseimage 0.9.18 |
I added this to the README.md:
|
HOME was ignored by the phusion container. Workaround in phusion/baseimage-docker#119
HOME was ignored by the phusion container. Workaround in phusion/baseimage-docker#119
The `HOME` environment variable is being ignored in phusion/baseimage. This implements the workaround proposed in phusion/baseimage-docker#119 (comment).
The `HOME` environment variable is being ignored in phusion/baseimage. This implements the workaround proposed in phusion/baseimage-docker#119 (comment).
Using a minimal Docker file:
and then connect docker image via ssh. I got this result changing
phusion/baseimage
VERSION:OK
WRONG ( HOME var ignored)
The text was updated successfully, but these errors were encountered: