ActiveIce / WSL2-Linux-Kernel

GNU General Public License v3.0
9 stars 4 forks source link

docker cannot start after installing linux-msft-wsl-6.6.y #4

Open liwenjie119 opened 2 weeks ago

liwenjie119 commented 2 weeks ago

same issue docker cannot start after installing linux-msft-wsl-6.6.y

2.888005056+08:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainer>
Error initializing network controller: error creating default "bridge" network: operation not supported
s exited, code=exited, status=1/FAILURE
 result 'exit-code'.
ice - Docker Application Container Engine.
estart job, restart counter is at 2.
ocker Application Container Engine...
3.370231125+08:00" level=info msg="Starting up"
3.406828471+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
3.408055868+08:00" level=info msg="Loading containers: start."
3.853093667+08:00" level=warning msg="Could not load necessary modules for IPSEC rules: protocol not supported"
3.855815620+08:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
3.855867847+08:00" level=warning msg="could not create bridge network for id 4022025c6f85db675d761a0540323424a972a77187>
3.857792310+08:00" level=error msg="Failed to create bridge docker0 via netlink" error="operation not supported"
3.859174054+08:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainer>
Error initializing network controller: error creating default "bridge" network: operation not supported
uocnb commented 4 days ago

I have same issue and solved with this config: https://github.com/microsoft/WSL/issues/11742#issuecomment-2272557613 Make sure the config changed from m to y to allow kernel to autoload required modules.