Docker hello-world no such file
Gilles Kirouac
g1201 at myriade.ca
Sun Mar 19 15:57:03 UTC 2017
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-installation
$ 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 <==========
jail: /hello: failed
$ docker ps -a
CONTAINER ID IMAGE COMMAND
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
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
with all patches available.
~ Gilles
More information about the freebsd-virtualization
mailing list