You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine/admin/index.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,14 +87,17 @@ are located in `/etc/init` and the `docker` Upstart job can be found at `/etc/i
87
87
88
88
After successfully [installing Docker for Ubuntu](../installation/linux/ubuntulinux.md),
89
89
you can check the running status using Upstart in this way:
90
+
90
91
```bash
91
92
$ sudo status docker
92
93
93
94
docker start/running, process 989
94
95
```
96
+
95
97
### Running Docker
96
98
97
99
You can start/stop/restart the `docker` daemon using
100
+
98
101
```bash
99
102
$ sudo start docker
100
103
@@ -177,23 +180,29 @@ As of `7.x`, CentOS and RHEL use `systemd` as the process manager. As of `21`, F
177
180
`systemd` as its process manager.
178
181
179
182
After successfully installing Docker for [CentOS](../installation/linux/centos.md)/[Red Hat Enterprise Linux](../installation/linux/rhel.md)/[Fedora](../installation/linux/fedora.md), you can check the running status in this way:
183
+
180
184
```bash
181
185
$ sudo systemctl status docker
182
186
```
187
+
183
188
### Running Docker
184
189
185
190
You can start/stop/restart the `docker` daemon using
191
+
186
192
```bash
187
193
$ sudo systemctl start docker
188
194
189
195
$ sudo systemctl stop docker
190
196
191
197
$ sudo systemctl restart docker
192
198
```
199
+
193
200
If you want Docker to start at boot, you should also:
201
+
194
202
```bash
195
203
$ sudo systemctl enable docker
196
204
```
205
+
197
206
### Configuring Docker
198
207
199
208
For CentOS 7.x and RHEL 7.x you can [control and configure Docker with systemd](systemd.md).
@@ -267,6 +276,7 @@ To configure Docker options:
267
276
268
277
systemd has its own logging system called the journal. The logs for the `docker` daemon can
269
278
be viewed using `journalctl -u docker`
279
+
270
280
```no-highlight
271
281
$ sudo journalctl -u docker
272
282
May 06 00:22:05 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
0 commit comments