Reputation: 129
I am new to docker, I plug my PI3 to test some stuff and I'm already facing an error, I can't figured that out myself.
So I freshly install raspbian and docker.
That's my install log
Then I try the classic hello-word test
and there is the log
Upvotes: 8
Views: 6546
Reputation: 481
Quick fix: please create a folder and mount using below command:
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
Upvotes: 0
Reputation: 6233
Another solution is to add cgroup_enable=memory cgroup_memory=1
in /boot/cmdline.txt
at the end of the line and reboot.
Upvotes: 11
Reputation: 184
It looks 17.11.0 has the problem.
Could you try to install the old one as below ?
$ sudo apt install docker-ce=17.09.0~ce-0~raspbian
Or wait for the fix.
(2017.12.5)
It looks 2017-11-29-raspbian-stretch
has same issue. To avoid upgrading by apt upgrade
, Do:
sudo apt-mark hold docker-ce
.
And unhold
when it fixes.
Upvotes: 16