linux - Run docker in ubuntu live disk -
i wondering if it's possible install , run docker in ubuntu 14.04 usb live-disk.
i'm trying 8gb usb, 4 gb installation , 4 gb persisted storage, keep getting errors when running containers (no problem in pulling them).
here docker version:
$ sudo docker version client version: 1.6.2 client api version: 1.18 go version (client): go1.4.2 git commit (client): 7c8fca2 os/arch (client): linux/amd64 server version: 1.6.2 server api version: 1.18 go version (server): go1.4.2 git commit (server): 7c8fca2 os/arch (server): linux/amd64
and current error i'm getting when running docker container is:
[8] system error: mountpoint cpu not found
obs: error cpuset or devices not found.
the kernel of live-disk i'm using is:
$ uname -r 3.13.0-32-generic
if ubuntu live disk not best live-disk run docker, there any other alternatives have gui it, not simple terminal run docker?
i'm saying because i'm trying introduce docker parents, don't want install linux in pcs, , need simple graphic interface write down dockerfile, open browser, etc...
update
i saw during install there error when setting cgroup-lite dependency initctl: unknown job: cgroup-lite
. read ubuntu need install apparmor docker installation works properly.
so installed , reinstalled docker (cgroup-lite installed no problem then), , i'm getting when running sudo docker -d
info[0000] +job serveapi(unix:///var/run/docker.sock) info[0000] listening http on unix (/var/run/docker.sock) info[0000] +job init_networkdriver() info[0000] -job init_networkdriver() = ok (0) warn[0004] kernel not support cgroup swap limit. info[0004] loading containers: start. ...... info[0004] loading containers: done. info[0004] docker daemon: 1.6.2 7c8fca2; execdriver: native-0.2; graphdriver: aufs info[0004] +job acceptconnections() info[0004] -job acceptconnections() = ok (0) info[0004] daemon has completed initialization
and when trying run container receive>
erro[0125] http error: statuscode=500 cannot start container 90875e79dec37cec41a67aac235b81f0fc17c4e011cd6e5368a4b29336587f5b: [8] system error: permission denied
not sure kernel not supporting cgroup, if so, possible update kernel in livedisk (persisting it?) ?
i've managed make work changing docker storage devicemapper instead of aufs.
basically had change /etc/default/docker
have in it:
docker_opts="--storage-driver=devicemapper"
i've manage make containers run ok this, prefer using aufs.
i realized partition not using aufs default, caw
or cow
(can't remember now).
i tried make work using aufs using union=aufs
flag in grub, when running docker daemon fata[0000] shutting down daemon due errors: error intializing graphdriver: backing file system unsupported graph driver
, looks related https://github.com/docker/docker/issues/7321
i'll leave answer here, since workaround problem, if manage make work using aufs be, in opinion, better answer.
Comments
Post a Comment