I
I
ivoninsergey2019-07-17 18:06:46
Docker
ivoninsergey, 2019-07-17 18:06:46

How to transfer mattrayner/lamp container without losing data?

Hello!
In general, the question is not even how to transfer, but how to run it correctly so as not to lose data from the same database.
I transfer as standard:

scp /home/image.tar [email protected]<имя сервера>/home/ubuntu

sudo docker load -i /home/ubuntu/image.tar

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-07-17
@vitaly_il1

so as not to lose data from the same database

and where is the database disk in the old configuration?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question