...
Code Block |
---|
pi@pi0:~ $ docker run hello-world Status: Downloaded newer image for hello-world:latest docker: Error response from daemon: cgroups: memory cgroup not supported on this system: unknown. ERRO[0007] error waiting for container: context canceled pi@pi0:~ $ docker version Client: Version: 17.11.0-ce OS/Arch: linux/arm pi@pi0:~ $ sudo apt install docker-ce=17.09.0~ce-0~raspbian pi@pi0:~ $ docker run hello-world Hello from Docker! pi@pi0:~ $ sudo nano /boot/cmdline.txt pi@pi0:~ $ cat /boot/cmdline.txt dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles # add to the end of first line: cgroup_enable=memory cgroup_memory=1 # reboot |
Kubernetes Setup
http://blog.kubernetes.io/2015/12/creating-raspberry-pi-cluster-running.html
...