K
K
krll-k2017-06-07 00:23:26
Docker
krll-k, 2017-06-07 00:23:26

How to quickly migrate from one server with a docker application to another?

Now I use this method.

#на первом
docker commit <num> krll/<name>
docker push

#на втором
docker pull krll/<name>
docker run [options] krll/<name>

Is there an easier and smarter way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
krll-k, 2017-06-07
@krll-k

through docker save and docker export, then you don’t need to commit anything,
but it’s still the same inappropriate way.

R
ralaton121, 2017-06-07
@ralaton121

Did I understand you correctly that you are violating the whole concept of Docker and 12 factors - namely, do you have non-stateless containers?
And if you do not violate and use the Docker Registry, then continue to use it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question