Install Docker on Windows (WSL) Without Docker Desktop

by jdbowmanon 2/14/2021, 9:23 PMwith 2 comments

by mech422on 2/15/2021, 1:24 AM

Seems overly complicated. I installed Docker CE right from docker.com in Ubuntu 20.04 on WSL2 with only 2 'issues' both due to lack of systemd:

  1.) Missing cgroups under /sys/fs/cgroup/systemd
       mkdir /sys/fs/cgroup/systemd
       mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
      
  2.) No launch at 'startup'
      put the docker start in your .bashrd
Also, 'Kind'(1) works really well for setting up K8s envs in WSL2

1)https://kind.sigs.k8s.io/