version: "2" services: webui: container_name: webui image: marklin2009/dockerhub:aigc_1.1 volumes: # - /etc/localtime:/etc/localtime:ro - /sd_weights:/webui_weights working_dir: /content restart: on-failure command: bash tty: true cap_add: - SYS_PTRACE # 对docker开发CAP的gdb调试功能 environment: NVIDIA_VISIBLE_DEVICES: all runtime: nvidia network_mode: host