Open
Description
Description
Per title, currently docker compose uses bind mounts to put configs and secrets in containers, but this does not work when using either docker context or DOCKER_HOST variable to remotely deploy to a different system.
This would help some of the use cases described in these issues:
- existence of secret files are checked locally instead of remotely when using remote docker daemon with DOCKER_HOST #7857
- [Bug] Docker Compose secrets returns error invalid mount config when deploying to a remote context #11141
- docker-compose copy file or directory to container #5523
- cant add secrets, error says path is not absolute #7110
- EDIT: Secrets fail to set the
uid
,gid
andmode
specified indocker-compose.yml
#9648
It builds upon the config content and environment support added in compose-spec/compose-spec#346