peer review and test numbering
This commit is contained in:
parent
d534785542
commit
30b6d251cd
6 changed files with 27 additions and 29 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
2. Remove all containers, including stopped containers:
|
import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx';
|
||||||
|
|
||||||
|
1. Stop all running containers:
|
||||||
|
|
||||||
|
<PartialDockerStopAll />
|
||||||
|
|
||||||
|
1. Remove all containers, including stopped containers:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker rm --force $(docker ps -aq)
|
docker rm --force $(docker ps -aq)
|
||||||
|
|
@ -8,7 +14,7 @@
|
||||||
podman rm --all --force
|
podman rm --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove all images:
|
1. Remove all images:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker rmi --force $(docker images -q)
|
docker rmi --force $(docker images -q)
|
||||||
|
|
@ -18,7 +24,7 @@
|
||||||
podman rmi --all --force
|
podman rmi --all --force
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Remove all volumes:
|
1. Remove all volumes:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker volume prune --force
|
docker volume prune --force
|
||||||
|
|
@ -28,7 +34,7 @@
|
||||||
podman volume prune --force
|
podman volume prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Remove all networks except the default network:
|
1. Remove all networks except the default network:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker network prune --force
|
docker network prune --force
|
||||||
|
|
@ -38,7 +44,7 @@
|
||||||
podman network prune --force
|
podman network prune --force
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Clean up any leftover data:
|
1. Clean up any leftover data:
|
||||||
|
|
||||||
```bash title="Docker"
|
```bash title="Docker"
|
||||||
docker system prune --all --force --volumes
|
docker system prune --all --force --volumes
|
||||||
|
|
|
||||||
|
|
@ -70,16 +70,12 @@ If you want to reinstall one container, specify the container name in the comman
|
||||||
|
|
||||||
<PartialExportFlows />
|
<PartialExportFlows />
|
||||||
|
|
||||||
2. Stop all running containers:
|
|
||||||
|
|
||||||
<PartialDockerStopAll />
|
|
||||||
|
|
||||||
<PartialDockerRemoveAndCleanupSteps />
|
<PartialDockerRemoveAndCleanupSteps />
|
||||||
|
|
||||||
8. Optional: Edit OpenRAG's `.env` file if needed.
|
1. Optional: Edit OpenRAG's `.env` file if needed.
|
||||||
|
|
||||||
9. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers.
|
1. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers.
|
||||||
It is recommended that you preserve OpenRAG's [default documents](https://github.com/langflow-ai/openrag/tree/main/openrag-documents).
|
It is recommended that you preserve OpenRAG's [default documents](https://github.com/langflow-ai/openrag/tree/main/openrag-documents).
|
||||||
|
|
||||||
10. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker).
|
1. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker).
|
||||||
If you removed only one container, redeploy that container with the appropriate `docker run` or `podman run` command.
|
If you removed only one container, redeploy that container with the appropriate `docker run` or `podman run` command.
|
||||||
|
|
@ -41,15 +41,11 @@ Use these steps to uninstall a self-managed OpenRAG deployment with streamlined
|
||||||
|
|
||||||
Use these commands to uninstall a self-managed OpenRAG deployment with discrete `docker` or `podman` commands:
|
Use these commands to uninstall a self-managed OpenRAG deployment with discrete `docker` or `podman` commands:
|
||||||
|
|
||||||
1. Stop all running containers:
|
|
||||||
|
|
||||||
<PartialDockerStopAll />
|
|
||||||
|
|
||||||
<PartialDockerRemoveAndCleanupSteps />
|
<PartialDockerRemoveAndCleanupSteps />
|
||||||
|
|
||||||
7. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands.
|
1. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands.
|
||||||
|
|
||||||
8. Stop `docling-serve`:
|
1. Stop `docling-serve`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv run python scripts/docling_ctl.py stop
|
uv run python scripts/docling_ctl.py stop
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue