[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] Docker-1.10 to docker-1.9 rollback.
- From: Antonio Murdaca <amurdaca redhat com>
- To: Daniel J Walsh <dwalsh redhat com>
- Cc: atomic-devel projectatomic io
- Subject: Re: [atomic-devel] Docker-1.10 to docker-1.9 rollback.
- Date: Tue, 1 Dec 2015 04:20:38 -0500 (EST)
----- Messaggio originale -----
| Da: "Daniel J Walsh" <dwalsh redhat com>
| A: atomic-devel projectatomic io
| Inviato: Lunedì, 30 novembre 2015 21:15:49
| Oggetto: [atomic-devel] Docker-1.10 to docker-1.9 rollback.
|
| When you upgrade to docker-1.10, your container images json data gets
| rewritten with UUID based on the content in the images. This will take
| a while, depending on the number and size of images. One potential
| problem is rollback.
One thing which might help here is that the rewrite of the images json is
not destructive so old images json will be still around after the migration.
Haven't heard anything about Docker officially supporting this kind of
compatibility with old code but it files still get around it could be
something which we could implement on our side based on the docker version
running maybe (just throwing ideas).
|
| When I updated a docker to docker-1.10 (In devel, Rawhide) my images get
| updated. Now if I rollback to docker-1.9 I notice my containers are
| disappearing.
|
| docker ps -a
| CONTAINER ID IMAGE COMMAND
| CREATED STATUS PORTS NAME
| dc8ba4c69222 fedora "bash" 13 minutes
| ago Exited (0) 13 minutes ago fervent_rosalind
| 1e1a4d59c375 fedora "bash" 3 hours
| ago Exited (0) 3 hours ago amazing_yonath
|
| Rollback to docker-1.9
|
| [root dhcp-10-19-62-196 docker]# docker ps -a
| CONTAINER ID IMAGE COMMAND
| CREATED STATUS PORTS NAMES
|
| Nothing.
|
| I create a container. (Using docker-1.9
|
| I update to docker-1.10 again
|
| docker ps -a
| CONTAINER ID IMAGE COMMAND
| CREATED STATUS PORTS NAMES
| 6073b1c7c08f fedora "bash" 11 minutes
| ago Exited (0) 11 minutes ago boring_shockley
| dc8ba4c69222 fedora "bash" 13 minutes
| ago Exited (0) 13 minutes ago fervent_rosalind
| 1e1a4d59c375 fedora "bash" 3 hours
| ago Exited (0) 3 hours ago amazing_yonath
|
| Rollback to docker-1.9
|
| [root dhcp-10-19-62-196 docker]# docker ps -a
| CONTAINER ID IMAGE COMMAND
| CREATED STATUS PORTS NAMES
| 6073b1c7c08f fedora "bash" 13 minutes
| ago Exited (0) 13 minutes ago boring_shockley
|
| Might be a bug, but this is something we need to understand in order to
| figure out what happens if a atomic host upgrades and rolls back.
|
|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]