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

Commit

Permalink
Merge branch 'master' of github.com:docker/toolbox
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey F <[email protected]>
  • Loading branch information
shin- committed Jan 11, 2018
2 parents 4c43383 + 44cb705 commit 45e28ea
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
"${DOCKER_MACHINE}" create -d virtualbox $PROXY_ENV --virtualbox-memory 2048 --virtualbox-disk-size 204800 "${VM}"
fi

VM_STATUS="$(${DOCKER_MACHINE} status ${VM} 2>&1)"
VM_STATUS="$( set +e ; ${DOCKER_MACHINE} status ${VM} )"
if [ "${VM_STATUS}" != "Running" ]; then
"${DOCKER_MACHINE}" start "${VM}"
yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}"
Expand Down
2 changes: 1 addition & 1 deletion osx/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ while true; do
done

echo "Removing Applications..."
rm -rf /Applications/Docker
rm -rf /Applications/Docker.app

echo "Removing docker binaries..."
rm -f /usr/local/bin/docker
Expand Down
2 changes: 1 addition & 1 deletion script/build-osx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docker build \
--build-arg VBOX_REV="${VBOX_REV}" \
--build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \
.
CONTAINER="$(docker run -d osx-installer)"
CONTAINER="$(docker create osx-installer)"
mkdir -p dist
docker cp "${CONTAINER}":/DockerToolbox.pkg dist/
docker rm "${CONTAINER}" 2>/dev/null || true
2 changes: 1 addition & 1 deletion script/build-windows
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docker build \
--build-arg VBOX_REV="${VBOX_REV}" \
--build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \
.
CONTAINER="$(docker run -d windows-installer)"
CONTAINER="$(docker create windows-installer)"
mkdir -p dist
docker cp "${CONTAINER}":/installer/Output/DockerToolbox.exe dist/
docker rm "${CONTAINER}" 2>/dev/null || true
2 changes: 1 addition & 1 deletion windows/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
fi

STEP="Checking status on $VM"
VM_STATUS="$(${DOCKER_MACHINE} status ${VM} 2>&1)"
VM_STATUS="$( set +e ; ${DOCKER_MACHINE} status ${VM} )"
if [ "${VM_STATUS}" != "Running" ]; then
"${DOCKER_MACHINE}" start "${VM}"
yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}"
Expand Down

0 comments on commit 45e28ea

Please sign in to comment.