mirror of https://github.com/docker/docs.git
Merge pull request #12682 from europ/patch-1
fixed linux service commands
This commit is contained in:
commit
5db5ac020f
|
@ -410,8 +410,8 @@ IP address, follow these instructions to disable `dnsmasq` in NetworkManager.
|
||||||
your system.
|
your system.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo restart network-manager
|
$ sudo systemctl restart network-manager
|
||||||
$ sudo restart docker
|
$ sudo systemctl restart docker
|
||||||
```
|
```
|
||||||
|
|
||||||
##### RHEL, CentOS, or Fedora
|
##### RHEL, CentOS, or Fedora
|
||||||
|
@ -421,8 +421,7 @@ To disable `dnsmasq` on RHEL, CentOS, or Fedora:
|
||||||
1. Disable the `dnsmasq` service:
|
1. Disable the `dnsmasq` service:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo service dnsmasq stop
|
$ sudo systemctl stop dnsmasq
|
||||||
|
|
||||||
$ sudo systemctl disable dnsmasq
|
$ sudo systemctl disable dnsmasq
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue