Merge pull request #268979 from con-f-use/warn_docker_storage_driver

nixos/docker: warn about changing storageDriver and remove `devicemapper` value
This commit is contained in:
Sandro 2024-02-12 19:46:05 +01:00 committed by GitHub
commit 886449aef2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,8 +93,18 @@ in
default = null;
description =
lib.mdDoc ''
This option determines which Docker storage driver to use. By default
it let's docker automatically choose preferred storage driver.
This option determines which Docker
[storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/)
to use.
By default it lets docker automatically choose the preferred storage
driver.
However, it is recommended to specify a storage driver explicitly, as
docker's default varies over versions.
::: {.warning}
Changing the storage driver will cause any existing containers
and images to become inaccessible.
:::
'';
};