version: "2" services: webui: container_name: webui image: marklin2009/dockerhub:aigc_1.0 # volumes: # - /etc/localtime:/etc/localtime:ro # - /mnt:/mnt working_dir: /content/stable-diffusion-webui # restart: on-failure command: ./run.sh tty: true cap_add: - SYS_PTRACE # 对docker开发CAP的gdb调试功能 environment: NVIDIA_VISIBLE_DEVICES: all runtime: nvidia network: host