(docs) fix docker run command

This commit is contained in:
ishaan-jaff 2024-02-13 21:47:23 -08:00
parent 314121a70f
commit b81f8ec8ca

View file

@ -370,12 +370,12 @@ See the latest available ghcr docker image here:
https://github.com/berriai/litellm/pkgs/container/litellm https://github.com/berriai/litellm/pkgs/container/litellm
```shell ```shell
docker pull ghcr.io/berriai/litellm:main-v1.16.13 docker pull ghcr.io/berriai/litellm:main-latest
``` ```
### Run the Docker Image ### Run the Docker Image
```shell ```shell
docker run ghcr.io/berriai/litellm:main-v1.16.13 docker run ghcr.io/berriai/litellm:main-latest
``` ```
#### Run the Docker Image with LiteLLM CLI args #### Run the Docker Image with LiteLLM CLI args
@ -384,12 +384,12 @@ See all supported CLI args [here](https://docs.litellm.ai/docs/proxy/cli):
Here's how you can run the docker image and pass your config to `litellm` Here's how you can run the docker image and pass your config to `litellm`
```shell ```shell
docker run ghcr.io/berriai/litellm:main-v1.16.13 --config your_config.yaml docker run ghcr.io/berriai/litellm:main-latest --config your_config.yaml
``` ```
Here's how you can run the docker image and start litellm on port 8002 with `num_workers=8` Here's how you can run the docker image and start litellm on port 8002 with `num_workers=8`
```shell ```shell
docker run ghcr.io/berriai/litellm:main-v1.16.13 --port 8002 --num_workers 8 docker run ghcr.io/berriai/litellm:main-latest --port 8002 --num_workers 8
``` ```
#### Run the Docker Image using docker compose #### Run the Docker Image using docker compose