docker/app

Are Inline Files Possible?

jjorissen52 opened this issue · 3 comments

Hello, I am wondering if it is possible to define inline files as discussed here? docker/compose#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.

I guess docker config solves this no?

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.

+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:
docker/compose#3538