After bringing a container up with the image I built, it fails with the following trace:
otbr_1 | RADIO_URL: spinel+hdlc+uart:///dev/ttyACM0
otbr_1 | TUN_INTERFACE_NAME: wpan0
otbr_1 | BACKBONE_INTERFACE:
otbr_1 | NAT64_PREFIX: 64:ff9b::/96
otbr_1 | AUTO_PREFIX_ROUTE: true
otbr_1 | AUTO_PREFIX_SLAAC: true
otbr_1 | sed: can't read /etc/tayga.conf: No such file or directory
otbr_1 | sed: can't read /etc/bind/named.conf.options: No such file or directory
otbr_1 | +++ dirname /app/script/server
otbr_1 | ++ cd /app/script/..
otbr_1 | ++ [[ ! -n x ]]
otbr_1 | ++ echo 'Current platform is ubuntu'
otbr_1 | Current platform is ubuntu
otbr_1 | ++ STAGE_DIR=/app/stage
otbr_1 | ++ BUILD_DIR=/app/build
otbr_1 | ++ [[ -d /app/stage ]]
otbr_1 | ++ mkdir -v -p /app/stage
otbr_1 | mkdir: created directory '/app/stage'
otbr_1 | ++ [[ -d /app/build ]]
otbr_1 | ++ mkdir -v -p /app/build
otbr_1 | mkdir: created directory '/app/build'
otbr_1 | ++ export PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
otbr_1 | ++ PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
otbr_1 | +++ basename /app/script/server
otbr_1 | ++ TASKNAME=server
otbr_1 | ++ BEFORE_HOOK=examples/platforms/ubuntu/before_server
otbr_1 | ++ AFTER_HOOK=examples/platforms/ubuntu/after_server
otbr_1 | ++ [[ ! -f examples/platforms/ubuntu/before_server ]]
otbr_1 | ++ BEFORE_HOOK=/dev/null
otbr_1 | ++ [[ ! -f examples/platforms/ubuntu/after_server ]]
otbr_1 | ++ AFTER_HOOK=/dev/null
otbr_1 | + . script/_nat64
otbr_1 | ++ TAYGA_DEFAULT=/etc/default/tayga
otbr_1 | ++ TAYGA_CONF=/etc/tayga.conf
otbr_1 | ++ TAYGA_IPV4_ADDR=192.168.255.1
otbr_1 | ++ TAYGA_IPV6_ADDR=fdaa:bb:1::1
otbr_1 | ++ TAYGA_TUN_V6_ADDR=fdaa:bb:1::2
otbr_1 | ++ NAT44_SERVICE=/etc/init.d/otbr-nat44
otbr_1 | ++ WLAN_IFNAMES=eth0
otbr_1 | + . script/_dns64
otbr_1 | ++ BIND_CONF_OPTIONS=/etc/bind/named.conf.options
otbr_1 | ++ NAT64_PREFIX=64:ff9b::/96
otbr_1 | ++ DNS64_NAMESERVER_ADDR=127.0.0.1
otbr_1 | +++ echo 64:ff9b::/96
otbr_1 | +++ tr '"/"' '"/"'
otbr_1 | ++ DNS64_CONF='dns64 64:ff9b::/96 { clients { thread; }; recursive-only yes; };'
otbr_1 | ++ without NAT64
otbr_1 | ++ with NAT64
otbr_1 | ++ local value
otbr_1 | +++ printenv NAT64
otbr_1 | ++ value=1
otbr_1 | ++ [[ -z 1 ]]
otbr_1 | ++ [[ 1 == 1 ]]
otbr_1 | ++ test ubuntu = ubuntu
otbr_1 | ++ '[' ubuntu = raspbian ']'
otbr_1 | ++ '[' ubuntu = beagleboneblack ']'
otbr_1 | ++ '[' ubuntu = ubuntu ']'
otbr_1 | ++ RESOLV_CONF_HEAD=/etc/resolvconf/resolv.conf.d/head
otbr_1 | + main
otbr_1 | + . /dev/null
otbr_1 | + sudo sysctl --system
otbr_1 | /app/script/server: line 41: sudo: command not found
It appears that tayga and bind are not configured correctly. Also, sudo commands fail. I see in the Dockerfile that it should be installing sudo, so I am at a loss for why this fails.