Docker Community Forums

Share and learn in the Docker community.

Mac Beta Docker Install did not set up links /usr/local/bin


(Jschimpf256) #1

Expected behavior

Should set up links to executables inside MacDocker container

Actual behavior

508 ~> lf /usr/local/bin/docker*
14344 -rwxr-xr-x 1 jim admin 7342448 May 7 05:37 /usr/local/bin/docker
8 lrwxr-xr-x 1 jim staff 71 May 7 05:37 /usr/local/bin/docker-compose -> /Users/jim/Library/Group Containers/group.com.docker/bin/docker-compose
10064 -rwxr-xr-x 1 jim admin 5151520 Sep 23 2015 /usr/local/bin/docker-compose.backup
30264 -rwxr-xr-x 1 jim admin 15491744 May 7 05:37 /usr/local/bin/docker-machine
30264 -rwxr-xr-x 1 jim admin 15491744 Oct 17 2015 /usr/local/bin/docker-machine.backup
14344 -rwxr-xr-x 1 jim admin 7342448 Oct 17 2015 /usr/local/bin/docker.backup

Information

I had previously installed Docker on this machine using this:
(https://docs.docker.com/engine/installation/mac/)

Steps to reproduce the behavior

Install Beta
Open terminal window and do docker --version
docker --version
Docker version 1.5.0, build a8a31ef
NOT 1.11…


(Chuckg) #2

I experienced this as well, seems like this directory is mapped from the VM.

Results

$ ls -la /usr/local/bin/docker
lrwxr-xr-x 1 cgg AD\Domain Users 63 May 12 15:27 /usr/local/bin/docker@ -> /Users/cgg/Library/Group Containers/group.com.docker/bin/docker

$ docker run --rm -ti -v /usr/local/bin/docker:/usr/local/bin/docker ubuntu:14.04 ls -la /usr/local/bin/docker
total 4
drwxr-xr-x 2 root root 40 May 12 22:34 .
drwxr-xr-x 3 root root 4096 May 12 22:34 …```

Current version information

$ docker version
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: darwin/amd64

Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 8b63c77
Built: Tue May 10 10:39:20 2016
OS/Arch: linux/amd64`


(Jschimpf256) #3

Now it seems to be fixed. Didn’t do anything but machine might have rebooted since install.

504 ~> docker --version
Docker version 1.11.1, build 5604cbe

Also tried other things and ran some containers and all worked.

—jim schimpf