networks: {}
services:
netsim:
cap_add:
- NET_ADMIN
environment:
- DISPLAY=${DISPLAY}
image: armdocker.rnd.ericsson.se/proj_oss_releases/enm/netsim_v2
build: src/test/docker/netsim
network_mode: service:jboss
environment:
- ENTRYPOINT_ARGS=--regExp CISCO|LTE01|LTE02|CORE-TCU02-17A-V2x5|CORE-SIU02-17A-V2x2|HLR-FE-1|CORE-ST-SBG-IS55-17A-V2x2|MLTN6.0-17Ax4-CORE23|HLR-FE-BSP|HLR-FE-IS|vHLR-BS-1|CORE-FT-ML6351-2-8x2-CORE69|CORE-FT-ERSN-13Ax2-CORE101|CORE-ST-JUNIPER
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
volumes_from:
- jboss
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
privileged: true
version: '2.1'
volumes: {}
运行此文件,如./docker-start.netsim.sh
遇到错误
Digest: sha256:f7c3248b11fb7d8a494e5e134612a32c2f36ded0213ad063e33d6dfc905516cf
Status: Image is up to date for armdocker.rnd.ericsson.se/proj_oss_releases/enm/jboss-pm-mediation:latest
Executing: docker-compose -f docker-compose.yml -f docker-compose.netsim.yml build --pull
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose.netsim.yml", line 13, column 13
1414338@vagrant-ubuntu-trusty-64:~/gitrepos/AShok/pm-mediation-vertical-slice/integration-tests/testsuite$ ^C
1414338@vagrant-ubuntu-trusty-64:~/gitrepos/AShok/pm-mediation-vertical-slice/integration-tests/testsuite$ ./docker-start.netsim.sh
能请你帮我吗?