diff --git a/README.md b/README.md index ef73453..8925cfd 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,25 @@ Based on `nvcr.io/nvidia/tritonserver` container, but this add [Miniconda3](https://www.anaconda.com/docs/getting-started/miniconda/main), [Golang](https://go.dev/), [Singularity](https://docs.sylabs.io/guides/4.3/user-guide/) +## Usage + +```bash +TRITON_RELEASE="25.01" +docker run \ + -d \ + -it \ + --restart=always \ + --net=host \ + --gpus=all \ + -v ~/tritonserver-workspace:/workspace \ + -v ~/.cache/huggingface:/root/.cache/huggingface \ + --name tritonserver \ + --privileged \ + git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk +# Connect into the container +docker exec -it tritonserver bash +``` + ## Mounting | Directory | Uses | @@ -17,4 +36,11 @@ docker build \ -t git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk \ --build-arg TRITON_RELEASE=${TRITON_RELEASE} \ . +``` + +## Pushing the image + +```bash +docker image push \ + git.athichal.com/tonkaew131/tritonserver:${TRITON_RELEASE}-py3-sdk ``` \ No newline at end of file