Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca4a3ad

Browse filesBrowse files
authored
Update README.md
Adiciona procedimento com systemd rodando na distro wsl2
1 parent bc86eee commit ca4a3ad
Copy full SHA for ca4a3ad

File tree

Expand file treeCollapse file tree

1 file changed

+23
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+23
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,30 @@ Aperte a letra `i` (para entrar no modo de inserção de conteúdo) e cole o con
368368
command = service docker start
369369
```
370370

371+
Ou caso a distribuição linux possua o systemd configurado o arquivo deverá ser alterado para:
372+
373+
```conf
374+
[boot]
375+
systemd = true
376+
command = systemctl start docker
377+
```
378+
379+
Neste caso edite também o arquivo override.conf:
380+
```bash
381+
sudo nano /etc/systemd/system/docker.service.d/override.conf
382+
```
383+
384+
E cole o conteúdo:
385+
```conf
386+
[Service]
387+
ExecStart=
388+
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
389+
```
390+
371391
> A documentação oficial (https://learn.microsoft.com/en-us/windows/wsl/wsl-config) fornece esse comando em seu exemplo.
392+
393+
> Documentação sobre docker rodando através do systemd:
394+
> [docs.docker.com](https://docs.docker.com/config/daemon/systemd/)
372395
373396
Quando terminar a edição, pressione `Esc`, em seguida tecle `:` para entrar com o comando `wq` (salvar e sair) e pressione `enter`.
374397

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.