As of March 27, 2023, the Docker add-on is deprecated. The Docker add-on might be removed from kURL after September 31st, 2023. Existing installations that use the Docker add-on are supported during this deprecation window. Kubernetes 1.24.0 and later does not support Docker. We recommend that you remove the Docker add-on on or before September 31st, 2023 and instead use the Containerd add-on.
Docker is a CRI (Container Runtime Interface). If Docker is not used, an alternative CRI must be used in its place. See containerd documentation for more information.
For disk requirements, see Add-on Directory Disk Space Requirements.
spec:
docker:
version: "19.03.10"
bypassStorageDriverWarnings: false
hardFailOnLoopback: false
noCEOnEE: false
daemonConfig: |
{
"exec-opts": ["native.cgroupdriver=systemd"]
}
preserveConfig: false
Flag | Usage |
---|---|
version | The version of docker to be installed. |
bypassStorageDriverWarnings | Bypass Docker warnings when using the devicemapper storage driver in loopback mode. |
hardFailOnLoopback | Set to false to allow installation to proceed when Docker is detected to be using the devicemapper storage driver in loopback mode. By default the installer will abort when loopback mode is detected because of instability. |
noCEOnEE | Disable installation of Docker CE onto platforms it does not support - RHEL, SLES and Oracle Linux. |
daemonConfig | This is where a docker daemon.json config may be added as a string field. |
preserveConfig | This flag will ensure that nothing is changed in the existing docker config on the system, regardless of other options. |
dockerRegistryIP | This is the location of the docker registry, used by additional nodes during a join script. It is not customizable by the user during an initial install. |