title: Run docker in ubuntu live disk
body: <p>I was wondering if it's possible to install and run Docker in a <strong>Ubuntu 14.04 USB Live-Disk</strong>.</p>
  
  <p>I'm trying it with a <strong>8GB</strong> USB, 4 GB for installation and <strong>4 GB for persisted storage</strong>, but I keep getting errors when running the containers (<strong>no problem in pulling them</strong>).</p>
  
  <p>Here is my Docker version:</p>
  
  <pre><code>$ 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
  </code></pre>
  
  <p>And the current error I'm getting when running a docker container is:</p>
  
  <pre><code>[8] System error: mountpoint for cpu not found 
  </code></pre>
  
  <p>OBS: Sometimes the error is that the <strong>cpuset</strong> or that the <strong>devices</strong> were not found.</p>
  
  <p>The kernel of the live-disk that I'm using is:</p>
  
  <pre><code>$ uname -r
  3.13.0-32-generic
  </code></pre>
  
  <p>If the Ubuntu live disk is not the best live-disk to run Docker, are there <strong>any other alternatives that have some GUI with it</strong>, not just a simple terminal to run docker?</p>
  
  <p>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...</p>
  
  <hr>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I saw that during the install there was a error when setting up the cgroup-lite dependency <code>initctl: Unknown job: cgroup-lite</code>. Also I read that some ubuntu need to install <strong>apparmor</strong> so that the docker installation works properly.</p>
  
  <p>So I installed it and reinstalled docker (cgroup-lite installed with no problem then), and now I'm getting this when running the <code>sudo docker -d</code></p>
  
  <pre><code>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 
  </code></pre>
  
  <p>And when trying to run a container I receive></p>
  
  <pre><code>ERRO[0125] HTTP Error: statusCode=500 Cannot start container 90875e79dec37cec41a67aac235b81f0fc17c4e011cd6e5368a4b29336587f5b: 
  [8] System error: permission denied
  </code></pre>
  
  <p>Not sure about the kernel not supporting cgroup, but if so, then is it possible to update the kernel in the livedisk (persisting it?) ?</p>