I
I
Igor2016-05-07 10:27:51
Docker
Igor, 2016-05-07 10:27:51

How to quickly replace the parent container?

I have containers with the following hierarchy
ubuntu > ruby-2.3.0 > nginx-passener > app
How to quickly replace ruby-2.3.0 container with ruby-2.3.1 in production.
So far, I see one option is to raise another server and rebuild the images again. But at the same time, you will have to drag with you all the data from volumes. Well, then change the ip of the domain in DNS.
Surely there is a more efficient way? :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vaavaan, 2016-06-03
@Vaavaan

Идеология Докера - собирать образ.
Если у вас заранее собраны образы
до сих пор: ubuntu > ruby-2.3.0 >
и вот этот: ubuntu > ruby-2.3.1 >
то сделать оставшееся
> nginx-passener > app
Докер сможет очень быстро.
Что значит, тащить данные из Volume.
Переподключите.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question