This repository was archived by the owner on Sep 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
mpkg/quickstart.app/Contents/Resources/Scripts Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
5050 " ${DOCKER_MACHINE} " create -d virtualbox $PROXY_ENV --virtualbox-memory 2048 --virtualbox-disk-size 204800 " ${VM} "
5151fi
5252
53- VM_STATUS=" $( ${DOCKER_MACHINE} status ${VM} 2>&1 ) "
53+ VM_STATUS=" $( set +e ; ${DOCKER_MACHINE} status ${VM} ) "
5454if [ " ${VM_STATUS} " != " Running" ]; then
5555 " ${DOCKER_MACHINE} " start " ${VM} "
5656 yes | " ${DOCKER_MACHINE} " regenerate-certs " ${VM} "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ while true; do
1717done
1818
1919echo " Removing Applications..."
20- rm -rf /Applications/Docker
20+ rm -rf /Applications/Docker.app
2121
2222echo " Removing docker binaries..."
2323rm -f /usr/local/bin/docker
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ docker build \
1616 --build-arg VBOX_REV=" ${VBOX_REV} " \
1717 --build-arg MIXPANEL_TOKEN=" ${MIXPANEL_TOKEN} " \
1818 .
19- CONTAINER=" $( docker run -d osx-installer) "
19+ CONTAINER=" $( docker create osx-installer) "
2020mkdir -p dist
2121docker cp " ${CONTAINER} " :/DockerToolbox.pkg dist/
2222docker rm " ${CONTAINER} " 2> /dev/null || true
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ docker build \
1616 --build-arg VBOX_REV=" ${VBOX_REV} " \
1717 --build-arg MIXPANEL_TOKEN=" ${MIXPANEL_TOKEN} " \
1818 .
19- CONTAINER=" $( docker run -d windows-installer) "
19+ CONTAINER=" $( docker create windows-installer) "
2020mkdir -p dist
2121docker cp " ${CONTAINER} " :/installer/Output/DockerToolbox.exe dist/
2222docker rm " ${CONTAINER} " 2> /dev/null || true
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if [ $VM_EXISTS_CODE -eq 1 ]; then
6161fi
6262
6363STEP=" Checking status on $VM "
64- VM_STATUS=" $( ${DOCKER_MACHINE} status ${VM} 2>&1 ) "
64+ VM_STATUS=" $( set +e ; ${DOCKER_MACHINE} status ${VM} ) "
6565if [ " ${VM_STATUS} " != " Running" ]; then
6666 " ${DOCKER_MACHINE} " start " ${VM} "
6767 yes | " ${DOCKER_MACHINE} " regenerate-certs " ${VM} "
You can’t perform that action at this time.
0 commit comments