1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #553 from bbodenmiller/patch-3

clear all_proxy if not socks address
This commit is contained in:
Nathan LeClaire
2016-08-17 17:00:20 -07:00
committed by GitHub
2 changed files with 15 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ NC='\033[0m'
unset DYLD_LIBRARY_PATH
unset LD_LIBRARY_PATH
#clear all_proxy if not socks address
if [[ $ALL_PROXY != socks* ]]; then
unset ALL_PROXY
fi
if [[ $all_proxy != socks* ]]; then
unset all_proxy
fi
clear
if [ ! -f "${DOCKER_MACHINE}" ]; then

View File

@@ -20,6 +20,13 @@ BLUE='\033[1;34m'
GREEN='\033[0;32m'
NC='\033[0m'
#clear all_proxy if not socks address
if [[ $ALL_PROXY != socks* ]]; then
unset ALL_PROXY
fi
if [[ $all_proxy != socks* ]]; then
unset all_proxy
fi
if [ ! -f "${DOCKER_MACHINE}" ]; then
echo "Docker Machine is not installed. Please re-run the Toolbox Installer and try again."