Fetch images before upgrading #545
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running
abra app upgrade
, it sometimes takes some time before the app is running again. Observing this, I think it must be that the new images are downloaded after the app is already taken down. I don't know if its possible (and if my observation is even true), but it would be great if the images are downloaded before to significantly reduce downtime.Hmmm, we're mostly at the whim of the container runtime for this...
docker pull
is called on a need-to-pull basis?However, if you run
upgrade
then the current app shouldn't go down? the image pull should happen in the background?I wonder if there are some logs you can pole from the docker daemon or server / container logs?
@iexos just to come back on this, I believe it's covered with the modified
update_config
, see:So you can keep a container up while the
pull
is ongoing withorder: start-first
.Nice one, thank you! So it depends on the recipe, and that is already documented. Makes me understand the docker internals better.