Score:6

Docker service won't start on Ubuntu 22.04 on WSL2

bd flag

After having installed docker following some tutorials, such as this one:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04

I try to start the docker service, and it says it's trying to start (the systemctl thing won't work for me since I get System has not been booted with systemd as init system):

$ sudo service docker start
 * Starting Docker: docker 

but it never start as shown when running

$ sudo service docker status
 * Docker is not running
Score:9
bd flag

As Marco said here:

https://crapts.org/2022/05/15/install-docker-in-wsl2-with-ubuntu-22-04-lts/

The steps to fix this are:

  1. sudo update-alternatives --config iptables
  2. Type number "1" and press Enter to select "iptables-legacy"
  3. sudo service docker start
sapatelbaps avatar
kr flag
This worked today for my Ubuntu 22.04 running inside Windows 10. Thanks
Solomon Raja avatar
vn flag
This is not working for me !!! Still shows * Docker is not running
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.