D
D
Danil2020-09-23 13:43:03
linux
Danil, 2020-09-23 13:43:03

How to make Docker start automatically on Ubuntu startup?

I'm running Ubuntu 20.04 using WSL2, after every Ubuntu startup I have to start the Docker process manually using sudo /etc/init.d/docker start , then enter the root password and only then work with containers. Is there a way to have this process run automatically?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Leonov, 2020-09-23
@OnlyGoRush

sudo systemctl enable docker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question