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:
parent
499f346be3
commit
731e144a48
@ -15,7 +15,7 @@ Here's minimal sample entry that can be made in the configuration file:
|
|||||||
...
|
...
|
||||||
[plugins.devmapper]
|
[plugins.devmapper]
|
||||||
pool_name = "containerd-pool"
|
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
|
## Requirements
|
||||||
|
|
||||||
The devicemapper snapshotter requires `dmsetup` (>= 1.02.110) command line tool to be installed and
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user