Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba9ea84

Browse files
authored
fix: Add line breaks before and after code blocks
1 parent 47de0e2 commit ba9ea84

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

engine/admin/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,17 @@ are located in `/etc/init` and the `docker` Upstart job can be found at `/etc/i
8787

8888
After successfully [installing Docker for Ubuntu](../installation/linux/ubuntulinux.md),
8989
you can check the running status using Upstart in this way:
90+
9091
```bash
9192
$ sudo status docker
9293

9394
docker start/running, process 989
9495
```
96+
9597
### Running Docker
9698

9799
You can start/stop/restart the `docker` daemon using
100+
98101
```bash
99102
$ sudo start docker
100103

@@ -177,23 +180,29 @@ As of `7.x`, CentOS and RHEL use `systemd` as the process manager. As of `21`, F
177180
`systemd` as its process manager.
178181
179182
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+
180184
```bash
181185
$ sudo systemctl status docker
182186
```
187+
183188
### Running Docker
184189
185190
You can start/stop/restart the `docker` daemon using
191+
186192
```bash
187193
$ sudo systemctl start docker
188194
189195
$ sudo systemctl stop docker
190196
191197
$ sudo systemctl restart docker
192198
```
199+
193200
If you want Docker to start at boot, you should also:
201+
194202
```bash
195203
$ sudo systemctl enable docker
196204
```
205+
197206
### Configuring Docker
198207
199208
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:
267276
268277
systemd has its own logging system called the journal. The logs for the `docker` daemon can
269278
be viewed using `journalctl -u docker`
279+
270280
```no-highlight
271281
$ sudo journalctl -u docker
272282
May 06 00:22:05 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...

0 commit comments

Comments
 (0)