Add unix:// prefix for socket addresses used by CRI remote client.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-04-20 17:21:55 -07:00
parent 59d7112bf9
commit 06f53b4838
8 changed files with 11 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ make
${SUDO} make install -e BINDIR=${CRITOOL_DIR} GOPATH=${GOPATH}
${SUDO} mkdir -p ${CRICTL_CONFIG_DIR}
${SUDO} bash -c 'cat >'${CRICTL_CONFIG_DIR}'/crictl.yaml <<EOF
runtime-endpoint: /run/containerd/containerd.sock
runtime-endpoint: unix:///run/containerd/containerd.sock
EOF'
# Clean the tmp GOPATH dir.

View File

@@ -27,7 +27,7 @@ if [ -f "${CONTAINERD_CONFIG_FILE}" ]; then
CONTAINERD_FLAGS+="--config ${CONTAINERD_CONFIG_FILE} "
fi
CONTAINERD_SOCK=/run/containerd/containerd.sock
CONTAINERD_SOCK=unix:///run/containerd/containerd.sock
containerd_pid=

View File

@@ -17,7 +17,7 @@
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
# Not from vendor.conf.
CRITOOL_VERSION=db53d78569a8116fff1f60366a8de3130e767eeb
CRITOOL_VERSION=f37a5a1edb69ee742c6e42c57413fe6b63788085
CRITOOL_PKG=github.com/kubernetes-incubator/cri-tools
CRITOOL_REPO=github.com/kubernetes-incubator/cri-tools