need create /etc/docker directory first for adding /etc/docker/daemon.json (#10769)

otherwise there will be an error, and the file /etc/docker/daemon.json will not be added.
This commit is contained in:
KevinTHU
2018-10-31 00:57:47 +08:00
committed by k8s-ci-robot
parent f8179c11a7
commit 46c75bcf19
+3
View File
@@ -84,6 +84,9 @@ yum-config-manager \
## Install docker.
yum update && yum install docker-ce-18.06.1.ce
## Create /etc/docker directory.
mkdir /etc/docker
# Setup daemon.
cat > /etc/docker/daemon.json <<EOF
{