If you don't know where the container is mounted the data, you can use docker inspect to find out:
This just lists the mounts:
# docker inspect omada-controller | jq '.[]|.Mounts'
[
{
"Type": "bind",
"Source": "/zfs/apps/omada-controller/cert",
"Destination": "/cert",
"Mode": "",
"RW": false,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/zfs/apps/omada-controller/data",
"Destination": "/opt/tplink/EAPController/data",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/zfs/apps/omada-controller/logs",
"Destination": "/opt/tplink/EAPController/logs",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
]
Or if you don't have jq:
# docker inspect --format '{{json .Mounts}}' omada-controller
[{"Type":"bind","Source":"/zfs/apps/omada-controller/data","Destination":"/opt/tplink/EAPController/data","Mode":"","RW":true,"Propagation":"rprivate"},{"Type":"bind","Source":"/zfs/apps/omada-controller/logs","Destination":"/opt/tplink/EAPController/logs","Mode":"","RW":true,"Propagation":"rprivate"},{"Type":"bind","Source":"/zfs/apps/omada-controller/cert","Destination":"/cert","Mode":"","RW":false,"Propagation":"rprivate"}]