(docs) use latest ghcr image

This commit is contained in:
ishaan-jaff 2023-12-26 17:28:39 +05:30
parent e9b9323b75
commit a5f998375c
2 changed files with 9 additions and 9 deletions

View file

@ -14,12 +14,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.12.3 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.12.3 docker run ghcr.io/berriai/litellm:main-latest
``` ```
#### Run the Docker Image with LiteLLM CLI args #### Run the Docker Image with LiteLLM CLI args
@ -28,12 +28,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.12.3 --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.12.3 --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
@ -53,7 +53,7 @@ services:
context: . context: .
args: args:
target: runtime target: runtime
image: ghcr.io/berriai/litellm:main image: ghcr.io/berriai/litellm:main-latest
ports: ports:
- "8000:8000" # Map the container port to the host, change the host port if necessary - "8000:8000" # Map the container port to the host, change the host port if necessary
volumes: volumes:

View file

@ -376,12 +376,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.10.1 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.10.0 docker run ghcr.io/berriai/litellm:main-latest
``` ```
#### Run the Docker Image with LiteLLM CLI args #### Run the Docker Image with LiteLLM CLI args
@ -390,12 +390,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.10.0 --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.10.0 --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