1
를 참조하지는이 :도커-작성 파일 yaml.scanner.ScannerError을 가지고 있지만 난 내가 같이 얻을 구성 할 때 아무것도
yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose.yml", line 6, column 15
내 고정 표시기-compose.yml :
version: '2'
services:
fhem:
restart:always
expose:
- "8083"
- "7072"
ports:
- "8083:8083"
- "7072:7072"
build: fhem
privileged: true
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
....
전혀 잘못된 구문을 볼 수 없습니다
'restart : always' ->'restart : always' – bartimar