mkdir -p \
storage-cache/dot-cache \
storage-cache/dot-config \
storage-nodes/dot-local \
storage-nodes/custom_nodes \
storage-models/models \
storage-models/hf-hub \
storage-models/torch-hub \
storage-user/input \
storage-user/output \
storage-user/user-profile \
storage-user/user-scripts
# Add sudo if needed
docker run -it --rm \
--name comfyui-cu130 \
--pull=always \
--runtime=nvidia \
--gpus all \
-p 8188:8188 \
-v "$(pwd)"/storage-cache/dot-cache:/root/.cache \
-v "$(pwd)"/storage-cache/dot-config:/root/.config \
-v "$(pwd)"/storage-nodes/dot-local:/root/.local \
-v "$(pwd)"/storage-nodes/custom_nodes:/root/ComfyUI/custom_nodes \
-v "$(pwd)"/storage-models/models:/root/ComfyUI/models \
-v "$(pwd)"/storage-models/hf-hub:/root/.cache/huggingface/hub \
-v "$(pwd)"/storage-models/torch-hub:/root/.cache/torch/hub \
-v "$(pwd)"/storage-user/input:/root/ComfyUI/input \
-v "$(pwd)"/storage-user/output:/root/ComfyUI/output \
-v "$(pwd)"/storage-user/user-profile:/root/ComfyUI/user \
-v "$(pwd)"/storage-user/user-scripts:/root/user-scripts \
-e CLI_ARGS="" \
yanwk/comfyui-boot:cu130-slim-v2