Last modified by Erik Bakker on 2025/04/18 13:54

From version 49.1
edited by eMagiz
on 2023/02/06 08:43
Change comment: There is no comment for this version
To version 48.1
edited by eMagiz
on 2023/02/06 08:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -77,17 +77,15 @@
77 77   Requires ~335 Mb space to install
78 78  {{/info}}
79 79  
80 -**Step 3: Ensure Docker is autostarted with WSL **
81 -
82 -{{code language="cmd"}}
80 +
81 +#Autostart Dockerd with wsl
82 +
83 83  nano .bashrc
84 84  
85 - #Add following lines to bashrc
86 86   DOCKER_DISTRO="Ubuntu"
87 87   DOCKER_LOG_DIR=$HOME/docker_logs
88 88   mkdir -pm o=,ug=rwx "$DOCKER_LOG_DIR"
89 89   /mnt/c/Windows/System32/wsl.exe -d $DOCKER_DISTRO sh -c "nohup sudo -b dockerd < /dev/null > $DOCKER_LOG_DIR/dockerd.log 2>&1"
90 -{{/code}}
91 91  
92 92  #Do not ask password dockerd
93 93  sudo visudo