Category : wsl-2

Context I’m on Windows 10 Entreprise, version 1909 (18363.1801) and I’ve done all available updates before next steps. I’ve tried to install Docker Desktop 4.0.1 following these instructions. I’ve enabled WSL2 feature, I’ve installed the linux kernel update package, then I’ve installed Docker Desktop, following instructions here without any error. My problem When I try ..

Read more

Running elasticsearch in win10 [wsl2] docker-desktop requires to increase mmap counts to 262144 through sysctl -w vm.max_map_count=262144 C:Users<username>>wsl -d docker-desktop <hostname>:/tmp/docker-desktop-root/mnt/host/c/Users/<username># sysctl -w vm.max_map_count=262144 In an answer to this question and elastic’s doc it is suggested to accordingly update the vm.max_map_count in /etc/sysctl.conf to set this value permanent, i. e. making it survive the reboot. ..

Read more

I’m trying to create a container with Docker API. My environment is as follow: Windows 11 (I guess it should run in windows 10 as well) Docker desktop version v20.10.8 with the following setting checked: WS2 Based Engine Expose daemon on tcp://localhost:2375 without TLS My curl request is as follow: curl –location –request POST ‘http://localhost:2375/v1.41/containers/create?name=oraumum’ ..

Read more

When I do sudo docker build -t test -f 7.1/Dockerfile . docker fails on step 8/10: Step 8/10 : ADD etc/php /usr/local/etc/php ADD failed: file not found in build context or excluded by .dockerignore: stat etc/php: file does not exist I don’t understand. etc/php is symlinked to another directory. Shouldn’t that work? If I do ..

Read more

I start raning wsl, ping google.com i recive packages fine. When i run sudo service docker start command it’s run fine. But after when i run ping google.com, i not recive packages. I don’t know why, pleas help. #/etc/resolv.conf nameserver 8.8.8.8 #/etc/resolv.conf [automount] options = "metadata" [network] generateResolvConf = false I tried restart wsl and ..

Read more