This Dockerfile contains the Stable Diffusion Plus application, which is a modular platform for Stable-Diffusion. It provides a Jupyter Notebook environment with pre-installed libraries and packages required for running Stable Diffusion Plus.
To build the Docker image, run the following command in the same directory as the Dockerfile:
docker build -t stable-diffusion-plus .
To run the Docker container, use the following command:
docker run -it -p 3000:3000 stable-diffusion-plus
This command will start the container and map the host port 3000 to the container port 3000. You can access the Jupyter Notebook environment by opening a web browser and navigating to http://localhost:3000.
The Docker container has two volumes mounted to the host system:
/workspace/data_protected: This volume is used to store sensitive data that should not be shared between users or containers./workspace/data_shared: This volume is used to store data that can be shared between users or containers.The following environment variables are available to configure the Docker container:
UPDATE_WEBUI: Set this variable to "true" to automatically update the SDPlus WebUI on container start. Default is "false".PUBLIC_KEY: Set this variable to a public SSH key to enable openSSH access to the container. Default is "".JUPYTER_PASSWORD: Set this variable to a Jupyter Notebook password. Default is "".BRANCH: Set this variable to the Git branch to use for the Stable Diffusion Plus repository. Default is "main".PORT: Set this variable to the port number to use for the Jupyter Notebook environment. Default is 3000.The code in this Dockerfile is licensed under the MIT License.
Content type
Image
Digest
sha256:25c2ef9ca…
Size
16.4 GB
Last updated
over 3 years ago
docker pull digitalhigh/sdplus