agrimm1962
(Andreas Grimm)
April 14, 2016, 10:51pm
1
Installation completed without problems.
Tried to call docker -version.
Error Message received:
Charon:defaults andreas$ docker version
Client:
Version: 1.11.0
API version: 1.23
Go version: go1.5.4
Git commit: 4dc5990
Built: Wed Apr 13 19:36:04 2016
OS/Arch: darwin/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Charon:defaults andreas$
if used as root, it seems to work:
Charon:local root# docker version
Client:
Version: 1.11.0
API version: 1.23
Go version: go1.5.4
Git commit: 4dc5990
Built: Wed Apr 13 19:36:04 2016
OS/Arch: darwin/amd64
Server:
Version: 1.11.0
API version: 1.23
Go version: go1.5.4
Git commit: a5315b8
Built: Thu Apr 14 10:19:52 2016
OS/Arch: linux/amd64
Charon:local root# exit
Docker host is set…
Any ideas?
agrimm1962
(Andreas Grimm)
April 14, 2016, 11:17pm
2
Problem found:
DOCKER_HOST was still set to old docker installation. Removed - working
what is the output of the following commands?
id
ls -lah /var/run/docker.sock /var/tmp/docker.sock
env | grep DOCKER
pinata diagnose
1 Like
agrimm1962
(Andreas Grimm)
April 14, 2016, 11:32pm
4
ditional commands
Charon:~ andreas$ id
uid=503(andreas) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)
Charon:~ andreas$ ls -lah /var/run/docker.sock /var/tmp/docker.sock
lrwxr-xr-x 1 root daemon 20B Apr 15 01:14 /var/run/docker.sock -> /var/tmp/docker.sock
srwxr-xr-x 1 andreas wheel 0B Apr 15 01:14 /var/tmp/docker.sock
Charon:~ andreas$ env | grep DOCKER
Charon:~ andreas$ pinata diagnose
OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta7
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160415-013143.tar.gz
Most specific failure is: No error was detected
Would you like to upload log files? [Y/N]: Y
Your unique id is: 5C9E9E13-A390-4F4A-ACA1-2A6A140BCDDE
Please quote this in all correspondence.
Charon:~ andreas$
jetlabs
(Jetlabs)
April 16, 2016, 2:07pm
5
Thanks for the hint. I had the same problem with an old DOCKER_HOST variable.
Otherwise the OOBE was great.