D
D
Denis2018-07-16 20:32:43
ubuntu
Denis, 2018-07-16 20:32:43

Is there automatic sync in docker?

Good evening. I am mastering the use of docker technology, docker-compose. I was interested in the possible use when developing on a local computer, and in connection with this, the question arose - is it possible in docker to automatically synchronize files from the host to the container?
For example, I have a directory on the host /var/www/html/new_www. And by adding or changing something in this directory, is it possible that the changes would be immediately transferred to the container?
Advise whether there is such an opportunity and in what direction to look for information. Thank you in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
m0nym, 2018-07-16
@denis6064

Mounting

C
chupasaurus, 2018-07-16
@chupasaurus

Volumes via plugins ( example for sshfs )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question