泊坞窗你好世界不工作

我正在尝试在我的Linux Mint上使用Docker。 我遵循Hello World示例,但似乎不起作用。 这是我的日志:

# uname -a Linux abenoit-linux 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux # dpkg -l | grep docker ii lxc-docker 0.9.0 amd64 Linux container runtime ii lxc-docker-0.9.0 0.9.0 amd64 Linux container runtime # docker info Containers: 0 Images: 0 Driver: aufs Root Dir: /var/lib/docker/aufs Dirs: 0 WARNING: No memory limit support WARNING: No swap limit support # docker pull busybox Pulling repository busybox 769b9341d937: Download complete 511136ea3c5a: Download complete bf747efa0e2f: Download complete 48e5f45168b9: Download complete # docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES # docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE busybox latest 769b9341d937 6 weeks ago 2.489 MB # docker run busybox /bin/echo hello world # 

我可以inputanythin而不是“/ bin / echo hello world”,但是我从来没有得到任何输出(即使命令是无效的)。

任何想法这里有什么不对?

刚刚发现问题:我在Linux Mint中默认情况下未安装cgroup-lite。 而使用apt-get安装lxc-docker时,只会提示并不要求:

 # apt-get install lxc-docker Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : aufs-tools lxc-docker-0.9.0 Paquets suggérés : cgroup-lite Les NOUVEAUX paquets suivants seront installés : aufs-tools lxc-docker lxc-docker-0.9.0 

所以你必须手动安装它。