Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with "rm: cannot remove '/build': Directory not empty" error #20

Open
feenst opened this issue Sep 15, 2017 · 2 comments
Open

Comments

@feenst
Copy link

feenst commented Sep 15, 2017

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
@dajobe
Copy link
Owner

dajobe commented Sep 30, 2017

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.

@feenst
Copy link
Author

feenst commented Oct 9, 2017

Log attached below.

docker_build.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants