Every time I restart my Generic AARCH64 device the image start from scratch. The device is added as new in Balena Cloud it appears in my app in Dash and start to sync to my latest pull. I’m starting using this command line:
./balenaos-in-container.sh --config ./balena-app-64.config.json --image resin/resinos:2.12.4_rev1-generic-aarch64
I need to add something to restart the same device always? Thanks
Hi, I think if you specify --id you can force re-use of existing containers/volumes.
--id
Thanks! I try this next time I mingle with the board.
OK. Lesson learned. A step beyond is clear all the orphan volumes created. I left this for helping another:
List of orphan volumes: docker volume ls -qf dangling=true
docker volume ls -qf dangling=true
Clear the orphan volumes: docker volume rm $(docker volume ls -qf dangling=true)
docker volume rm $(docker volume ls -qf dangling=true)