ClashTheBunny / Debian64Pi

64-bit Debian Buster images for the Raspberry Pi 3 and 4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make docker run well from the start

ClashTheBunny opened this issue · comments

Solved with:

sudo ln -sf ldconfig ldconfig.real
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
sudo apt install nvidia-docker2

Causes these error messages:

nvidia-container-cli: ldcache error: open failed: /sbin/ldconfig.real: no such file or directory

and

sudo journalctl -xe -u docker | grep Error
Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables: Operation not supported.