File size: 507 Bytes
5583219 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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 |