Skip to content

Commit

Permalink
Merge pull request docker#553 from bbodenmiller/patch-3
Browse files Browse the repository at this point in the history
clear all_proxy if not socks address
  • Loading branch information
nathanleclaire authored Aug 18, 2016
2 parents da301e5 + 8955368 commit 6c900e6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions windows/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 6c900e6

Please sign in to comment.