Created
June 2, 2020 04:13
-
-
Save ealipio/564ee9cb2483f29c353331bf57196586 to your computer and use it in GitHub Desktop.
Docker in debian error
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
I get this error installing docker in debian WSL 2 | |
The docker installer uses iptables for nat. Unfortunately Debian uses nftables. You can convert the entries over to nftables or just setup Debian to use the legacy iptables. | |
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy | |
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy | |
dockerd, should start fine after switching to iptables-legacy. | |
sudo service docker start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment