Skip to content

Commit

Permalink
Simplify container restart command (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
evankanderson authored Feb 7, 2025
1 parent 6be3e80 commit 1a93f17
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions docs/how-to/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ docker pull ghcr.io/stacklok/codegate:latest
Stop and remove the current container:

```bash
docker stop codegate
docker rm codegate
docker rm --force codegate
```

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

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
docker volume rm codegate_volume
```
2 changes: 1 addition & 1 deletion docs/integrations/aider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ your environment.
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

1. If you launched CodeGate with a persistent volume, delete it to remove the
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/cline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ your environment.
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

1. If you launched CodeGate with a persistent volume, delete it to remove the
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/continue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ your environment.
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

1. If you launched CodeGate with a persistent volume, delete it to remove the
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/copilot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ flowchart LR

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

1. The CodeGate HTTP proxy port (8990) must be mapped to your host along with
the CodeGate API and UI ports.\
Expand Down Expand Up @@ -289,7 +289,7 @@ import RemoveCert from '../partials/_remove-cert.mdx';
1. Stop and remove the CodeGate container:
```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```
1. Delete the persistent volume:
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/open-interpreter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ your environment.
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

1. If you launched CodeGate with a persistent volume, delete it to remove the
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart-continue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ stop using it, follow these steps to clean up your environment.
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

2. Remove the `apiBase` configuration entries from your Continue configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart-copilot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ import RemoveCert from './partials/_remove-cert.mdx';
1. Stop and remove the CodeGate container:

```bash
docker stop codegate && docker rm codegate
docker rm -f codegate
```

1. Delete the persistent volume:
Expand Down

0 comments on commit 1a93f17

Please sign in to comment.