diff --git a/Intel-ARC.md b/Intel-ARC.md index ff833d2..876fb7e 100644 --- a/Intel-ARC.md +++ b/Intel-ARC.md @@ -109,6 +109,28 @@ Run SD.Next > [!NOTE] > It will install the necessary libraries at the first run so it will take a while depending on your internet. +## Docker Installation +Checkout the [Docker wiki](https://github.com/vladmandic/sdnext/wiki/Docker) if you want to build a custom Docker image. + +Using Docker with a prebuilt image: + +``` +export SDNEXT_DOCKER_ROOT_FOLDER=~/sdnext +sudo docker run -it \ + --name sdnext-ipex \ + --device /dev/dri \ + -p 7860:7860 \ + -v $SDNEXT_DOCKER_ROOT_FOLDER/app:/app \ + -v $SDNEXT_DOCKER_ROOT_FOLDER/python:/mnt/python \ + -v $SDNEXT_DOCKER_ROOT_FOLDER/data:/mnt/data \ + -v $SDNEXT_DOCKER_ROOT_FOLDER/models:/mnt/models \ + -v $SDNEXT_DOCKER_ROOT_FOLDER/huggingface:/root/.cache/huggingface \ + disty0/sdnext-ipex:latest +``` + +> [!NOTE] +> It will install the necessary libraries at the first run so it will take a while depending on your internet. + ## Environment Variables