You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try to use the scenario of step 1 again and get error starting container
limactl create template://experimental/wsl2
<output omitted>
limactl start wsl2
<output omitted>
limactl shell wsl2 sudo nerdctl run -d -p 8080:80 nginx
FATA[0006] failed to verify networking settings: failed to create default network: subnet 10.4.0.0/24 overlaps with other one on this address space
I have the default Ubuntu instance in WSL2, so I could check that there is actually a network leftover:
wsl -d Ubuntu ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:15:5d:0e:30:ad brd ff:ff:ff:ff:ff:ff
3: nerdctl0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether 7e:90:3b:41:32:17 brd ff:ff:ff:ff:ff:ff
And I have to manually delete it with command line or restart the WSL2 fully
wsl --shutdown
<output omitted>wsl -d Ubuntu ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:15:5d:0e:3a:da brd ff:ff:ff:ff:ff:ff
I didn't check, but I expect the same issue if running 2 WSL2 instances side by side (this might be unsupported scenario and in this case requires only documentation). The supported scenario with machine deletion w/o restarting the subsystem might be still desired.
The text was updated successfully, but these errors were encountered:
Description
Scenario:
I have the default Ubuntu instance in WSL2, so I could check that there is actually a network leftover:
And I have to manually delete it with command line or restart the WSL2 fully
I didn't check, but I expect the same issue if running 2 WSL2 instances side by side (this might be unsupported scenario and in this case requires only documentation). The supported scenario with machine deletion w/o restarting the subsystem might be still desired.
The text was updated successfully, but these errors were encountered: