美文网首页
wsl无法启动docker

wsl无法启动docker

作者: wwq2020 | 来源:发表于2023-06-05 15:11 被阅读0次

    报错信息

    failed to start daemon: Error initializing network controller: 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
    

    解决方案

    update-alternatives --set iptables /usr/sbin/iptables-legacy
    update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
    

    相关文章

      网友评论

          本文标题:wsl无法启动docker

          本文链接:https://www.haomeiwen.com/subject/ovxwedtx.html