I’ve added ENV PATH=$PATH:/opt/rubies/ruby2.1/bin
in my Dockerfile.
When I build image and run it and nsenter it, that PATH is not appended when I do echo $PATH
.
But the process that runs does get that PATH.
It was not the issue in docker 1.2.
Its happening after upgrading to 1.3.
What might be the issue?
1 Like
I think this might be related to https://github.com/docker/docker/pull/9174
though instead of using nsenter
, you can now use docker exec