code-3.1运行后/proc/self被修改
tsonglew opened this issue · comments
Because you have gone into a new namespace after run ./mydocker run -ti ./bin/sh
,type exit
will back to your host`s namespace.
# sudo mount -t proc proc /proc
have a try~
解决了。谢谢。
Is there better way to fixed this question?
I should use mount -t proc proc /proc
every time after try to run mydocker run
command, i don't think it's a good idea.