You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that when I query information about a container via the docker API so something like this 'GET /containers/{id}/json' then I get back an object which contains among other things an array called "Mounts". In this array each volume is contained as a separate object, for example:
Unfortunately, the "Source":"" (source path) is not transferred here. With the default driver "local" it is. Unfortunately I need this value for one of my queries. Maybe there is a quick solution for this problem.
Thank you.
Regards
The text was updated successfully, but these errors were encountered:
Running into the same issue with using OneDev Job Executor - "Source": "" - causes it to fail - but it seems, this is only empty when the volume is created through docker-compose - as I have a volume used for portainer using local-persist which has Source set - inspections of both show no obvious differences except the labels:
Good day,
I have noticed that when I query information about a container via the docker API so something like this 'GET /containers/{id}/json' then I get back an object which contains among other things an array called "Mounts". In this array each volume is contained as a separate object, for example:
[{
"Destination":"/container/path",
"Driver": "local-persist",
"Mode":"",
"Name": "test",
"Propagation":""
"RW":true,
"Source":"",
"Type": "volume"
}]
Unfortunately, the "Source":"" (source path) is not transferred here. With the default driver "local" it is. Unfortunately I need this value for one of my queries. Maybe there is a quick solution for this problem.
Thank you.
Regards
The text was updated successfully, but these errors were encountered: