mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
nixos/docker: warn about changing storageDriver
Add warning to the documentation of `virtualisation.docker.storageDriver` that changing will cause any existing containers and images to become inaccessible.
This commit is contained in:
parent
a3a15d720c
commit
5254684a0f
@ -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.
|
||||
:::
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user