Skip to content

Commit

Permalink
also forwards DOCKER_TLS_VERIFY and DOCKER_CERT_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbochi committed Feb 16, 2017
1 parent efaca24 commit b192427
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drun
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ if [ "${MOUNTDOCKERSOCK:-}" != 'n' -a -r "$DSOCK" -a -w "$DSOCK" -a -S "$DSOCK"
fi
elif [ -n "${DOCKER_HOST}" ]; then
EXTRA_OPTS="${EXTRA_OPTS:-} -e DOCKER_HOST=${DOCKER_HOST}"
EXTRA_OPTS="${EXTRA_OPTS:-} -e DOCKER_TLS_VERIFY=${DOCKER_TLS_VERIFY}"
EXTRA_OPTS="${EXTRA_OPTS:-} -e DOCKER_CERT_PATH=${DOCKER_CERT_PATH} -v ${DOCKER_CERT_PATH}:${DOCKER_CERT_PATH}:ro"
fi

RM_OPT=${RM_OPT=--rm}
Expand Down

0 comments on commit b192427

Please sign in to comment.