Sign inSign up

jamesbrink/fooocus

By jamesbrink

Updated over 1 year ago

Simple Fooocus container for Stable Diffusion

Image
Machine learning & AI
0

2.8K

jamesbrink/fooocus repository overview

Docker image for Fooocus (Stable Diffusion)

About

Simple docker image for the Fooocus web interface.

Usage

Build and run the container container:

make
docker run -i -t --gpus all -p 7865:7865 -v ./models:/fooocus/models -v ./outputs:/fooocus/outputs jamesbrink/fooocus

If you want to share models between Fooocus and tools like ComfyUI, you can map the volumes like so:

mkdir -p ~/AI/Models/StableDiffusion/
mkdir -p ~/AI/Output

Then simply run the container with the newly mapped volumes:

docker run -d --gpus all --network=host -v ~/AI/Models/StableDiffusion/:/fooocus/models -v ~/AI/Output:/fooocus/output --name fooocus jamesbrink/fooocus

Running with CPU model only:

docker run -d --network=host -v ~/AI/Models/StableDiffusion/:/fooocus/models -v ~/AI/Output:/fooocus/output --restart=always --name fooocus jamesbrink/fooocus --listen --always-cpu --preset lightning

Tag summary

Content type

Image

Digest

sha256:3e569681c

Size

5 GB

Last updated

over 1 year ago

docker pull jamesbrink/fooocus