@eric.tx
builder doesn’t use the tcbuild.yaml file when using the bundle command. It uses the docker-compose.yml file.
version: “3.9”
services:
gimbal3b-latest:
build:
context: .
dockerfile: Dockerfile.debug
#image: torizon6-gimbal3b:runme
#image: localhost:5002/gimbal3bcontainer-debug:arm64
image: localhost:5002/torizon6gimbal3b:latest
#image: localhost:5002/torizon6-gimbal3b:runme
volumes:
- /mnt/sd1/logs:/home/torizon/logs
environment:
- HOME=/root
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- HOSTNAME=verdin-imx8mp-14762705
- PWD=/root/app/
- APP_EXECUTABLE=app
working_dir: /root/app/
command: bash -c “./Gimbal3b”
network_mode: “host”
cap_add:
- NET_ADMIN
devices:
- “/dev/spidev1.0”
- “/dev/gpiochip0”
- “/dev/gpiochip1”
- “/dev/gpiochip2”
- “/dev/gpiochip3”
- “/dev/gpiochip4”
- “/dev/verdin-uart1”
- “/dev/verdin-uart2”
- “/dev/verdin-uart3”
- “/dev/i2c-5”
ports:
- 2230:2230
#restart: unless-stopped
I did try the --login-to 192.168.12.185:5002 username password
I got this error:
Error: container images download failed: 500 Server Error for https://172.17.0.4:22376/v1.40/auth: Internal Server Error (“Get https://192.168.12.185:5002/v2/: http: server gave HTTP response to HTTPS client”)
I also tried it with the IP address (instead of localhost) as well. This also didn’t work.
However, this DID work!
torizoncore-builder bundle --force --platform arm64 --login-to 192.168.12.185:5002 username password --dind-param=“–insecure-registry=192.168.12.185:5002” docker-compose.yml
With the external IP address in the compose file. Holy Moly!!
Steve