DEV Community

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

Collapse
 
medmoufahim profile image
Mohamed MOUFAHIM • Edited

I followed the steps (I used Ubuntu 22.04 LTS) but get this error while I try to launch dockerd ($sudo dockerd) :

error obtaining controller instance: unable to add return rule in DOCKER-ISOLATION-STAGE-1 chain: (iptables failed: iptables --wait -A DOCKER-ISOLATION-STAGE-1 -j RETURN: iptables v1.8.7 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain DOCKER-ISOLATION-STAGE-1

Very well explained article by the way...


Edit :
I found that the error is related to the ubuntu version I use : more details here : askubuntu.com/questions/1402272/ca...

I just updated iptables version used by the system using the following command :

$update-alternatives --config iptables

then chose the legacy one (choise 1 for me)