Open BillClaghorn opened 4 months ago
volumes:external facing interface
looks like a mistake
The instructions are vague in that area. Please clarify.
nmos-testing: image: amwa/nmos-testing:latest container_name: nmos-testing hostname: nmos-testing domainname: local entrypoint: | /bin/bash -c "/etc/init.d/dbus start; /etc/init.d/avahi-daemon start; python3 nmos-test.py" ports:
networks: external:
driver: macvlan
driver_opts:
parent: enp7s0.10
ipam:
config:
- subnet: 10.0.0.0/24
You have a typo on line 52 of your docker-compose.yaml. This is failing the scanner check and isn't valid YAML.
Please use docker-compose.yaml in the repo as a template and check lines 52 and 53 in your config. Remove the words after the ":" i.e. external facing interface.
Thanks. Somehow that got in there when editing.
Now I get this: bill@H4Mibc3:~/Downloads/easy-nmos$ docker-compose up Creating network "easy-nmos_external" with driver "macvlan" ERROR: -o parent interface was not found on the host: enp7s0
I'm unclear how that all works.
driver: macvlan
driver_opts:
parent: enp7s0.10
ipam:
config:
- subnet: 10.0.0.0/24
If I leave the parent at enp7s0 without ":10" I get an error
invalid subinterface vlan name enp7s0, example formatting is eth0.10
Do I need to setup a VLAN and if so how?
bill@H4Mibc3:~/Downloads/easy-nmos$ docker network create -d macvlan --subnet=10.0.0.0/24 --gateway=10.0.0.1 -o parent=enp7s0.10 pub_net
Error response from daemon: -o parent interface was not found on the host: enp7s0
You do NOT need a VLAN. Do NOT create any bridges manually you will go wrong.
It looks like I work if I set parent to eth0:10 if I run "ip a" or "ifconfig" I don't see eth0
Oh well, it seems to be working with phantom eth0
Thanks. I'll ask one of our network guru's to explain.
OS Ubuntu 2204 Docker version 26.1.4, build 5650f9b docker-compose version 1.29.2, build unknown docker-compose.yml.txt NVIDIA-SMI 555.42.02 CUDA Version: 12.5 Cuda compilation tools, release 12.5, V12.5.40 Build cuda_12.5.r12.5/compiler.34177558_0 rivermax_ubuntu2204_1.50.7
docker-compose up ERROR: yaml.scanner.ScannerError: while scanning a simple key in "./docker-compose.yml", line 52, column 5 could not find expected ':' in "./docker-compose.yml", line 53, column 5
Docker-compose.yml is attached