Skip to content

Commit 9fa7ee4

Browse files
committed
Use fenced code blocks for commands
1 parent 435c0a5 commit 9fa7ee4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

public/docs/how-to/install.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Windows) or Docker Engine (Linux) installed and running.
99

1010
To download and run the container, run the following from a terminal:
1111

12-
`docker run -d -p 127.0.0.1:8989:8989 --name codegate stacklok/codegate`
12+
```shell
13+
docker run -d -p 127.0.0.1:8989:8989 --name codegate stacklok/codegate
14+
```
1315

1416
The container runs in the background (`-d`) and listens on the localhost
1517
interface using the default port (8989). To use a different listening port,
@@ -19,12 +21,16 @@ modify the `-p` flag: `-p 127.0.0.1:YOUR_PORT:8989`.
1921

2022
Use the `docker logs` command to view recent log messages:
2123

22-
`docker logs codegate`
24+
```shell
25+
docker logs codegate
26+
```
2327

2428
Or to follow the log stream live (useful for troubleshooting), add the `-follow`
2529
flag:
2630

27-
`docker logs --follow codegate`
31+
```shell
32+
docker logs --follow codegate
33+
```
2834

2935
## Manage the CodeGate container
3036

0 commit comments

Comments
 (0)