【问题标题】:Issue trying to install docker on WSL2Issue trying to install docker on WSL2
【发布时间】:2022-12-28 07:17:35
【问题描述】:

I'm getting the fallowing error message when I try to run sudo dockerd

 grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout". Reconnecting...  module=grpc
failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.4 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Any thing that I can check to fix it? PS: I have no admin user on windows thanks

【问题讨论】:

    标签: linux windows docker wsl-2


    【解决方案1】:

    Update the packages on the system sudo apt update -y && sudo apt upgrade The problem is that either the current kernel does not support creating tables (unlikely) or iptables

    【讨论】:

      【解决方案2】:

      Did this solve the problem? I'm getting the same error and above solution is not working.

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2022-12-01
        • 2023-02-09
        • 1970-01-01
        • 2022-11-09
        • 2011-11-22
        • 2022-12-27
        • 2022-12-02
        • 2022-12-01
        相关资源
        最近更新 更多