I'm unsure if something obvious escapes me or if it's just not possible but I'm trying to compose an entire application stack with images from docker hub.
One of them is mysql and it supports adding custom configuration files through volumes and to run .sql-files from a mounted directory.
But, I have these files on the machine where I'm running docker-compose, not on the host. Is there no way to specify files from the local machine to copy into the container before it runs it entrypoint/cmd? Do I really have to create local images of everything just for this case?
question from:
https://stackoverflow.com/questions/39388877/adding-files-to-standard-images-using-docker-compose 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…