- docker_compose.yml
-
version: "3" services: gaze_estimation_faze: image: few_shot_adaptive_gaze_estimation:v1.1 container_name: zhangbao ports: - "8022:22" # devices: # - "/dev/ttyUSB1:/dev/ttyUSB0" tty: true stdin_open: true privileged: true volumes: - /data:/data - /tmp/.X11-unit:/tmp/.X11-unit # - /dev/video0:/dev/video0 # environment: # - DISPLAY=:1 # entrypoint: "/bin/bash" restart: unless-stopped deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu]
-
- docker-compose -f docker_compose.yml up -d
docker compose模板文件
最新推荐文章于 2024-07-04 14:01:07 发布