devome / dockerfiles

一些Dockerfile
https://evine.win
GNU General Public License v3.0
200 stars 22 forks source link

关于使用macvlan创建qb的问题 #124

Open 5jwoj opened 9 months ago

5jwoj commented 9 months ago

version: "2.0" services: qbittorrent: image: nevinee/qbittorrent container_name: qBittorrent restart: always tty: true networks:

:dockernet ipv4_address: 192.168.1.80 aliases: - qbittorrent dns: s - 223.5.5.5 - 114.114.114.114 - 1.2.4.8 hostname: qbitorrent stop_grace_period: 10m volumes: - ./data:/data tmpfs: - /tmp environment: - BT_PORT=34567 - PUID=1000 - PGID=100 networks: :dockernet external: true UP后报错,提示yaml: line 11: mapping values are not allowed in this context 请问是什么原因呢
devome commented 9 months ago

yml内容格式有问题。