1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-20 19:08:25 +00:00

Update dind Docker to 19.03

This commit is contained in:
Sebastiaan van Steenis
2020-07-07 16:33:34 +02:00
committed by Denise
parent 12b4dcaf59
commit bf6bea3331

View File

@@ -13,7 +13,7 @@ import (
) )
const ( const (
DINDImage = "docker:17.03-dind" DINDImage = "docker:19.03.12-dind"
DINDContainerPrefix = "rke-dind" DINDContainerPrefix = "rke-dind"
DINDPlane = "dind" DINDPlane = "dind"
DINDNetwork = "dind-network" DINDNetwork = "dind-network"
@@ -67,6 +67,7 @@ func StartUpDindContainer(ctx context.Context, dindAddress, dindNetwork, dindSto
"dockerd-entrypoint.sh --storage-driver=" + storageDriver, "dockerd-entrypoint.sh --storage-driver=" + storageDriver,
}, },
Hostname: dindAddress, Hostname: dindAddress,
Env: []string{"DOCKER_TLS_CERTDIR="},
} }
hostCfg := &container.HostConfig{ hostCfg := &container.HostConfig{
Privileged: true, Privileged: true,