U
U
Urukhayy2017-01-13 13:38:56
System administration
Urukhayy, 2017-01-13 13:38:56

How to update a file in Docker?

Imported a third-party application via docker (one C1 container). If you change the files and restart (docker restart), then the changes take effect. But then I attached a mysql container to this container, and a new C2 container was formed, which includes the main C1 container and is linked to the mysql container. But that new C2 container does not have the changes that were made to the C1 container that were visible after docker restart. How to add them to the docker build?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2017-01-13
@MaxDukov

docker commit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question