Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Use docker-machine ssh instead of env on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
  • Loading branch information
jmorganca committed Sep 28, 2015
1 parent 7a35f84 commit f8c5201
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN curl -fsSL -o /boot2docker.iso https://github.com/boot2docker/boot2docker/re
ENV KITEMATIC_VERSION 0.8.5
RUN curl -fsSL -o /kitematic.zip https://github.com/kitematic/kitematic/releases/download/v$KITEMATIC_VERSION/Kitematic-$KITEMATIC_VERSION-Mac.zip

ENV INSTALLER_VERSION 1.8.2b
ENV INSTALLER_VERSION 1.8.2c

ENV MIXPANEL_TOKEN c306ae65c33d7d09fe3e546f36493a6e

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN cd innosetup && \
wine "./innounp.exe" -e "is-unicode.exe"

# installer components
ENV INSTALLER_VERSION 1.8.2b
ENV INSTALLER_VERSION 1.8.2c
ENV DOCKER_VERSION 1.8.2
ENV DOCKER_MACHINE_VERSION 0.4.1
ENV BOOT2DOCKER_ISO_VERSION $DOCKER_VERSION
Expand Down
25 changes: 1 addition & 24 deletions windows/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,4 @@ fi

echo "Starting machine $VM..."
$DOCKER_MACHINE start $VM

echo "Setting environment variables for machine $VM..."
eval "$($DOCKER_MACHINE env --shell=bash $VM)"

clear
cat << EOF
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
EOF
echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}$VM${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip $VM)${NC}"
echo "For help getting started, check out the docs at https://docs.docker.com"
echo
cd

exec "$BASH" --login -i
$DOCKER_MACHINE ssh $VM

0 comments on commit f8c5201

Please sign in to comment.