S
S
sl02020-08-14 09:56:40
Windows
sl0, 2020-08-14 09:56:40

ubuntu autoload in wsl2?

After the update, Windows stopped automatically starting ubunt in wsl. docker-desktop starts by itself. You have to manually run from the console
wsl ~ -d Ubuntu-18.04
. Is it possible to return everything as it was?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#, 2020-08-14
@sl0

Is it possible to return everything as it was?
how was it?
if something - I don’t use docker myself, maybe something will need to be decided specifically
what I use:
- Systemd-Genie, a little more here ( on the topic of autostarting services )
- and further commands (you need to change / schedule in your favorite way)

wsl -d ubuntu genie -i # лучший кандидат на фоновый старт нужного дистрибутива, а в нем старт systemd
wsl -d ubuntu genie -s
wsl -d ubuntu -u user genie -s
wsl -t ubuntu
wsl --shutdown

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question