Re:eBPF on Windows
by encryptluks2 on Tuesday May 11, 2021 @04:45AM
(#27115748)
Are you even on Windows? This is with WSL 2, as you can systemd doesn't work as expected in WSL2. This is a known issue. If systemd is working for you, then you are doing something magic:
https://stackoverflow.com/questions/55579342/why-systemd-is-...
[ Parent
| on HN ]
From that link (permalink to answer: https://stackoverflow.com/a/61887923) :
> Nowadays you can try:
> sudo service docker start
> when using WSL2, if you are running on windows version 2004 or higher (I assume).
Which is what I did in the listing above.
Re:eBPF on Windows
by encryptluks2 on Tuesday May 11, 2021 @10:57AM
(#27118841)
sudo service docker start
[sudo] password for u3323:
docker: unrecognized serviceDid you install docker from their own PPA linked in the instructions above, and are you on Ubuntu 20.04 with WSL2? Those are the only steps I took.
e:
ver
on 'cmd' also shows Microsoft Windows [Version 10.0.19042.928]
if that helpse:
Everything except the service start, which I had to find in that StackOverflow thread. We've hit the max comment depth, so I couldn't response to you directly.
Re:eBPF on Windows
by encryptluks2 on Tuesday May 11, 2021 @01:37PM
(#27120992)
Are you referring to the install instructions for Ubuntu? No where does it mention running the commands:
sudo service docker start
Re:eBPF on Windows
by Liquid_Fire on Tuesday May 11, 2021 @06:11AM
(#27116267)
If you run the Docker daemon manually, it works just fine. I'm running a container on it right now.
It's not a problem with Docker on WSL 2, but a problem with the way WSL uses its own init system instead of systemd, while some Ubuntu packages are packaged for a systemd system.