Skip to content

Commit 1a93f17

Browse files
Simplify container restart command (#74)
1 parent 6be3e80 commit 1a93f17

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

docs/how-to/install.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ docker pull ghcr.io/stacklok/codegate:latest
147147
Stop and remove the current container:
148148

149149
```bash
150-
docker stop codegate
151-
docker rm codegate
150+
docker rm --force codegate
152151
```
153152

154153
Finally, launch the new version using the
@@ -171,6 +170,6 @@ If you decide to stop using CodeGate, follow the removal steps for your
171170
container and volume:
172171

173172
```bash
174-
docker stop codegate && docker rm codegate
173+
docker rm -f codegate
175174
docker volume rm codegate_volume
176175
```

docs/integrations/aider.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ your environment.
6060
1. Stop and remove the CodeGate container:
6161

6262
```bash
63-
docker stop codegate && docker rm codegate
63+
docker rm -f codegate
6464
```
6565

6666
1. If you launched CodeGate with a persistent volume, delete it to remove the

docs/integrations/cline.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ your environment.
117117
1. Stop and remove the CodeGate container:
118118

119119
```bash
120-
docker stop codegate && docker rm codegate
120+
docker rm -f codegate
121121
```
122122

123123
1. If you launched CodeGate with a persistent volume, delete it to remove the

docs/integrations/continue.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ your environment.
433433
1. Stop and remove the CodeGate container:
434434

435435
```bash
436-
docker stop codegate && docker rm codegate
436+
docker rm -f codegate
437437
```
438438

439439
1. If you launched CodeGate with a persistent volume, delete it to remove the

docs/integrations/copilot.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ flowchart LR
4747

4848
Several additional Docker parameters are required for Copilot support when you
4949
launch CodeGate. If already have CodeGate running, remove the existing container
50-
first with `docker stop codegate && docker rm codegate`.
50+
first with `docker rm -f codegate`.
5151

5252
1. The CodeGate HTTP proxy port (8990) must be mapped to your host along with
5353
the CodeGate API and UI ports.\
@@ -289,7 +289,7 @@ import RemoveCert from '../partials/_remove-cert.mdx';
289289
1. Stop and remove the CodeGate container:
290290
291291
```bash
292-
docker stop codegate && docker rm codegate
292+
docker rm -f codegate
293293
```
294294
295295
1. Delete the persistent volume:

docs/integrations/open-interpreter.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ your environment.
8383
1. Stop and remove the CodeGate container:
8484

8585
```bash
86-
docker stop codegate && docker rm codegate
86+
docker rm -f codegate
8787
```
8888

8989
1. If you launched CodeGate with a persistent volume, delete it to remove the

docs/quickstart-continue.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ stop using it, follow these steps to clean up your environment.
278278
1. Stop and remove the CodeGate container:
279279

280280
```bash
281-
docker stop codegate && docker rm codegate
281+
docker rm -f codegate
282282
```
283283

284284
2. Remove the `apiBase` configuration entries from your Continue configuration

docs/quickstart-copilot.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ import RemoveCert from './partials/_remove-cert.mdx';
263263
1. Stop and remove the CodeGate container:
264264

265265
```bash
266-
docker stop codegate && docker rm codegate
266+
docker rm -f codegate
267267
```
268268

269269
1. Delete the persistent volume:

0 commit comments

Comments
 (0)