app icon indicating copy to clipboard operation
app copied to clipboard

Are Inline Files Possible?

Open jjorissen52 opened this issue 4 years ago • 3 comments

Hello, I am wondering if it is possible to define inline files as discussed here? https://github.com/docker/compose/issues/3538

It's implied that it's possible to do so using docker app in that discussion, but I see nothing in the README for this repository, the official documentation, nor the provided examples in this repository.

jjorissen52 avatar Mar 11 '20 20:03 jjorissen52

I guess docker config solves this no?

decentral1se avatar May 10 '20 21:05 decentral1se

It is possible to specify content of a file using app parameters. But how can this file be created in the container? An external docker-config is not a good option because the app is no longer self-contained. A file-based config would work great but there is no way to specify config file contents without a file.

alokpr avatar Jul 30 '20 16:07 alokpr

+1

I would also like to use it to define small config files (such as nginx.conf) in docker-compose. A great example is here: https://github.com/docker/compose/issues/3538

adams-family avatar Apr 12 '21 17:04 adams-family