From 731e144a48eecdc0dc9b88b4b3889cc52e41d178 Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Wed, 20 Nov 2019 12:26:16 -0800 Subject: [PATCH] devmapper: update example base image size in README base_image_size effectively is the limit of a layer size that can be created using the devmapper snapshotter. While this will also depend on the thinpool size itself, something closer to the total image size (80%?) is more appropriate. As is, if you try to run an image like elastic, you'll need a much larger base_image_size than 128MB. Signed-off-by: Eric Ernst --- snapshots/devmapper/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapshots/devmapper/README.md b/snapshots/devmapper/README.md index f188a88a0..dc41acdf9 100644 --- a/snapshots/devmapper/README.md +++ b/snapshots/devmapper/README.md @@ -15,7 +15,7 @@ Here's minimal sample entry that can be made in the configuration file: ... [plugins.devmapper] pool_name = "containerd-pool" - base_image_size = "128MB" + base_image_size = "8192MB" ... ``` @@ -39,4 +39,4 @@ ctr run --snapshotter devmapper docker.io/library/hello-world:latest test ## Requirements The devicemapper snapshotter requires `dmsetup` (>= 1.02.110) command line tool to be installed and -available on your computer. On Ubuntu, it can be installed with `apt-get install dmsetup` command. \ No newline at end of file +available on your computer. On Ubuntu, it can be installed with `apt-get install dmsetup` command.