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:
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user