What steps will reproduce the problem?
$ C=$(docker run base:e9cb4ad9173245ac /bin/sh -c "echo hello > /foo")
$ IMG_ADDED=$(docker commit $C _/tmp/testrm)
$ C=$(docker run $IMG_ADDED /bin/rm /foo)
$ IMG_REMOVED=$(docker commit $C _/tmp/testrm)
$ docker run -a $IMG_REMOVED /bin/cat /foo
What is the expected output?
/bin/cat: /foo: No such file or directory
What do you see instead?
What steps will reproduce the problem?
What is the expected output?
What do you see instead?