Open dzove855 opened 8 months ago
Would you plan to keep context on the volume itself as per below ?
buzko@lovespizza:~$ docker volume create dzove --label country=croatia,luxembourg --label birthday=01/01/1970
dzove
buzko@lovespizza:~$ docker inspect dzove
[
{
"CreatedAt": "2024-05-06T16:28:20+02:00",
"Driver": "local",
"Labels": {
"birthday": "01/01/1970",
"country": "croatia,luxembourg"
},
"Mountpoint": "/var/lib/docker/volumes/dzove/_data",
"Name": "dzove",
"Options": null,
"Scope": "local"
}
]
if not "add host" will make you lose that information
Actual Behavior
There is no way to add config context to be mounted inside a container
Desired Behavior
An new type should be added for volumes, which we can use inside the agent to map mount a config context inside a container
Example of use cases:
Expected structure: Destination path of the file Config context Driver (something like configmap or just configcontext)