From c9b07618dc4c9137ca43e29925191e4812b79f2a Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Thu, 17 Nov 2016 12:21:30 -0500 Subject: [PATCH] remove the --rm b/c it conflicts with restart --- roles/kubernetes/node/templates/kubelet-container.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/node/templates/kubelet-container.j2 b/roles/kubernetes/node/templates/kubelet-container.j2 index ad26a9107..f6ebc5657 100644 --- a/roles/kubernetes/node/templates/kubelet-container.j2 +++ b/roles/kubernetes/node/templates/kubelet-container.j2 @@ -1,5 +1,5 @@ #!/bin/bash -/usr/bin/docker run --privileged --rm \ +/usr/bin/docker run --privileged \ --net=host --pid=host --name=kubelet --restart=always \ -v /etc/cni:/etc/cni:ro \ -v /opt/cni:/opt/cni:ro \