-
Notifications
You must be signed in to change notification settings - Fork 5.4k
cant add secrets, error says path is not absolute #7110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
seems like secrets' path isn't converted by |
according to changelog:
So it seems to be expected for |
Sounds I misunderstood your setup (whenever you clearly detailled in issue description): you don't use Docker Desktop but a Linux host to run docke engine ("homelab"). docker engine (without swarm mode enabled) has no support for secrets, and as such docker-compose do actually mock a secret store with a plain bind-mount from your laptop. This is transparently managed when using Docker Desktop, as bind mount is still "local", but not possible with a remote host like your homelab. Arguably, the error message is far from being useful to understand what's going wrong. |
Description of the issue
When running my compose file, my secrets will not mount.
Context information (for bug reports)
The compose file gets ran from Jetbrains, but I don't think that adds any extra layers here. Correct me if I'm wrong.
The docker deamon is on my homelab, the commands are being ran from compose on my laptop. Everything works as expected without any secrets implemented in compose file.
My compose file
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
Observed result
Its failing saying it cant mount the secrets
Expected result
It to work
Stacktrace / full error message
Additional information
OS version / distribution,
docker-compose
install method, etc.The text was updated successfully, but these errors were encountered: