Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 11:41:50 -0400
From:      Gilles Kirouac <g1201@myriade.ca>
To:        freebsd-virtualization@freebsd.org
Subject:   Docker hello-world no such file
Message-ID:  <e2df0346-62c9-323c-d756-b709c64fccbe@myriade.ca>

next in thread | raw e-mail | index | archive | help
Using  Xeon processor 5120 with PAE, but not EPT(Extended Page Tables).

I installed Docker on FreeBSD according to:
https://wiki.freebsd.org/Docker (except changed zroot for dkroot because
of conflict)

then attempted my first steps as suggested here
https://docs.docker.com/engine/getstarted/step_one/#step-3-verify-your-in=
stallation

$ docker version
Client version: 1.7.0-dev
Client API version: 1.19
Go version (client): go1.7.4
Git commit (client): 582db78
OS/Arch (client): freebsd/amd64
Server version: 1.7.0-dev
Server API version: 1.19
Go version (server): go1.7.4
Git commit (server): 582db78
OS/Arch (server): freebsd/amd64

$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from hello-world
50a54e1f9180: Pull complete
7a5a2d73abce: Pull complete
Digest:
sha256:7820f4620e6cf3e795643fac2f6b09e7fd0a29e7e5c4eee6aac9ba0bedca158c
Status: Downloaded newer image for hello-world:latest
jail: exec /hello: No such file or directory                <=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
jail: /hello: failed

$ docker ps -a
CONTAINER ID        IMAGE               COMMAND           =20
CREATED             STATUS                     PORTS          NAMES
96d08db2bfcc        hello-world         "/hello"            7 minutes
ago       Exited (1) 7 minutes ago                  cranky_rosalind

In /var/log/docker.log, among a lot of messages and after a new attempt,
I found this warning:
Warning: could not change group /var/run/docker.sock to docker: Group
docker not found

$ groups
gilles wheel

FreeBSD S5004.localdomain 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0:
Wed Feb 22 06:12:04 UTC 2017   =20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
with all patches available.


  ~ Gilles




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2df0346-62c9-323c-d756-b709c64fccbe>