File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Original file line number Diff line number Diff line change @@ -368,7 +368,30 @@ Aperte a letra `i` (para entrar no modo de inserção de conteúdo) e cole o con
368
368
command = service docker start
369
369
```
370
370
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
+
371
391
> 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/ )
372
395
373
396
Quando terminar a edição, pressione ` Esc ` , em seguida tecle ` : ` para entrar com o comando ` wq ` (salvar e sair) e pressione ` enter ` .
374
397
You can’t perform that action at this time.
0 commit comments