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 <eric.ernst@intel.com>
This commit is contained in:
Eric Ernst 2019-11-20 12:26:16 -08:00
parent 499f346be3
commit 731e144a48

View File

@ -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.
available on your computer. On Ubuntu, it can be installed with `apt-get install dmsetup` command.