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

/var/lib/docker/aufs/mnt/HASH is not within /var/lib/docker/aufs/mnt/HASH #6737

Closed
rohitpaulk opened this issue Jun 27, 2014 · 3 comments
Closed

Comments

@rohitpaulk
Copy link

I have an installation of docker(1.0.1) on Ubuntu 13.04 and I'm seeing a weird error. I try building an image from a Dockerfile and get "/var/lib/docker/aufs/mnt/HASH is not within /var/lib/docker/aufs/mnt/HASH". I have no idea what this means, so I'm just pasting all the details here.

Here's the exact error:

Step 18 : RUN apt-get install -qy git
 ---> Running in 08bb96c43aba
2014/06/27 23:14:30 /var/lib/docker/aufs/mnt/08bb96c43abaf226f6d8ec6fb5554ea2d8f1a0896d24175427d0e78bffa6a628 is not within /var/lib/docker/aufs/mnt/08bb96c43abaf226f6d8ec6fb5554ea2d8f1a0896d24175427d0e78bffa6a628

Here's the output of docker ps -a

CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS               NAMES
08bb96c43aba        167c3f597fb9        /bin/sh -c 'apt-get    10 minutes ago                                              angry_heisenberg 

Output of uname -a

Linux PaulDell 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Output of docker version

Client version: 1.0.1
Client API version: 1.12
Go version (client): go1.2.1
Git commit (client): 990021a
Server version: 1.0.1
Server API version: 1.12
Go version (server): go1.2.1
Git commit (server): 990021a

Output of docker -D info

Containers: 1
Images: 36
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 39
Execution Driver: native-0.2
Kernel Version: 3.8.0-35-generic
Debug mode (server): false
Debug mode (client): true
Fds: 10
Goroutines: 10
EventsListeners: 0
Init Path: /usr/bin/docker
WARNING: No swap limit support

I've tried restarting the daemon, doesn't change a thing.

@tianon
Copy link
Member

tianon commented Jun 27, 2014

This is a duplicate of #6619 which was fixed by #6646. ;)

@tianon tianon closed this as completed Jun 27, 2014
@rohitpaulk
Copy link
Author

Oh okay. Thanks :)

@bean5
Copy link

bean5 commented Sep 22, 2015

I got this error today (year is 2015). It started happening after I ran a dist-upgrade in ubuntu on a dev box. I had to purge all of docker, uninstall, then reinstall :(. Seems to be working now :)

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

3 participants