A
A
Anton Shvets2016-07-11 22:44:26
Docker
Anton Shvets, 2016-07-11 22:44:26

How to mount files in docker-compose.yml?

for example you specify
volumes:
- '/srv/redmine/files/:/usr/src/redmine/files/'
- '/srv/redmine/config/configuration.yml:/usr/src/redmine/config/configuration.yml'
docker correctly creates the /srv/redmine/config/configuration.yml folder and mounts it as a volume.
how to tell him that this is a file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2016-07-12
@Xuxicheta

Docker running in a virtual machine?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question