[lxc-devel] [lxd/master] doc: Add note on use of previous image from cache

stgraber on Github lxc-bot at linuxcontainers.org
Tue Jul 25 21:39:23 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170725/1a2bff60/attachment.bin>
-------------- next part --------------
From ff7cefc3a1ff4a80bd9661301eddc7647b171f39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Tue, 25 Jul 2017 17:38:52 -0400
Subject: [PATCH] doc: Add note on use of previous image from cache
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #3590

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/image-handling.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/image-handling.md b/doc/image-handling.md
index 34bb0871d..6cc12cc1f 100644
--- a/doc/image-handling.md
+++ b/doc/image-handling.md
@@ -36,6 +36,15 @@ image is removed from the store.
 The user can also request a particular image be kept up to date when
 manually copying an image from a remote server.
 
+
+If a new upstream image update is published and the local LXD has the
+previous image in its cache when the user requests a new container to be
+created from it, LXD will use the previous version of the image rather
+than delay the container creation.
+
+This behavior only happens if the current image is scheduled to be
+auto-updated and can be disabled by setting images.auto\_update\_interval to 0.
+
 # Image format
 LXD currently supports two LXD-specific image formats.
 


More information about the lxc-devel mailing list