devome/dockerfiles

关于使用macvlan创建qb的问题

Opened this issue · 1 comments

5jwoj commented

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

yml内容格式有问题。