version: '2' services: blfe: hostname: blfe container_name: blfe restart: always image: registry.cn-hangzhou.aliyuncs.com/sxtest/blfe:gpu privileged: true ipc: host tty: true working_dir: /workspace ports: - '18060:8080' - '22622:22' volumes: - ./:/workspace # deploy: # resources: # reservations: # devices: # - capabilities: [gpu]