Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~$ docker run --env HOME=/cb -it ubuntu
root@e033c3417a31:/# cd
bash: cd: /cb: No such file or directory
root@e033c3417a31:/# mkdir /cb
root@e033c3417a31:/# cd
root@e033c3417a31:~# bash -c 'echo $HOME'
/cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.