Docker Community Forums

Share and learn in the Docker community.

Running Docker under multiple OSX Accounts/Logins (SOLVED)


(Adriaan de Jonge) #1

Expected behavior

Login to OSX as User1, install Docker for Mac Beta, start Docker: work in a clean environment
Login to OSX as User2, start the already already installed Docker: work in a clean environment - not seeing any of the images/containers of User1

Actual behavior

Login to OSX as User1, install Docker for Mac Beta, start Docker: work in a clean environment
Login to OSX as User2, start the already already installed Docker: wait a few seconts: FATAL ERROR - com.docker.osx.xhyve.linux failed to start - Exit code 1.

Information

OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.0-beta9
Running diagnostic tests:
[ERROR] docker-cli Permission denied (EACCES) connecting to /var/run/docker.sock: check permissions
[ERROR] docker-cli Permission denied (EACCES) connecting to /var/tmp/docker.sock: check permissions
Error docker ps: timeout after 10.00s
[ERROR] docker-cli docker ps failed: Misc.Failure
[OK] docker-cli
[ERROR] Moby booted /Users/adriaanxebia/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK] Moby booted
[ERROR] driver.amd64-linux Docker.app/Contents/MacOS/com.docker.driver.amd64-linux -db is not running
[OK] driver.amd64-linux
[OK] vmnetd
[ERROR] osxfs com.docker.osxfs is not running
[OK] osxfs
[ERROR] db Permission denied (EACCES) connecting to /var/tmp/com.docker.db.socket: check permissions
[ERROR] db com.docker.db is not running
[OK] db
[ERROR] slirp Permission denied (EACCES) connecting to /var/tmp/com.docker.port.socket: check permissions
[ERROR] slirp com.docker.slirp is not running
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Error docker ps: got timeout (docker ps: exit 1)
Thread 6 killed on uncaught exception Misc.Failure
Docker logs are being collected into /tmp/20160429-092413.tar.gz
Most specific failure is: com.docker.slirp is not running
Your unique id is: 2ED22B88-EACF-44C2-951E-C5FEC3DBF847
Please quote this in all correspondence.

Steps to reproduce the behavior

  1. Login as User1, install Docker for Mac Beta (requiring elevated permissions which come from Admin account)
  2. Start Docker
  3. Create some container
  4. Switch User to User2
  5. Start Docker
  6. Wait a few seconds
  7. Fatal Error

(Adriaan de Jonge) #2

Looks like this is solved in 1.11.1-beta12.