Skip to content

Commit

Permalink
Update: we can reload Docker instead of restarting
Browse files Browse the repository at this point in the history
  • Loading branch information
altfoxie committed Jun 1, 2024
1 parent 15967f3 commit a00d871
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/en/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Config ([located here](#config-path)):
}
```

Restart docker (systemd):
Reload Docker configuration (systemd):

```bash
$ systemctl restart docker
$ systemctl reload docker
```

## 2. As a mirror of docker.io {#mirror}
Expand All @@ -45,10 +45,10 @@ Config ([located here](#config-path)):
}
```

Restart docker (systemd):
Reload Docker configuration (systemd):

```bash
$ systemctl restart docker
$ systemctl reload docker
```

Now when trying to download an image, docker will try to use the proxy first
Expand Down
8 changes: 4 additions & 4 deletions src/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
}
```

Перезапуск докера (systemd):
Перезагрузка конфигурации Docker (systemd):

```bash
$ systemctl restart docker
$ systemctl reload docker
```

## 2. Зеркало docker.io {#mirror}
Expand All @@ -45,10 +45,10 @@ $ systemctl restart docker
}
```

Перезапуск докера (systemd):
Перезагрузка конфигурации Docker (systemd):

```bash
$ systemctl restart docker
$ systemctl reload docker
```

Теперь при попытке загрузки образа, докер будет сначала пытаться использовать прокси
Expand Down

0 comments on commit a00d871

Please sign in to comment.