Add unix:// prefix for socket addresses used by CRI remote client.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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=
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user