Last active
December 29, 2015 01:19
-
-
Save djmaze/7592684 to your computer and use it in GitHub Desktop.
dind on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -privileged -t -i jpetazzo/dind | |
/proc/self/fd / | |
/ | |
root@395a5d16f74c:/# 2013/11/22 00:37:54 WARNING: Your kernel does not support cgroup swap limit. | |
2013/11/22 00:37:54 Listening for HTTP on /var/run/docker.sock (unix) | |
root@395a5d16f74c:/# docker run busybox /bin/sh | |
2013/11/22 00:38:11 POST /v1.4/containers/create | |
Unable to find image 'busybox' (tag: latest) locally | |
2013/11/22 00:38:11 POST /v1.4/images/create?fromImage=busybox&tag= | |
Pulling repository busybox | |
e9aa60c60128: Download complete | |
2013/11/22 00:38:20 POST /v1.4/containers/create | |
2013/11/22 00:38:20 POST /v1.4/containers/fca9766c5f81/start | |
2013/11/22 00:38:20 POST /v1.4/containers/fca9766c5f81/attach?logs=1&stderr=1&stdout=1&stream=1 | |
lxc-start: no ns_cgroup option specified | |
lxc-start: failed to spawn 'fca9766c5f81a27e555dfe72d07b63464d48b953862640a84a7c3c0162188c49' | |
lxc-start: No such file or directory - failed to remove cgroup '/sys/fs/cgroup/systemd/system.slice/docker.service/lxc/fca9766c5f81a27e555dfe72d07b63464d48b953862640a84a7c3c0162188c49' | |
root@395a5d16f74c:/# lxc-checkconfig | |
--- Namespaces --- | |
Namespaces: enabled | |
Utsname namespace: enabled | |
Ipc namespace: enabled | |
Pid namespace: enabled | |
User namespace: missing | |
Network namespace: enabled | |
Multiple /dev/pts instances: enabled | |
--- Control groups --- | |
Cgroup: enabled | |
Cgroup namespace: required | |
Cgroup device: enabled | |
Cgroup sched: enabled | |
Cgroup cpu account: enabled | |
Cgroup memory controller: missing | |
Cgroup cpuset: enabled | |
--- Misc --- | |
Veth pair device: enabled | |
Macvlan: enabled | |
Vlan: enabled | |
File capabilities: missing | |
enabled | |
Note : Before booting a new kernel, you can check its configuration | |
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig | |
root@395a5d16f74c:/# ls -l /sys/fs/cgroup/ | |
total 0 | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 blkio | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 cpuacct,cpu | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 cpuset | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 devices | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 freezer | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 memory | |
drwxr-xr-x 4 root root 0 Nov 21 20:36 name=systemd | |
drwxr-xr-x 3 root root 0 Nov 21 20:36 net_cls | |
root@395a5d16f74c:/# uname -srv | |
Linux 3.10.7-1-aufs_friendly #1 SMP PREEMPT Wed Aug 21 22:38:27 CEST 2013 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment