hbase-docker
hbase-docker copied to clipboard
Build fails with "rm: cannot remove '/build': Directory not empty" error
Running on CentOS 7 Docker version 17.06.2-ce, build cec0b72
The image doesn't get built if the rm -rf /build
is included here. If I remove that command, the image builds.
I get the following if I enter a container based on that image:
root@hbase-docker:/build# ls -ltra
ls: cannot access 'build-hbase.sh': No such file or directory
ls: cannot access 'cleanup-hbase.sh': No such file or directory
ls: cannot access 'config-hbase.sh': No such file or directory
ls: cannot access 'prepare-hbase.sh': No such file or directory
ls: cannot access 'start-hbase.sh': No such file or directory
total 4
??????????? ? ? ? ? ? start-hbase.sh
??????????? ? ? ? ? ? prepare-hbase.sh
??????????? ? ? ? ? ? config-hbase.sh
??????????? ? ? ? ? ? cleanup-hbase.sh
??????????? ? ? ? ? ? build-hbase.sh
Can you provide a build log from the 'docker build' line onwards. The 'ls' you show above seems to be a bad filesystem / docker VFS issue, to me.