I was wondering if it's possible to install and run Docker in a Ubuntu 14.04 USB Live-Disk.
I'm trying it with a 8GB USB, 4 GB for installation and 4 GB for persisted storage, but I keep getting errors when running the containers (no problem in pulling them).
Here is my 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 the current error I'm getting when running a docker container is:
[8] System error: mountpoint for cpu not found
OBS: Sometimes the error is that the cpuset or that the devices were not found.
The kernel of the live-disk that I'm using is:
$ uname -r
3.13.0-32-generic
If the Ubuntu live disk is not the best live-disk to run Docker, are there any other alternatives that have some GUI with it, not just a simple terminal to run docker?
I'm saying this because I'm trying to introduce Docker to my parents, but they don't want to install a linux in their PCs, and so I need some simple graphic interface to write down the Dockerfile, open a browser, etc...
UPDATE
I saw that during the install there was a error when setting up the cgroup-lite dependency initctl: Unknown job: cgroup-lite
. Also I read that some ubuntu need to install apparmor so that the docker installation works properly.
So I installed it and reinstalled docker (cgroup-lite installed with no problem then), and now I'm getting this when running the sudo docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
INFO[0000] -job init_networkdriver() = OK (0)
WARN[0004] Your kernel does 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 to run a container I receive>
ERRO[0125] HTTP Error: statusCode=500 Cannot start container 90875e79dec37cec41a67aac235b81f0fc17c4e011cd6e5368a4b29336587f5b:
[8] System error: permission denied
Not sure about the kernel not supporting cgroup, but if so, then is it possible to update the kernel in the livedisk (persisting it?) ?