File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ Windows) or Docker Engine (Linux) installed and running.
9
9
10
10
To download and run the container, run the following from a terminal:
11
11
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
+ ```
13
15
14
16
The container runs in the background (` -d ` ) and listens on the localhost
15
17
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`.
19
21
20
22
Use the ` docker logs ` command to view recent log messages:
21
23
22
- ` docker logs codegate `
24
+ ``` shell
25
+ docker logs codegate
26
+ ```
23
27
24
28
Or to follow the log stream live (useful for troubleshooting), add the ` -follow `
25
29
flag:
26
30
27
- ` docker logs --follow codegate `
31
+ ``` shell
32
+ docker logs --follow codegate
33
+ ```
28
34
29
35
## Manage the CodeGate container
30
36
You can’t perform that action at this time.
0 commit comments