DEV Community

Discussion on: Install Docker on Windows (WSL) without Docker Desktop

Collapse
 
brycolem profile image
Bryan Patrick Coleman

I followed the instructions on your page, when I ran

# update-alternatives --set iptables /usr/sbin/iptables-legacy
# update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
# update-alternatives --set arptables /usr/sbin/arptables-legacy
# update-alternatives --set ebtables /usr/sbin/ebtables-legacy
Enter fullscreen mode Exit fullscreen mode

I got an error saying arp and eb were not registered and weren't going to be set.

I still don't have any communication from the container out to the internet which is an issue since I need them to run containers for vscode which installs stuff from special scripts during container creation.

Collapse
 
bowmanjd profile image
Jonathan Bowman

I don't know if arp works on wsl... github.com/Microsoft/WSL/issues/2279. Curious if you find any solutions, though

Thread Thread
 
brycolem profile image
Bryan Patrick Coleman

After I reboot Windows it started working. So no entry with iptables and setting the iptables and ip6tables to legacy worked. It just needed to restart everything.