Skip to content

Commit 038d0e6

Browse files
committed
more specific languages
1 parent 666403b commit 038d0e6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

content/manuals/engine/swarm/admin_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ the `docker node rm` command. If a node becomes unreachable, unresponsive, or
221221
compromised you can forcefully remove the node without shutting it down by
222222
passing the `--force` flag. For instance, if `node9` becomes compromised:
223223

224-
```text
224+
```console
225225
$ docker node rm node9
226226

227227
Error response from daemon: rpc error: code = 9 desc = node node9 is not down and can't be removed

content/manuals/engine/swarm/configs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ real-world example, continue to
216216
to the config. The container ID is different, because the
217217
`service update` command redeploys the service.
218218

219-
```text
219+
```console
220220
$ docker container exec -it $(docker ps --filter name=redis -q) cat /my-config
221221

222222
cat: can't open '/my-config': No such file or directory
@@ -248,7 +248,7 @@ This example assumes that you have PowerShell installed.
248248
</body>
249249
</html>
250250
```
251-
251+
252252
2. If you have not already done so, initialize or join the swarm.
253253

254254
```powershell
@@ -373,7 +373,7 @@ generate the site key and certificate, name the files `site.key` and
373373
the following contents into it. This constrains the root CA to only sign
374374
leaf certificates and not intermediate CAs.
375375

376-
```text
376+
```ini
377377
[root_ca]
378378
basicConstraints = critical,CA:TRUE,pathlen:1
379379
keyUsage = critical, nonRepudiation, cRLSign, keyCertSign
@@ -407,7 +407,7 @@ generate the site key and certificate, name the files `site.key` and
407407
certificate so that it can only be used to authenticate a server and
408408
can't be used to sign certificates.
409409

410-
```text
410+
```ini
411411
[server]
412412
authorityKeyIdentifier=keyid,issuer
413413
basicConstraints = critical,CA:FALSE
@@ -438,7 +438,7 @@ generate the site key and certificate, name the files `site.key` and
438438
In the current directory, create a new file called `site.conf` with the
439439
following contents:
440440

441-
```text
441+
```nginx
442442
server {
443443
listen 443 ssl;
444444
server_name localhost;
@@ -616,7 +616,7 @@ configuration file.
616616
1. Edit the `site.conf` file locally. Add `index.php` to the `index` line, and
617617
save the file.
618618

619-
```text
619+
```nginx
620620
server {
621621
listen 443 ssl;
622622
server_name localhost;

0 commit comments

Comments
 (0)