Expected behavior
I expect to be able to access /Mac in my containers, per the docs.
Actual behavior
I don’t see any /Mac mount point.
If I connect to the Moby VM then I see what appears to be an error related to the mount:
docker:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 205132 160 204972 0% /run
dev 10240 0 10240 0% /dev
shm 1025648 0 1025648 0% /dev/shm
cgroup_root 10240 0 10240 0% /sys/fs/cgroup
/dev/vda2 61885428 3363908 55354852 6% /var
df: /Mac: Socket not connected
/dev/vda2 61885428 3363908 55354852 6% /var/lib/docker/aufs
but I am not sure how to debug this further.
Information
Note that one somewhat non-standard thing I do is keep my HOME directory on a separate partition, with a symlink in /Users to that location. This confuses Docker Toolbox and I work around it by manually mounting things in the VM (a la docker/machine#1826). I can’t tell if that might be related to what is happening here.
FWIW, I tried switch to a different user which is not configured this way. That exposed two problems:
- Docker refused to launch with various errors when launched from that user’s session while I still had it running in my primary session.
- After quitting docker in my primary session, docker refused to launch because of “missing beta access”. If someone can tell me how to configure the alternate user with access I can try this experiment again.
$ pinata diagnose -u
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.10.3-beta5
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] lofs
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160331-231534.tar.gz.
Your unique id in bugsnag is: A5C65C17-C407-462C-AB01-8DECCFB46F44
Please quote this in all correspondence.
Steps to reproduce the behavior
- Run a shell in any container (e.g., nginx from the tutorial docs)
- ls /Mac