I am able to create the volumes, but I am unable to access them via my python program.
Following are the details for one example volume.
In my docker-compose.yml
volumes:
wifi_config:
services:
local_wifi_config:
privileged: true
restart: always
build: ./local_wifi_config
volumes:
- 'wifi_config:/CONFIG
I see the created volume via the command prompt at, /var/lib/docker/volumes/1560835_wifi_config
How should I go about programmatically accessing this path? I attempted the following.
config_file_path = '/var/lib/docker/volumes/'"$BALENA_APP_ID"'_wifi_config/'
I have referenced the " Persistent Storage" section of https://www.balena.io/docs/learn/develop/runtime/ and I am using a production Balena OS version 2.43.