├── osx ├── mpkg │ ├── quickstart.app │ │ └── Contents │ │ │ ├── PkgInfo │ │ │ ├── MacOS │ │ │ └── applet │ │ │ ├── Resources │ │ │ ├── applet.icns │ │ │ ├── applet.rsrc │ │ │ ├── Scripts │ │ │ │ ├── main.scpt │ │ │ │ ├── iterm.scpt │ │ │ │ ├── terminal.scpt │ │ │ │ └── start.sh │ │ │ └── description.rtfd │ │ │ │ └── TXT.rtf │ │ │ └── Info.plist │ ├── Resources │ │ ├── toolbox.png │ │ └── en.lproj │ │ │ ├── toolbox.png │ │ │ ├── welcome.rtfd │ │ │ ├── TXT.rtf │ │ │ └── toolbox.png │ │ │ └── Localizable.strings │ ├── Plugins │ │ ├── overviewplugin.bundle │ │ │ └── Contents │ │ │ │ ├── MacOS │ │ │ │ └── overviewplugin │ │ │ │ ├── Resources │ │ │ │ ├── en.lproj │ │ │ │ │ ├── InfoPlist.strings │ │ │ │ │ └── Localizable.strings │ │ │ │ ├── Base.lproj │ │ │ │ │ └── overviewplugin.nib │ │ │ │ ├── InstallerSections.plist │ │ │ │ └── overview.html │ │ │ │ └── Info.plist │ │ ├── quickstartplugin.bundle │ │ │ └── Contents │ │ │ │ ├── MacOS │ │ │ │ └── quickstartplugin │ │ │ │ ├── Resources │ │ │ │ ├── kitematic.png │ │ │ │ ├── quickstart.png │ │ │ │ ├── en.lproj │ │ │ │ │ ├── InfoPlist.strings │ │ │ │ │ └── Localizable.strings │ │ │ │ ├── Base.lproj │ │ │ │ │ └── quickstartplugin.nib │ │ │ │ └── InstallerSections.plist │ │ │ │ └── Info.plist │ │ └── InstallerSections.plist │ ├── docker.pkg │ │ └── PackageInfo │ ├── dockercompose.pkg │ │ └── PackageInfo │ ├── dockermachine.pkg │ │ └── PackageInfo │ ├── kitematicapp.pkg │ │ └── PackageInfo │ ├── dockerquickstartterminalapp.pkg │ │ └── PackageInfo │ ├── boot2dockeriso.pkg │ │ ├── PackageInfo │ │ └── Scripts │ │ │ └── postinstall │ └── Distribution ├── installerplugins │ ├── overviewplugin │ │ ├── en.lproj │ │ │ ├── InfoPlist.strings │ │ │ └── Localizable.strings │ │ ├── overviewpluginPane.h │ │ ├── InstallerSections.plist │ │ ├── overview.html │ │ ├── Info.plist │ │ ├── overviewpluginPane.m │ │ └── Base.lproj │ │ │ └── overviewplugin.xib │ ├── quickstartplugin │ │ ├── en.lproj │ │ │ ├── InfoPlist.strings │ │ │ └── Localizable.strings │ │ ├── kitematic.png │ │ ├── quickstart.png │ │ ├── InstallerSections.plist │ │ ├── quickstartpluginPane.h │ │ ├── Info.plist │ │ ├── quickstartpluginPane.m │ │ └── Base.lproj │ │ │ └── quickstartplugin.xib │ ├── common │ │ └── mixpanel.h │ └── installerplugins.xcodeproj │ │ └── project.pbxproj └── uninstall.sh ├── windows ├── 256-logo.xcf ├── toolbox.ico ├── windows-installer-logo.bmp ├── windows-installer-side.bmp ├── docker-quickstart-terminal.ico ├── docker-start.cmd ├── guid.iss ├── base64.iss ├── start.sh ├── modpath.iss └── Toolbox.iss ├── ROADMAP.md ├── docs ├── images │ ├── finish.png │ ├── b2d_shell.png │ ├── icon-set.png │ ├── terminal.png │ ├── installer_open.png │ ├── mac-page-two.png │ ├── virtualization.png │ ├── mac-welcome-page.png │ ├── applications_folder.png │ ├── mac-page-finished.png │ ├── mac-page-quickstart.png │ ├── mac-password-prompt.png │ └── toolbox-installer.png ├── Dockerfile ├── index.md ├── faqs │ ├── index.md │ └── troubleshoot.md ├── Makefile ├── overview.md ├── toolbox_install_mac.md └── toolbox_install_windows.md ├── versions ├── .gitignore ├── .dockerignore ├── Makefile ├── script ├── build-osx ├── build-windows ├── deploy.sh └── release.sh ├── CONTRIBUTING.md ├── MAINTAINERS ├── LICENSE ├── README.md ├── LICENSE └── ORACLE_VIRTUALBOX_LICENSE ├── .circleci └── config.yml ├── Dockerfile.windows ├── README.md └── Dockerfile.osx /osx/mpkg/quickstart.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLaplt -------------------------------------------------------------------------------- /windows/256-logo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/windows/256-logo.xcf -------------------------------------------------------------------------------- /windows/toolbox.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/windows/toolbox.ico -------------------------------------------------------------------------------- /ROADMAP.md: -------------------------------------------------------------------------------- 1 | # Docker Toolbox Roadmap 2 | 3 | ## Features 4 | 5 | * Linux support (help wanted) 6 | -------------------------------------------------------------------------------- /docs/images/finish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/finish.png -------------------------------------------------------------------------------- /docs/images/b2d_shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/b2d_shell.png -------------------------------------------------------------------------------- /docs/images/icon-set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/icon-set.png -------------------------------------------------------------------------------- /docs/images/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/terminal.png -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | InstallerSectionTitle = "Overview"; 2 | 3 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | InstallerSectionTitle = "Quick Start"; 2 | 3 | -------------------------------------------------------------------------------- /docs/images/installer_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/installer_open.png -------------------------------------------------------------------------------- /docs/images/mac-page-two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/mac-page-two.png -------------------------------------------------------------------------------- /docs/images/virtualization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/virtualization.png -------------------------------------------------------------------------------- /osx/mpkg/Resources/toolbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Resources/toolbox.png -------------------------------------------------------------------------------- /docs/images/mac-welcome-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/mac-welcome-page.png -------------------------------------------------------------------------------- /docs/images/applications_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/applications_folder.png -------------------------------------------------------------------------------- /docs/images/mac-page-finished.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/mac-page-finished.png -------------------------------------------------------------------------------- /docs/images/mac-page-quickstart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/mac-page-quickstart.png -------------------------------------------------------------------------------- /docs/images/mac-password-prompt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/mac-password-prompt.png -------------------------------------------------------------------------------- /docs/images/toolbox-installer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/docs/images/toolbox-installer.png -------------------------------------------------------------------------------- /windows/windows-installer-logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/windows/windows-installer-logo.bmp -------------------------------------------------------------------------------- /windows/windows-installer-side.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/windows/windows-installer-side.bmp -------------------------------------------------------------------------------- /osx/mpkg/Resources/en.lproj/toolbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Resources/en.lproj/toolbox.png -------------------------------------------------------------------------------- /windows/docker-quickstart-terminal.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/windows/docker-quickstart-terminal.ico -------------------------------------------------------------------------------- /windows/docker-start.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | "C:\Program Files\Git\bin\bash.exe" -c " \"/c/Program Files/Docker Toolbox/start.sh\" \"%*\"" -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | "PaneTitle" = "Overview"; -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | "PaneTitle" = "Quick Start"; -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/MacOS/applet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/MacOS/applet -------------------------------------------------------------------------------- /osx/mpkg/Resources/en.lproj/welcome.rtfd/TXT.rtf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Resources/en.lproj/welcome.rtfd/TXT.rtf -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/kitematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/installerplugins/quickstartplugin/kitematic.png -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/quickstart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/installerplugins/quickstartplugin/quickstart.png -------------------------------------------------------------------------------- /osx/mpkg/Resources/en.lproj/welcome.rtfd/toolbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Resources/en.lproj/welcome.rtfd/toolbox.png -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/applet.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/Resources/applet.icns -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/applet.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/Resources/applet.rsrc -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/Scripts/main.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/Resources/Scripts/main.scpt -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/Scripts/iterm.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/Resources/Scripts/iterm.scpt -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/description.rtfd/TXT.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf200 2 | {\fonttbl} 3 | {\colortbl;\red255\green255\blue255;} 4 | } -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/Scripts/terminal.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/quickstart.app/Contents/Resources/Scripts/terminal.scpt -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/MacOS/overviewplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/overviewplugin.bundle/Contents/MacOS/overviewplugin -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/MacOS/quickstartplugin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/MacOS/quickstartplugin -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/kitematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/kitematic.png -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/quickstart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/quickstart.png -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/Base.lproj/overviewplugin.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/Base.lproj/overviewplugin.nib -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/en.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/en.lproj/Localizable.strings -------------------------------------------------------------------------------- /docs/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM docs/base:oss 2 | MAINTAINER Docker Docs 3 | 4 | ENV PROJECT=toolbox 5 | # to get the git info for this repo 6 | COPY . /src 7 | RUN rm -rf /docs/content/$PROJECT/ 8 | COPY . /docs/content/$PROJECT/ 9 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/Base.lproj/quickstartplugin.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/docker-archive/toolbox/HEAD/osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/Base.lproj/quickstartplugin.nib -------------------------------------------------------------------------------- /versions: -------------------------------------------------------------------------------- 1 | DOCKER_RELEASE_STAGE=stable 2 | INSTALLER_VERSION=19.03.1 3 | DOCKER_VERSION=19.03.1 4 | DOCKER_COMPOSE_VERSION=1.24.1 5 | DOCKER_MACHINE_VERSION=0.16.1 6 | KITEMATIC_VERSION=0.17.9 7 | VBOX_VERSION=6.0.10 8 | VBOX_REV=132072 9 | MIXPANEL_TOKEN=c306ae65c33d7d09fe3e546f36493a6e 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # XCode projects 2 | .DS_Store 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | *.xcworkspace 13 | !default.xcworkspace 14 | xcuserdata 15 | profile 16 | *.moved-aside 17 | 18 | # output 19 | dist 20 | 21 | # release 22 | .sign 23 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # XCode projects 2 | .DS_Store 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | *.xcworkspace 13 | !default.xcworkspace 14 | xcuserdata 15 | profile 16 | *.moved-aside 17 | 18 | # Toolbox output 19 | dist 20 | 21 | # Release 22 | .sign 23 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: docs osx windows 2 | 3 | default: osx windows 4 | @true 5 | 6 | clean: clean-osx clean-windows 7 | @true 8 | 9 | osx: clean-osx 10 | ./script/build-osx 11 | 12 | windows: clean-windows 13 | ./script/build-windows 14 | 15 | clean-osx: 16 | rm -f dist/DockerToolbox-*.pkg 17 | 18 | clean-windows: 19 | rm -f dist/DockerToolbox-*.exe 20 | 21 | docs: 22 | $(MAKE) -C docs docs 23 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/overviewpluginPane.h: -------------------------------------------------------------------------------- 1 | // 2 | // overviewpluginPane.h 3 | // overviewplugin 4 | // 5 | // Created by Jeffrey Dean Morgan on 8/24/15. 6 | // Copyright (c) 2015 Docker Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface overviewpluginPane : InstallerPane 12 | @property (unsafe_unretained) IBOutlet NSTextView *textView; 13 | @property (weak) IBOutlet NSButton *checkbox; 14 | @end 15 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/InstallerSections.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SectionOrder 6 | 7 | Introduction 8 | ReadMe 9 | License 10 | overviewplugin.bundle 11 | Target 12 | PackageSelection 13 | Install 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/InstallerSections.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SectionOrder 6 | 7 | Introduction 8 | ReadMe 9 | License 10 | quickstartplugin.bundle 11 | Target 12 | PackageSelection 13 | Install 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /osx/mpkg/docker.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/InstallerSections.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SectionOrder 6 | 7 | Introduction 8 | ReadMe 9 | License 10 | overviewplugin.bundle 11 | Target 12 | PackageSelection 13 | Install 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Resources/InstallerSections.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SectionOrder 6 | 7 | Introduction 8 | ReadMe 9 | License 10 | quickstartplugin.bundle 11 | Target 12 | PackageSelection 13 | Install 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/quickstartpluginPane.h: -------------------------------------------------------------------------------- 1 | // 2 | // quickstartpluginPane.h 3 | // quickstartplugin 4 | // 5 | // Created by Jeffrey Dean Morgan on 8/19/15. 6 | // Copyright (c) 2015 Docker Inc. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface quickstartpluginPane : InstallerPane 12 | @property (weak) IBOutlet NSButton *quickstartImageView; 13 | @property (weak) IBOutlet NSButton *kitematicImageView; 14 | @property (weak) IBOutlet NSTextField *quickstartLabel; 15 | @property (weak) IBOutlet NSTextField *kitematicLabel; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/InstallerSections.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SectionOrder 6 | 7 | Introduction 8 | overviewplugin.bundle 9 | Target 10 | PackageSelection 11 | Install 12 | managevmplugin.bundle 13 | quickstartplugin.bundle 14 | Summary 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /osx/mpkg/dockercompose.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /osx/mpkg/dockermachine.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /osx/mpkg/kitematicapp.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /osx/mpkg/dockerquickstartterminalapp.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /osx/mpkg/boot2dockeriso.pkg/PackageInfo: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /script/build-osx: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | . versions 6 | docker build \ 7 | -t osx-installer \ 8 | -f Dockerfile.osx \ 9 | --build-arg DOCKER_RELEASE_STAGE="${DOCKER_RELEASE_STAGE}" \ 10 | --build-arg INSTALLER_VERSION="${INSTALLER_VERSION}" \ 11 | --build-arg DOCKER_VERSION="${DOCKER_VERSION}" \ 12 | --build-arg DOCKER_COMPOSE_VERSION="${DOCKER_COMPOSE_VERSION}" \ 13 | --build-arg DOCKER_MACHINE_VERSION="${DOCKER_MACHINE_VERSION}" \ 14 | --build-arg KITEMATIC_VERSION="${KITEMATIC_VERSION}" \ 15 | --build-arg VBOX_VERSION="${VBOX_VERSION}" \ 16 | --build-arg VBOX_REV="${VBOX_REV}" \ 17 | --build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \ 18 | . 19 | CONTAINER="$(docker create osx-installer)" 20 | mkdir -p dist 21 | docker cp "${CONTAINER}":/DockerToolbox.pkg dist/ 22 | docker rm "${CONTAINER}" 2>/dev/null || true 23 | -------------------------------------------------------------------------------- /script/build-windows: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | . versions 6 | docker build \ 7 | -t windows-installer \ 8 | -f Dockerfile.windows \ 9 | --build-arg DOCKER_RELEASE_STAGE="${DOCKER_RELEASE_STAGE}" \ 10 | --build-arg INSTALLER_VERSION="${INSTALLER_VERSION}" \ 11 | --build-arg DOCKER_VERSION="${DOCKER_VERSION}" \ 12 | --build-arg DOCKER_COMPOSE_VERSION="${DOCKER_COMPOSE_VERSION}" \ 13 | --build-arg DOCKER_MACHINE_VERSION="${DOCKER_MACHINE_VERSION}" \ 14 | --build-arg KITEMATIC_VERSION="${KITEMATIC_VERSION}" \ 15 | --build-arg VBOX_VERSION="${VBOX_VERSION}" \ 16 | --build-arg VBOX_REV="${VBOX_REV}" \ 17 | --build-arg MIXPANEL_TOKEN="${MIXPANEL_TOKEN}" \ 18 | . 19 | CONTAINER="$(docker create windows-installer)" 20 | mkdir -p dist 21 | docker cp "${CONTAINER}":/installer/Output/DockerToolbox.exe dist/ 22 | docker rm "${CONTAINER}" 2>/dev/null || true 23 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/overview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Docker Toolbox for Mac OS X 5 | 6 | 7 |
8 |

9 | The Docker Toolbox installer includes the following: 10 |

11 |
    12 |
  • Docker Client docker binary
  • 13 |
  • Docker Machine docker-machine binary
  • 14 |
  • Docker Compose docker-compose binary
  • 15 |
  • Kitematic - Desktop GUI for Docker
  • 16 |
  • Docker Quickstart Terminal app
  • 17 |
18 |
19 |

20 | The binaries are installed in the /usr/local/bin directory. 21 |

22 | 23 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Resources/overview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Docker Toolbox for Mac OS X 5 | 6 | 7 |
8 |

9 | The Docker Toolbox installer includes the following: 10 |

11 |
    12 |
  • Docker Client docker binary
  • 13 |
  • Docker Machine docker-machine binary
  • 14 |
  • Docker Compose docker-compose binary
  • 15 |
  • Kitematic - Desktop GUI for Docker
  • 16 |
  • Docker Quickstart Terminal app
  • 17 |
18 |
19 |

20 | The binaries are installed in the /usr/local/bin directory. 21 |

22 | 23 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing to Docker Toolbox 2 | ================================== 3 | 4 | The Docker Toolbox is a part of the [Docker](https://www.docker.com) project, and follows 5 | the [contributing guidelines](https://github.com/docker/docker/blob/master/CONTRIBUTING.md). If you're already familiar with the way 6 | Docker does things, you'll feel right at home. 7 | 8 | Please [sign your work](https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work) before creating a pull request. 9 | 10 | Thanks for taking the time to improve the Docker Toolbox! 11 | 12 | ## License 13 | 14 | By contributing your code, you agree to license your contribution under the [Apache license](https://github.com/docker/toolbox/blob/master/LICENSE/LICENSE). 15 | 16 | ## Diff scpt files 17 | 18 | .gitattributes 19 | ``` 20 | *.scpt diff=scpt 21 | ``` 22 | 23 | .git/config 24 | ``` 25 | [diff "scpt"] 26 | textconv = osadecompile 27 | binary = true 28 | ``` 29 | -------------------------------------------------------------------------------- /script/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # Try several times to do the build (sometimes network or other issues causes 6 | # it to fail) 7 | for i in $(seq 0 4); do 8 | echo "Trying build $i..." 9 | make clean 10 | make 11 | ( 12 | # Generate Checksum 13 | cd dist 14 | shasum -a 256 DockerToolbox* > sha256sum.txt 15 | md5sum DockerToolbox* > md5sum.txt 16 | ) 17 | if [[ $? -eq 0 ]]; then 18 | if [ ! -z "$CIRCLE_TAG" ]; then 19 | curl --header "Content-Type: application/json" \ 20 | --data "{\"build_parameters\": {\"TOOLBOX_VERSION_TAG\": \"$CIRCLE_TAG\", \"TOOLBOX_BUILD_NUM\": $CIRCLE_BUILD_NUM, \"TOOLBOX_ARTIFACTS\": \"$CIRCLE_ARTIFACTS\"}}" \ 21 | --request POST "https://circleci.com/api/v1/project/docker/toolbox-release/tree/master?circle-token=$CIRCLE_TOKEN" || true 22 | fi 23 | 24 | exit 0 25 | fi 26 | done 27 | 28 | exit 1 29 | -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Documentation that provides an overview of Docker Toolbox and installation instructions 3 | keywords: docker, documentation, about, technology, docker toolbox, gui 4 | --- 5 | 6 | > ## Deprecation Notice :warning: 7 | > 8 | > Docker Toolbox is deprecated and is no longer in active development. Please use 9 | > [Docker Desktop](https://www.docker.com/products/docker-desktop) instead where 10 | > possible. 11 | 12 | # Docker Toolbox 13 | 14 | Available for both Windows and Mac, Docker Toolbox installs the Docker Client, Machine, Compose, and Kitematic. 15 | 16 | **Learn about Docker Toolbox**. See [Docker Toolbox Overview](overview.md) for a quick tour of Toolbox, and 17 | how to get started with Docker Machine, Kitematic, and Docker Compose. 18 | 19 | **Ready to download Toolbox?** See [Install Docker Toolbox on macOS](toolbox_install_mac.md) or [Install Docker Toolbox on Windows](toolbox_install_windows.md) for download and install instructions. 20 | -------------------------------------------------------------------------------- /osx/mpkg/boot2dockeriso.pkg/Scripts/postinstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | CONSOLE_USER=$(stat -f '%Su' /dev/console) 4 | CONSOLE_USER_HOME=$(su $CONSOLE_USER -c 'echo $HOME') 5 | VM=default 6 | 7 | # Fix permissions on binaries 8 | chown -R $CONSOLE_USER:admin /usr/local/bin/docker || true 9 | chown -R $CONSOLE_USER:admin /usr/local/bin/docker-machine || true 10 | chown -R $CONSOLE_USER:admin /usr/local/bin/docker-compose || true 11 | 12 | # Place boot2docker ISO in cache & upgrade the boot2docker VM 13 | mkdir -p $CONSOLE_USER_HOME/.docker/machine/cache 14 | cp /usr/local/share/boot2docker/boot2docker.iso $CONSOLE_USER_HOME/.docker/machine/cache/boot2docker.iso 15 | 16 | if [ -d "$CONSOLE_USER_HOME/.docker/machine/machines/$VM" ] && [ -f /usr/local/bin/docker-machine ]; then 17 | sudo -i -u "$CONSOLE_USER" "/usr/local/bin/docker-machine stop $VM || true" 18 | cp /usr/local/share/boot2docker/boot2docker.iso $CONSOLE_USER_HOME/.docker/machine/machines/$VM/boot2docker.iso 19 | fi 20 | 21 | chown -R $CONSOLE_USER:staff $CONSOLE_USER_HOME/.docker 22 | 23 | -------------------------------------------------------------------------------- /osx/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Uninstall Script 4 | 5 | if [ "${USER}" != "root" ]; then 6 | echo "$0 must be run as root!" 7 | exit 2 8 | fi 9 | 10 | while true; do 11 | read -p "Remove all Docker Machine VMs? (Y/N): " yn 12 | case $yn in 13 | [Yy]* ) docker-machine rm -f $(docker-machine ls -q); break;; 14 | [Nn]* ) break;; 15 | * ) echo "Please answer yes or no."; exit 1;; 16 | esac 17 | done 18 | 19 | echo "Removing Applications..." 20 | rm -rf /Applications/Docker.app 21 | 22 | echo "Removing docker binaries..." 23 | rm -f /usr/local/bin/docker 24 | rm -f /usr/local/bin/docker-machine 25 | rm -r /usr/local/bin/docker-machine-driver* 26 | rm -f /usr/local/bin/docker-compose 27 | 28 | echo "Removing boot2docker.iso" 29 | rm -rf /usr/local/share/boot2docker 30 | 31 | echo "Forget packages" 32 | pkgutil --forget io.docker.pkg.docker 33 | pkgutil --forget io.docker.pkg.dockercompose 34 | pkgutil --forget io.docker.pkg.dockermachine 35 | pkgutil --forget io.boot2dockeriso.pkg.boot2dockeriso 36 | 37 | echo "All Done!" 38 | -------------------------------------------------------------------------------- /docs/faqs/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: FAQs, troubleshooting, and tips index for Toolbox installs 3 | identifier: toolbox_overview_faqs 4 | keywords: docker, documentation, about, technology, kitematic, gui, toolbox 5 | --- 6 | 7 | > ## Deprecation Notice :warning: 8 | > 9 | > Docker Toolbox is deprecated and is no longer in active development. Please use 10 | > [Docker Desktop](https://www.docker.com/products/docker-desktop) instead where 11 | > possible. 12 | 13 | # FAQs and Troubleshooting 14 | 15 | This is a frequently asked questions (FAQs) and troubleshooting guide for non-technical users who are learning about Docker, starting with [Docker Toolbox](https://www.docker.com/products/docker-toolbox). 16 | 17 | By following the getting started, you'll learn fundamental Docker features by performing some simple tasks. 18 | 19 | In the process of installing and setting up Docker, you might run into problems or have questions about configuration and setup. 20 | 21 | * _**Looking for help with error messages?**_ Go to [Troubleshooting](troubleshoot.md). 22 | 23 |   24 | -------------------------------------------------------------------------------- /MAINTAINERS: -------------------------------------------------------------------------------- 1 | # Toolbox maintainers file 2 | # 3 | # This file describes who runs the docker/toolbox project and how. 4 | # This is a living document - if you see something out of date or missing, speak up! 5 | # 6 | # It is structured to be consumable by both humans and programs. 7 | # To extract its contents programmatically, use any TOML-compliant parser. 8 | # 9 | # This file is compiled into the MAINTAINERS file in docker/opensource. 10 | # 11 | [Org] 12 | [Org."Core maintainers"] 13 | people = [ 14 | "jeffdm", 15 | "lisean106", 16 | "mchiang0610", 17 | ] 18 | 19 | [people] 20 | 21 | # A reference list of all people associated with the project. 22 | # All other sections should refer to people by their canonical key 23 | # in the people section. 24 | 25 | # ADD YOURSELF HERE IN ALPHABETICAL ORDER 26 | 27 | [people.jeffdm] 28 | Name = "Jeff Morgan" 29 | Email = "jmorgan@docker.com" 30 | GitHub = "jeffdm" 31 | 32 | [people.lisean106] 33 | Name = "Sean Li" 34 | Email = "sean@docker.com" 35 | GitHub = "lisean106" 36 | 37 | [people.mchiang0610] 38 | Name = "Michael Chiang" 39 | Email = "mchiang@docker.com" 40 | GitHub = "mchiang0610" 41 | -------------------------------------------------------------------------------- /windows/guid.iss: -------------------------------------------------------------------------------- 1 | // Licensed under Creative Commons Attribution-ShareAlike 3.0 Unported 2 | // Source: http://stackoverflow.com/questions/1347083/how-to-generate-a-new-guid-in-inno-setup 3 | 4 | function CoCreateGuid(var Guid:TGuid):integer; 5 | external 'CoCreateGuid@ole32.dll stdcall'; 6 | 7 | function inttohex(l:longword; digits:integer):string; 8 | var hexchars:string; 9 | begin 10 | hexchars:='0123456789ABCDEF'; 11 | setlength(result,digits); 12 | while (digits>0) do begin 13 | result[digits]:=hexchars[l mod 16+1]; 14 | l:=l div 16; 15 | digits:=digits-1; 16 | end; 17 | end; 18 | 19 | function GetGuid(dummy:string):string; 20 | var Guid:TGuid; 21 | begin 22 | if CoCreateGuid(Guid)=0 then begin 23 | result:='{'+IntToHex(Guid.D1,8)+'-'+ 24 | IntToHex(Guid.D2,4)+'-'+ 25 | IntToHex(Guid.D3,4)+'-'+ 26 | IntToHex(Guid.D4[0],2)+IntToHex(Guid.D4[1],2)+'-'+ 27 | IntToHex(Guid.D4[2],2)+IntToHex(Guid.D4[3],2)+ 28 | IntToHex(Guid.D4[4],2)+IntToHex(Guid.D4[5],2)+ 29 | IntToHex(Guid.D4[6],2)+IntToHex(Guid.D4[7],2)+ 30 | '}'; 31 | end else 32 | result:='{00000000-0000-0000-0000-000000000000}'; 33 | end; 34 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | Installer Version 24 | %INSTALLER_VERSION% 25 | InstallerSectionTitle 26 | Overview 27 | Mixpanel Token 28 | %MIXPANEL_TOKEN% 29 | NSHumanReadableCopyright 30 | Copyright © 2015 Docker Inc. All rights reserved. 31 | NSMainNibFile 32 | overviewplugin 33 | NSPrincipalClass 34 | InstallerSection 35 | 36 | 37 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | Installer Version 24 | %INSTALLER_VERSION% 25 | InstallerSectionTitle 26 | quickstartplugin 27 | Mixpanel Token 28 | %MIXPANEL_TOKEN% 29 | NSHumanReadableCopyright 30 | Copyright © 2015 Docker Inc. All rights reserved. 31 | NSMainNibFile 32 | quickstartplugin 33 | NSPrincipalClass 34 | InstallerSection 35 | 36 | 37 | -------------------------------------------------------------------------------- /LICENSE/README.md: -------------------------------------------------------------------------------- 1 | ## License 2 | 3 | Docker Toolbox code is licensed under the Apache License, Version 2.0. See [LICENSE](https://github.com/docker/toolbox/blob/master/LICENSE/LICENSE) for the full license text. 4 | 5 | Docker Toolbox Logo and all other related Docker artwork © Docker, Inc. 2015. All rights reserved; not licensed for third party use. 6 | 7 | Oracle VirtualBox – A powerful virtualization product for enterprise as well as home use. Copyright (C) 2004-2015 Oracle Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 8 | 9 | Oracle VirtualBox is licensed under GPL 2.0 license. See [ORACLE VIRTUALBOX LICENSE](https://github.com/docker/toolbox/blob/master/LICENSE/ORACLE_VIRTUALBOX_LICENSE) for the full license text. 10 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | jobs: 3 | build: 4 | docker: 5 | - image: circleci/buildpack-deps:xenial-scm 6 | steps: 7 | - checkout 8 | - setup_remote_docker: 9 | docker_layer_caching: false 10 | - run: 11 | name: Install make 12 | command: sudo apt-get install make 13 | - run: 14 | name: Build OSX binary 15 | command: make osx 16 | - run: 17 | name: Build Windows binary 18 | command: make windows 19 | - store_artifacts: &artifacts 20 | path: ~/project/dist 21 | destination: dist 22 | 23 | deploy: 24 | docker: 25 | - image: circleci/buildpack-deps:xenial-scm 26 | steps: 27 | - checkout 28 | - setup_remote_docker: 29 | docker_layer_caching: false 30 | - run: 31 | name: Install make 32 | command: sudo apt-get install make 33 | - run: 34 | name: Run deploy script 35 | command: ./script/deploy.sh 36 | - store_artifacts: *artifacts 37 | 38 | 39 | 40 | workflows: 41 | version: 2 42 | build_deploy_switch: 43 | jobs: 44 | - build: 45 | filters: 46 | tags: 47 | ignore: /^v.*/ 48 | - deploy: 49 | filters: 50 | tags: 51 | only: /^v.*/ 52 | branches: 53 | ignore: /.*/ 54 | -------------------------------------------------------------------------------- /windows/base64.iss: -------------------------------------------------------------------------------- 1 | // Source: http://www.vincenzo.net/isxkb/index.php?title=Encode/Decode_Base64 2 | const Codes64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; 3 | 4 | function Encode64(S: AnsiString): AnsiString; 5 | var 6 | i: Integer; 7 | a: Integer; 8 | x: Integer; 9 | b: Integer; 10 | begin 11 | Result := ''; 12 | a := 0; 13 | b := 0; 14 | for i := 1 to Length(s) do 15 | begin 16 | x := Ord(s[i]); 17 | b := b * 256 + x; 18 | a := a + 8; 19 | while (a >= 6) do 20 | begin 21 | a := a - 6; 22 | x := b div (1 shl a); 23 | b := b mod (1 shl a); 24 | Result := Result + copy(Codes64,x + 1,1); 25 | end; 26 | end; 27 | if a > 0 then 28 | begin 29 | x := b shl (6 - a); 30 | Result := Result + copy(Codes64,x + 1,1); 31 | end; 32 | a := Length(Result) mod 4; 33 | if a = 2 then 34 | Result := Result + '==' 35 | else if a = 3 then 36 | Result := Result + '='; 37 | 38 | end; 39 | 40 | function Decode64(S: AnsiString): AnsiString; 41 | var 42 | i: Integer; 43 | a: Integer; 44 | x: Integer; 45 | b: Integer; 46 | begin 47 | Result := ''; 48 | a := 0; 49 | b := 0; 50 | for i := 1 to Length(s) do 51 | begin 52 | x := Pos(s[i], codes64) - 1; 53 | if x >= 0 then 54 | begin 55 | b := b * 64 + x; 56 | a := a + 6; 57 | if a >= 8 then 58 | begin 59 | a := a - 8; 60 | x := b shr a; 61 | b := b mod (1 shl a); 62 | x := x mod 256; 63 | Result := Result + chr(x); 64 | end; 65 | end 66 | else 67 | Exit; // finish at unknown 68 | end; 69 | end; 70 | -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleAllowMixedLocalizations 6 | 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | applet 11 | CFBundleIconFile 12 | applet 13 | CFBundleIdentifier 14 | com.apple.ScriptEditor.id.dockerquickstartterminalapp 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Docker Quickstart Terminal 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | 1.3.0 23 | CFBundleSignature 24 | aplt 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | x86_64 28 | 10.6 29 | 30 | LSRequiresCarbon 31 | 32 | NSHumanReadableCopyright 33 | Docker Inc 34 | WindowState 35 | 36 | dividerCollapsed 37 | 38 | eventLogLevel 39 | -1 40 | name 41 | ScriptWindowState 42 | positionOfDivider 43 | 441 44 | savedFrame 45 | 832 234 942 765 0 0 1920 1058 46 | selectedTabView 47 | event log 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: all default docs docs-build docs-shell shell test 2 | 3 | # to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs) 4 | DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR)) 5 | 6 | # to allow `make DOCSPORT=9000 docs` 7 | DOCSPORT := 8000 8 | 9 | # Get the IP ADDRESS 10 | DOCKER_IP=$(shell python -c "import urlparse ; print urlparse.urlparse('$(DOCKER_HOST)').hostname or ''") 11 | HUGO_BASE_URL=$(shell test -z "$(DOCKER_IP)" && echo localhost || echo "$(DOCKER_IP)") 12 | HUGO_BIND_IP=0.0.0.0 13 | 14 | GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null) 15 | DOCKER_IMAGE := docker$(if $(GIT_BRANCH),:$(GIT_BRANCH)) 16 | DOCKER_DOCS_IMAGE := docs-base$(if $(GIT_BRANCH),:$(GIT_BRANCH)) 17 | 18 | 19 | DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT) -e AWS_S3_BUCKET -e NOCACHE 20 | 21 | # for some docs workarounds (see below in "docs-build" target) 22 | GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null) 23 | 24 | default: docs 25 | 26 | docs: docs-build 27 | $(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP) 28 | 29 | docs-draft: docs-build 30 | $(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --buildDrafts="true" --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP) 31 | 32 | 33 | docs-shell: docs-build 34 | $(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash 35 | 36 | test: docs-build 37 | $(DOCKER_RUN_DOCS) "$(DOCKER_DOCS_IMAGE)" 38 | 39 | docs-build: 40 | docker build -t "$(DOCKER_DOCS_IMAGE)" . 41 | -------------------------------------------------------------------------------- /docs/overview.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Documentation that provides an overview of Toolbox 3 | keywords: docker, documentation, about, technology, kitematic, gui, toolbox 4 | --- 5 | 6 | > ## Deprecation Notice :warning: 7 | > 8 | > Docker Toolbox is deprecated and is no longer in active development. Please use 9 | > [Docker Desktop](https://www.docker.com/products/docker-desktop) instead where 10 | > possible. 11 | 12 | # Docker Toolbox overview 13 | 14 | Docker Toolbox is an installer for quick setup and launch of a Docker environment on older Mac and Windows systems that do not meet the requirements of the new [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) and [Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/) apps. 15 | 16 | ![Toolbox installer](images/toolbox-installer.png) 17 | 18 | ## What's in the box 19 | 20 | Toolbox includes these Docker tools: 21 | 22 | * Docker Machine for running `docker-machine` commands 23 | 24 | * Docker Engine for running the `docker` commands 25 | 26 | * Docker Compose for running the `docker-compose` commands 27 | 28 | * Kitematic, the Docker GUI 29 | 30 | * a shell preconfigured for a Docker command-line environment 31 | 32 | * Oracle VirtualBox 33 | 34 | You can find various versions of the tools on [Toolbox Releases](https://github.com/docker/toolbox/releases) or run them with the `--version` flag in the terminal, for example, `docker-compose --version`. 35 | 36 | 37 | ## Ready to get started? 38 | 39 | Choose the install instructions for your platform, and follow the steps: 40 | 41 | - [Install Docker Toolbox for macOS](toolbox_install_mac.md) 42 | 43 | - [Install Docker Toolbox for Windows](toolbox_install_windows.md) 44 | 45 | -------------------------------------------------------------------------------- /script/release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | if [ -z "${GITHUB_TOKEN}" ]; 6 | then 7 | echo "Must specify GITHUB_TOKEN." 8 | exit 1 9 | fi 10 | 11 | . versions 12 | TAG="v${INSTALLER_VERSION}" 13 | REMOTE="git@github.com:docker/toolbox" 14 | command -v go >/dev/null || { echo "go (https://golang.org/doc/install) needs to be installed"; exit 1; } 15 | go get -u github.com/aktau/github-release 16 | 17 | case $1 in 18 | create) 19 | git fetch --tags "${REMOTE}" 20 | git tag "${TAG}" 21 | git push "${REMOTE}" "${TAG}" 22 | 23 | github-release release \ 24 | --user docker \ 25 | --repo toolbox \ 26 | --tag "${TAG}" \ 27 | --name "${TAG}" \ 28 | --description "Please ensure that your system has all of the latest updates before attempting the installation. In some cases, this will require a reboot. If you run into issues creating VMs, you may need to uninstall VirtualBox before re-installing the Docker Toolbox. 29 | 30 | The following list of components is included with this Toolbox release. If you have a previously installed version of Toolbox, these installers will update the components to these versions. 31 | 32 | **Included Components** 33 | - docker \`${DOCKER_VERSION}\` 34 | - docker-machine \`${DOCKER_MACHINE_VERSION}\` 35 | - docker-compose \`${DOCKER_COMPOSE_VERSION}\` 36 | - Kitematic \`${KITEMATIC_VERSION}\` 37 | - Boot2Docker ISO \`${DOCKER_VERSION}\` 38 | - VirtualBox \`${VBOX_VERSION}\`" \ 39 | --pre-release 40 | ;; 41 | rm) 42 | git tag -d "${TAG}" || true 43 | git push "${REMOTE}" ":${TAG}" || true 44 | github-release delete \ 45 | --user docker \ 46 | --repo toolbox \ 47 | --tag "${TAG}" || true 48 | ;; 49 | *) 50 | echo "Usage: ./script/release.sh [create|rm]" 51 | exit 1 52 | esac 53 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/overviewplugin.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 15D21 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | overviewplugin 11 | CFBundleIdentifier 12 | com.docker.overviewplugin 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | overviewplugin 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 7C1002 33 | DTPlatformVersion 34 | GM 35 | DTSDKBuild 36 | 15C43 37 | DTSDKName 38 | macosx10.11 39 | DTXcode 40 | 0721 41 | DTXcodeBuild 42 | 7C1002 43 | Installer Version 44 | %INSTALLER_VERSION% 45 | InstallerSectionTitle 46 | Overview 47 | Mixpanel Token 48 | %MIXPANEL_TOKEN% 49 | NSHumanReadableCopyright 50 | Copyright © 2015 Docker Inc. All rights reserved. 51 | NSMainNibFile 52 | overviewplugin 53 | NSPrincipalClass 54 | InstallerSection 55 | 56 | 57 | -------------------------------------------------------------------------------- /osx/mpkg/Plugins/quickstartplugin.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 15D21 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | quickstartplugin 11 | CFBundleIdentifier 12 | com.docker.quickstartplugin 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | quickstartplugin 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleSupportedPlatforms 24 | 25 | MacOSX 26 | 27 | CFBundleVersion 28 | 1 29 | DTCompiler 30 | com.apple.compilers.llvm.clang.1_0 31 | DTPlatformBuild 32 | 7C1002 33 | DTPlatformVersion 34 | GM 35 | DTSDKBuild 36 | 15C43 37 | DTSDKName 38 | macosx10.11 39 | DTXcode 40 | 0721 41 | DTXcodeBuild 42 | 7C1002 43 | Installer Version 44 | %INSTALLER_VERSION% 45 | InstallerSectionTitle 46 | quickstartplugin 47 | Mixpanel Token 48 | %MIXPANEL_TOKEN% 49 | NSHumanReadableCopyright 50 | Copyright © 2015 Docker Inc. All rights reserved. 51 | NSMainNibFile 52 | quickstartplugin 53 | NSPrincipalClass 54 | InstallerSection 55 | 56 | 57 | -------------------------------------------------------------------------------- /osx/mpkg/Resources/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | 'docker_title' = 'Docker Toolbox'; 2 | 3 | 'choiceDockerCLI_title' = 'Docker Client %DOCKER_VERSION%'; 4 | 'choiceDockerCLI_msg' = 'Installs the Docker Client for Mac OS X into /usr/local/bin/'; 5 | 6 | 'choiceDockerMachineCLI_title' = 'Docker Machine %DOCKERMACHINE_VERSION%'; 7 | 'choiceDockerMachineCLI_msg' = 'Installs the Docker Machine binaries into /usr/local/bin/'; 8 | 9 | 'choiceDockerComposeCLI_title' = 'Docker Compose %DOCKERCOMPOSE_VERSION%'; 10 | 'choiceDockerComposeCLI_msg' = 'Installs the Docker Compose binary into /usr/local/bin/'; 11 | 12 | 'choiceBoot2DockerISO_title' = 'Boot2Docker ISO %BOOT2DOCKER_ISO_VERSION%'; 13 | 'choiceBoot2DockerISO_msg' = 'Installs the boot2docker.iso into /usr/local/share/'; 14 | 15 | 'choiceDockerQuickstartTerminalAPP_title' = 'Docker Quickstart Terminal'; 16 | 'choiceDockerQuickstartTerminalAPP_msg' = 'Installs the Docker Quickstart Terminal application into /Applications/Docker/'; 17 | 18 | 'choiceKitematicAPP_title' = 'Docker Kitematic %KITEMATICAPP_VERSION%'; 19 | 'choiceKitematicAPP_msg' = 'Installs Kitematic into /Applications/Docker/'; 20 | 21 | 'choiceVBox_title' = 'Oracle VM VirtualBox %VBOX_VERSION%'; 22 | 'choiceVBox_msg' = 'Installs or Upgrades the Oracle VM VirtualBox application into /Applications if it is not already installed.'; 23 | 24 | 'RUNNING_VMS_TLE' = "Please Quit VirtualBox!"; 25 | 'RUNNING_VMS_MSG' = "The installer has detected that VirtualBox is out of date, and is still running. Please shut down all VMs, quit VirtualBox, and then restart the Docker Toolbox installation."; 26 | 27 | 'UNSUPPORTED_HW_MACHINE_TLE' = "Unsupported hardware architecture detected!"; 28 | 'UNSUPPORTED_HW_MACHINE_MSG' = "The installer has detected an unsupported architecture. VirtualBox only runs on the x86 and amd64 architectures."; 29 | 30 | 'UNSUPPORTED_OS_TLE' = "Unsupported OS version detected!"; 31 | 'UNSUPPORTED_OS_MSG' = "The installer has detected an unsupported operation system. Please upgrade to Mac OS X 10.8 or later."; 32 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/overviewpluginPane.m: -------------------------------------------------------------------------------- 1 | // 2 | // overviewpluginPane.m 3 | // overviewplugin 4 | // 5 | // Created by Jeffrey Dean Morgan on 8/24/15. 6 | // Copyright (c) 2015 Docker Inc. All rights reserved. 7 | // 8 | 9 | #import "overviewpluginPane.h" 10 | #import "mixpanel.h" 11 | 12 | @interface overviewpluginPane() 13 | @property BOOL firstTime; 14 | @end 15 | 16 | @implementation overviewpluginPane 17 | 18 | - (id) init { 19 | self.firstTime = YES; 20 | self = [super init]; 21 | return self; 22 | } 23 | 24 | - (NSString *)title { 25 | return [[NSBundle bundleForClass:[self class]] localizedStringForKey:@"PaneTitle" value:nil table:nil]; 26 | } 27 | 28 | - (void) willEnterPane:(InstallerSectionDirection)dir { 29 | NSURL *url = [[[self section] bundle] URLForResource:@"overview" withExtension:@"html"]; 30 | NSMutableAttributedString *formattedHTML = [[NSMutableAttributedString alloc] initWithURL:url documentAttributes:nil]; 31 | [formattedHTML addAttribute:NSFontAttributeName value:[NSFont systemFontOfSize:13.0f] range:NSMakeRange(0, formattedHTML.length)]; 32 | 33 | [[self.textView textStorage] setAttributedString:formattedHTML]; 34 | if (self.firstTime) { 35 | [Mixpanel trackEvent:@"Installer Started" forPane:self]; 36 | self.firstTime = NO; 37 | } 38 | } 39 | 40 | - (void) willExitPane:(InstallerSectionDirection)dir { 41 | if (dir != InstallerDirectionForward) { 42 | return; 43 | } 44 | 45 | BOOL enabled = self.checkbox.state == NSOnState; 46 | [Mixpanel trackEvent:@"Continued from Overview" forPane:self withProperties:[[NSDictionary alloc] initWithObjectsAndKeys:enabled ? @"Yes" : @"No", @"Tracking Enabled", nil]]; 47 | NSError *error = nil; 48 | 49 | if (!enabled) { 50 | [[[self section] sharedDictionary] setObject:[NSNumber numberWithBool:YES] forKey:@"disableTracking"]; 51 | [[NSFileManager defaultManager] removeItemAtPath:[NSString stringWithFormat:@"%@/.docker/machine/no-error-report", NSHomeDirectory()] error:&error]; 52 | } else { 53 | [[[self section] sharedDictionary] removeObjectForKey:@"disableTracking"]; 54 | [[NSFileManager defaultManager] createDirectoryAtPath:[NSString stringWithFormat:@"%@/.docker/machine", NSHomeDirectory()] withIntermediateDirectories:YES attributes:nil error:&error]; 55 | [[NSFileManager defaultManager] createFileAtPath:[NSString stringWithFormat:@"%@/.docker/machine/no-error-report", NSHomeDirectory()] contents:[@"" dataUsingEncoding:NSUTF8StringEncoding] attributes:nil]; 56 | } 57 | 58 | } 59 | 60 | @end 61 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/quickstartpluginPane.m: -------------------------------------------------------------------------------- 1 | // 2 | // quickstartpluginPane.m 3 | // quickstartplugin 4 | // 5 | // Created by Jeffrey Dean Morgan on 8/19/15. 6 | // Copyright (c) 2015 Docker Inc. All rights reserved. 7 | // 8 | 9 | #import "quickstartpluginPane.h" 10 | #import "mixpanel.h" 11 | 12 | @implementation quickstartpluginPane 13 | 14 | - (NSString *)title { 15 | return [[NSBundle bundleForClass:[self class]] localizedStringForKey:@"PaneTitle" value:nil table:nil]; 16 | } 17 | 18 | - (void) didEnterPane:(InstallerSectionDirection)dir { 19 | self.previousEnabled = NO; 20 | [Mixpanel trackEvent:@"Installing Files Succeeded" forPane:self]; 21 | } 22 | 23 | - (void) willEnterPane:(InstallerSectionDirection)dir { 24 | BOOL kitematicInstalled = [[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/Docker/Kitematic (Beta).app"]; 25 | BOOL quickstartInstalled = [[NSFileManager defaultManager] fileExistsAtPath:@"/Applications/Docker/Docker Quickstart Terminal.app"]; 26 | 27 | self.kitematicImageView.image = [[NSImage alloc] initWithContentsOfFile:[[NSBundle bundleForClass:[self class]] pathForResource:@"kitematic" ofType:@"png"]]; 28 | self.quickstartImageView.image = [[NSImage alloc] initWithContentsOfFile:[[NSBundle bundleForClass:[self class]] pathForResource:@"quickstart" ofType:@"png"]]; 29 | 30 | if (!kitematicInstalled) { 31 | self.kitematicImageView.enabled = NO; 32 | self.kitematicLabel.enabled = NO; 33 | } 34 | 35 | if (!quickstartInstalled) { 36 | self.quickstartImageView.enabled = NO; 37 | self.quickstartLabel.enabled = NO; 38 | } 39 | 40 | if (dir == InstallerDirectionForward && !kitematicInstalled && !quickstartInstalled) { 41 | [self gotoNextPane]; 42 | } 43 | } 44 | 45 | - (void) willExitPane:(InstallerSectionDirection)dir { 46 | if (dir == InstallerDirectionForward) { 47 | [Mixpanel trackEvent:@"Installer Finished" forPane:self withProperties:[[NSDictionary alloc] initWithObjectsAndKeys:@"Continue Button", @"action", nil]]; 48 | } 49 | } 50 | 51 | - (IBAction)quickstartTerminalClicked:(id)sender { 52 | [Mixpanel trackEvent:@"Installer Finished" forPane:self withProperties:[[NSDictionary alloc] initWithObjectsAndKeys:@"Quickstart Terminal", @"action", nil]]; 53 | NSTask *task = [[NSTask alloc] init]; 54 | task.launchPath = @"/usr/bin/open"; 55 | task.arguments = @[@"/Applications/Docker/Docker Quickstart Terminal.app"]; 56 | [task launch]; 57 | } 58 | 59 | - (IBAction)kitematicClicked:(id)sender { 60 | [Mixpanel trackEvent:@"Installer Finished" forPane:self withProperties:[[NSDictionary alloc] initWithObjectsAndKeys:@"Kitematic", @"action", nil]]; 61 | [[NSWorkspace sharedWorkspace] launchApplication:@"Kitematic (Beta)"]; 62 | } 63 | 64 | @end 65 | -------------------------------------------------------------------------------- /osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | VM=default 4 | DOCKER_MACHINE=/usr/local/bin/docker-machine 5 | VBOXMANAGE=/Applications/VirtualBox.app/Contents/MacOS/VBoxManage 6 | 7 | BLUE='\033[0;34m' 8 | GREEN='\033[0;32m' 9 | NC='\033[0m' 10 | 11 | unset DYLD_LIBRARY_PATH 12 | unset LD_LIBRARY_PATH 13 | 14 | #clear all_proxy if not socks address 15 | if [[ $ALL_PROXY != socks* ]]; then 16 | unset ALL_PROXY 17 | fi 18 | if [[ $all_proxy != socks* ]]; then 19 | unset all_proxy 20 | fi 21 | 22 | clear 23 | 24 | if [ ! -f "${DOCKER_MACHINE}" ]; then 25 | echo "Docker Machine is not installed. Please re-run the Toolbox Installer and try again." 26 | exit 1 27 | fi 28 | 29 | if [ ! -f "${VBOXMANAGE}" ]; then 30 | echo "VirtualBox is not installed. Please re-run the Toolbox Installer and try again." 31 | exit 1 32 | fi 33 | 34 | "${VBOXMANAGE}" list vms | grep \""${VM}"\" &> /dev/null 35 | VM_EXISTS_CODE=$? 36 | 37 | if [ $VM_EXISTS_CODE -eq 1 ]; then 38 | "${DOCKER_MACHINE}" rm -f "${VM}" &> /dev/null 39 | rm -rf ~/.docker/machine/machines/"${VM}" 40 | #set proxy variables inside virtual docker machine if they exist in host environment 41 | if [ "${HTTP_PROXY}" ]; then 42 | PROXY_ENV="$PROXY_ENV --engine-env HTTP_PROXY=$HTTP_PROXY" 43 | fi 44 | if [ "${HTTPS_PROXY}" ]; then 45 | PROXY_ENV="$PROXY_ENV --engine-env HTTPS_PROXY=$HTTPS_PROXY" 46 | fi 47 | if [ "${NO_PROXY}" ]; then 48 | PROXY_ENV="$PROXY_ENV --engine-env NO_PROXY=$NO_PROXY" 49 | fi 50 | "${DOCKER_MACHINE}" create -d virtualbox $PROXY_ENV --virtualbox-memory 2048 --virtualbox-disk-size 204800 "${VM}" 51 | fi 52 | 53 | VM_STATUS="$( set +e ; ${DOCKER_MACHINE} status ${VM} )" 54 | if [ "${VM_STATUS}" != "Running" ]; then 55 | "${DOCKER_MACHINE}" start "${VM}" 56 | yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}" 57 | fi 58 | 59 | eval "$(${DOCKER_MACHINE} env --shell=bash --no-proxy ${VM})" 60 | 61 | clear 62 | cat << EOF 63 | 64 | 65 | ## . 66 | ## ## ## == 67 | ## ## ## ## ## === 68 | /"""""""""""""""""\___/ === 69 | ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ 70 | \______ o __/ 71 | \ \ __/ 72 | \____\_______/ 73 | 74 | 75 | EOF 76 | echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}${VM}${NC} machine with IP ${GREEN}$(${DOCKER_MACHINE} ip ${VM})${NC}" 77 | echo "For help getting started, check out the docs at https://docs.docker.com" 78 | echo 79 | 80 | USER_SHELL="$(dscl /Search -read /Users/${USER} UserShell | awk '{print $2}' | head -n 1)" 81 | if [[ "${USER_SHELL}" == *"/bash"* ]] || [[ "${USER_SHELL}" == *"/zsh"* ]] || [[ "${USER_SHELL}" == *"/sh"* ]]; then 82 | "${USER_SHELL}" --login 83 | else 84 | "${USER_SHELL}" 85 | fi 86 | -------------------------------------------------------------------------------- /Dockerfile.windows: -------------------------------------------------------------------------------- 1 | FROM dockercore/golang-cross:latest 2 | 3 | ENV DEBIAN_FRONTEND noninteractive 4 | 5 | ARG DOCKER_RELEASE_STAGE 6 | ARG INSTALLER_VERSION 7 | ARG DOCKER_VERSION 8 | ARG DOCKER_COMPOSE_VERSION 9 | ARG DOCKER_MACHINE_VERSION 10 | ARG KITEMATIC_VERSION 11 | ARG VBOX_VERSION 12 | ARG VBOX_REV 13 | ARG MIXPANEL_TOKEN 14 | 15 | RUN dpkg --add-architecture i386 16 | RUN sed -i "s/main/main contrib non-free/" /etc/apt/sources.list 17 | RUN apt-get update && apt-get install -yq wine curl unrar unzip 18 | 19 | # innosetup 20 | RUN mkdir /innosetup && \ 21 | cd /innosetup && \ 22 | curl -fsSL -o innounp045.rar "https://downloads.sourceforge.net/project/innounp/innounp/innounp%200.45/innounp045.rar?r=&ts=1439566551&use_mirror=skylineservers" && \ 23 | unrar e innounp045.rar 24 | 25 | RUN cd /innosetup && \ 26 | curl -fsSL -o is-unicode.exe http://files.jrsoftware.org/is/5/isetup-5.5.8-unicode.exe && \ 27 | wine "./innounp.exe" -e "is-unicode.exe" 28 | 29 | ENV GIT_VERSION 2.9.0 30 | 31 | # Build CLI binary 32 | RUN mkdir -p /go/src/github.com/docker/ 33 | 34 | RUN git clone https://github.com/docker/docker-ce.git /docker-ce && \ 35 | cd /docker-ce && \ 36 | git checkout "v${DOCKER_VERSION}" && \ 37 | cp -R components/cli /go/src/github.com/docker/ 38 | 39 | WORKDIR /go/src/github.com/docker/cli 40 | RUN VERSION=$DOCKER_VERSION GITCOMMIT=$(cd /docker-ce && git rev-parse --short HEAD) ./scripts/build/windows 41 | 42 | # Assemble bundle 43 | RUN mkdir /bundle 44 | 45 | WORKDIR /bundle 46 | 47 | RUN cp /go/src/github.com/docker/cli/build/docker-windows-amd64 docker.exe 48 | 49 | RUN curl -fsSL -o docker-machine.exe "https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_VERSION/docker-machine-Windows-x86_64.exe" 50 | 51 | RUN curl -fsSL -o docker-compose.exe "https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-Windows-x86_64.exe" 52 | 53 | RUN curl -fsSL -o boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v$DOCKER_VERSION/boot2docker.iso 54 | 55 | RUN curl -fsSL -o kitematic.zip "https://github.com/kitematic/kitematic/releases/download/v$KITEMATIC_VERSION/Kitematic-$KITEMATIC_VERSION-Windows.zip" && \ 56 | mkdir kitematic && \ 57 | cd kitematic && \ 58 | unzip ../kitematic.zip && \ 59 | rm ../kitematic.zip 60 | RUN curl -fsSL -o Git.exe "https://github.com/git-for-windows/git/releases/download/v$GIT_VERSION.windows.1/Git-$GIT_VERSION-64-bit.exe" 61 | RUN curl -fsSL -o virtualbox.exe "http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VirtualBox-$VBOX_VERSION-$VBOX_REV-Win.exe" \ 62 | && echo "$(curl -fsSL 'https://virtualbox.org/download/hashes/'"$VBOX_VERSION"'/SHA256SUMS' | awk '$2 ~ /-Win.exe$/ { print $1 }') *virtualbox.exe" | sha256sum -c - 63 | RUN wine virtualbox.exe -extract -silent -path . && \ 64 | rm virtualbox.exe && \ 65 | rm *x86.msi && \ 66 | mv *_amd64.msi VirtualBox_amd64.msi 67 | 68 | # Add installer resources 69 | COPY windows /installer 70 | 71 | WORKDIR /installer 72 | RUN rm -rf /tmp/.wine-0/ 73 | RUN wine ../innosetup/ISCC.exe Toolbox.iss /DMyAppVersion=$INSTALLER_VERSION /DMixpanelToken=$MIXPANEL_TOKEN 74 | -------------------------------------------------------------------------------- /osx/installerplugins/common/mixpanel.h: -------------------------------------------------------------------------------- 1 | // 2 | // mixpanel.h 3 | // installerplugins 4 | // 5 | // Created by Jeffrey Dean Morgan on 8/19/15. 6 | // Copyright (c) 2015 Docker Inc. All rights reserved. 7 | // 8 | 9 | #ifndef installerplugins_mixpanel_h 10 | #define installerplugins_mixpanel_h 11 | 12 | #import 13 | 14 | @interface Mixpanel : NSObject 15 | 16 | + (void) trackEvent:(NSString *)name forPane:(InstallerPane*)pane; 17 | 18 | @end 19 | 20 | @implementation Mixpanel 21 | 22 | + (NSString *) uuid { 23 | NSString *appPath = [NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES) objectAtIndex:0]; 24 | NSString *appDirPath = [NSString pathWithComponents:[NSArray arrayWithObjects:appPath, @"DockerToolbox", nil]]; 25 | NSString *appFilePath = [NSString pathWithComponents:[NSArray arrayWithObjects:appDirPath, @"id", nil]]; 26 | 27 | NSString *uuid = [NSString stringWithContentsOfFile:appFilePath encoding:NSUTF8StringEncoding error:nil]; 28 | if (!uuid || ![uuid length]) { 29 | uuid = [[NSUUID UUID] UUIDString]; 30 | [[NSFileManager defaultManager] createDirectoryAtPath:appDirPath withIntermediateDirectories:YES attributes:nil error:nil]; 31 | [uuid writeToFile:appFilePath atomically:YES encoding:NSUTF8StringEncoding error:nil]; 32 | } 33 | 34 | return uuid; 35 | } 36 | 37 | + (void) trackEvent:(NSString *)name forPane:(InstallerPane*)pane withProperties:(NSDictionary *)properties { 38 | BOOL trackingDisabled = [[[[pane section] sharedDictionary] objectForKey:@"disableTracking"] boolValue]; 39 | if (trackingDisabled) { 40 | return; 41 | } 42 | 43 | NSString *uuid = [self uuid]; 44 | if (!uuid) { 45 | return; 46 | } 47 | 48 | NSString *props = @""; 49 | for (NSString *key in properties) { 50 | props = [props stringByAppendingFormat:@",\"%@\": \"%@\"", key, [properties objectForKey:key]]; 51 | } 52 | 53 | NSString *osVersion = [@"Mac OS X " stringByAppendingString:[[[[NSProcessInfo processInfo] operatingSystemVersionString] componentsSeparatedByString:@" "] objectAtIndex:1]]; 54 | 55 | NSBundle* bundle = [[pane section] bundle]; 56 | NSString* token = [bundle objectForInfoDictionaryKey:@"Mixpanel Token"]; 57 | NSString* installerVersion = [bundle objectForInfoDictionaryKey:@"Installer Version"]; 58 | NSString* payload = [NSString stringWithFormat:@"{\"event\": \"%@\", \"properties\": {\"token\": \"%@\", \"distinct_id\": \"%@\", \"os\": \"darwin\", \"os version\":\"%@\", \"version\": \"%@\" %@}}", name, token, uuid, osVersion, installerVersion, props]; 59 | 60 | @try { 61 | NSData * data = [payload dataUsingEncoding:NSUTF8StringEncoding]; 62 | NSString* base64Encoded = [data base64EncodedStringWithOptions:0]; 63 | NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString: [NSString stringWithFormat:@"https://api.mixpanel.com/track/?data=%@", base64Encoded]]]; 64 | 65 | NSOperationQueue *queue = [[NSOperationQueue alloc] init]; 66 | [NSURLConnection sendAsynchronousRequest:request queue:queue completionHandler:^(NSURLResponse *response, NSData *data, NSError *error) {}]; 67 | } 68 | @catch (NSException *exception) { 69 | NSLog(@"%@", @"Failed to send data."); 70 | } 71 | } 72 | 73 | + (void) trackEvent:(NSString *)name forPane:(InstallerPane*)pane { 74 | [self trackEvent:name forPane:pane withProperties:nil]; 75 | } 76 | 77 | @end 78 | #endif 79 | -------------------------------------------------------------------------------- /windows/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong in step ´$STEP´... Press any key to continue..."' EXIT 4 | 5 | #Quick Hack: used to convert e.g. "C:\Program Files\Docker Toolbox" to "/c/Program Files/Docker Toolbox" 6 | win_to_unix_path(){ 7 | wd="$(pwd)" 8 | cd "$1" 9 | the_path="$(pwd)" 10 | cd "$wd" 11 | echo $the_path 12 | } 13 | 14 | # This is needed to ensure that binaries provided 15 | # by Docker Toolbox over-ride binaries provided by 16 | # Docker for Windows when launching using the Quickstart. 17 | export PATH="$(win_to_unix_path "${DOCKER_TOOLBOX_INSTALL_PATH}"):$PATH" 18 | VM=${DOCKER_MACHINE_NAME-default} 19 | DOCKER_MACHINE="${DOCKER_TOOLBOX_INSTALL_PATH}\docker-machine.exe" 20 | 21 | STEP="Looking for vboxmanage.exe" 22 | if [ ! -z "$VBOX_MSI_INSTALL_PATH" ]; then 23 | VBOXMANAGE="${VBOX_MSI_INSTALL_PATH}VBoxManage.exe" 24 | else 25 | VBOXMANAGE="${VBOX_INSTALL_PATH}VBoxManage.exe" 26 | fi 27 | 28 | BLUE='\033[1;34m' 29 | GREEN='\033[0;32m' 30 | NC='\033[0m' 31 | 32 | #clear all_proxy if not socks address 33 | if [[ $ALL_PROXY != socks* ]]; then 34 | unset ALL_PROXY 35 | fi 36 | if [[ $all_proxy != socks* ]]; then 37 | unset all_proxy 38 | fi 39 | 40 | if [ ! -f "${DOCKER_MACHINE}" ]; then 41 | echo "Docker Machine is not installed. Please re-run the Toolbox Installer and try again." 42 | exit 1 43 | fi 44 | 45 | if [ ! -f "${VBOXMANAGE}" ]; then 46 | echo "VirtualBox is not installed. Please re-run the Toolbox Installer and try again." 47 | exit 1 48 | fi 49 | 50 | "${VBOXMANAGE}" list vms | grep \""${VM}"\" &> /dev/null 51 | VM_EXISTS_CODE=$? 52 | 53 | set -e 54 | 55 | STEP="Checking if machine $VM exists" 56 | if [ $VM_EXISTS_CODE -eq 1 ]; then 57 | "${DOCKER_MACHINE}" rm -f "${VM}" &> /dev/null || : 58 | rm -rf ~/.docker/machine/machines/"${VM}" 59 | #set proxy variables inside virtual docker machine if they exist in host environment 60 | if [ "${HTTP_PROXY}" ]; then 61 | PROXY_ENV="$PROXY_ENV --engine-env HTTP_PROXY=$HTTP_PROXY" 62 | fi 63 | if [ "${HTTPS_PROXY}" ]; then 64 | PROXY_ENV="$PROXY_ENV --engine-env HTTPS_PROXY=$HTTPS_PROXY" 65 | fi 66 | if [ "${NO_PROXY}" ]; then 67 | PROXY_ENV="$PROXY_ENV --engine-env NO_PROXY=$NO_PROXY" 68 | fi 69 | "${DOCKER_MACHINE}" create -d virtualbox $PROXY_ENV "${VM}" 70 | fi 71 | 72 | STEP="Checking status on $VM" 73 | VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )" 74 | if [ "${VM_STATUS}" != "Running" ]; then 75 | "${DOCKER_MACHINE}" start "${VM}" 76 | yes | "${DOCKER_MACHINE}" regenerate-certs "${VM}" 77 | fi 78 | 79 | STEP="Setting env" 80 | eval "$("${DOCKER_MACHINE}" env --shell=bash --no-proxy "${VM}" | sed -e "s/export/SETX/g" | sed -e "s/=/ /g")" &> /dev/null #for persistent Environment Variables, available in next sessions 81 | eval "$("${DOCKER_MACHINE}" env --shell=bash --no-proxy "${VM}")" #for transient Environment Variables, available in current session 82 | 83 | STEP="Finalize" 84 | clear 85 | cat << EOF 86 | 87 | 88 | ## . 89 | ## ## ## == 90 | ## ## ## ## ## === 91 | /"""""""""""""""""\___/ === 92 | ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ 93 | \______ o __/ 94 | \ \ __/ 95 | \____\_______/ 96 | 97 | EOF 98 | echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}${VM}${NC} machine with IP ${GREEN}$("${DOCKER_MACHINE}" ip ${VM})${NC}" 99 | echo "For help getting started, check out the docs at https://docs.docker.com" 100 | echo 101 | echo 102 | #cd #Bad: working dir should be whatever directory was invoked from rather than fixed to the Home folder 103 | 104 | docker () { 105 | MSYS_NO_PATHCONV=1 docker.exe "$@" 106 | } 107 | export -f docker 108 | 109 | if [ $# -eq 0 ]; then 110 | echo "Start interactive shell" 111 | exec "$BASH" --login -i 112 | else 113 | echo "Start shell with command" 114 | exec "$BASH" -c "$*" 115 | fi 116 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Docker Toolbox 2 | 3 | ### :warning: Deprecation Notice: This project and repository is now deprecated and is no longer in active development. Please use Docker Desktop instead where possible. [Docker Desktop](https://www.docker.com/products/docker-desktop) 4 | 5 | Docker released the Docker Toolbox project to make it easier for developers who work on Mac and Windows to get started using Docker. In 2016 Docker released Docker Desktop which superseded toolbox and was significantly easier for the majority of users to get started. This still left some users behind, predominantly users who were on Windows Home editions, Windows 7, Windows 8 and users of VirtualBox. 6 | Since 2016 there have been a number of changes. Windows 7 is no longer supported and the mainstream support of Windows 8.1 has ended. The majority of Windows users are now on a version of Windows 10. Since [VirtualBox 6.0](https://docs.oracle.com/en/virtualization/virtualbox/6.0/admin/hyperv-support.html#:~:text=Oracle%20VM%20VirtualBox%20can%20be,engine%20for%20the%20host%20system) users have been able to run VirtualBox and Hyper-V at the same time on their Windows machines, allowing users to use VirtualBox and Docker Desktop side by side on Hyper-V. For Windows Home users, WSL 2 is available and Docker Desktop now uses this to provide [Desktop for Windows Home](https://docs.docker.com/docker-for-windows/install-windows-home/) 7 | 8 | Given these changes Docker has decided to archive the Toolbox project to allow us to make it clear that we are no longer supporting or developing this product and to give us time to focus on making further improvements to Docker Desktop. 9 | Please provide any feedback via the [Docker Public Roadmap](https://github.com/docker/roadmap/issues/110) 10 | 11 | ================================== 12 | 13 | [![docker toolbox logo](https://cloud.githubusercontent.com/assets/251292/9585188/2f31d668-4fca-11e5-86c9-826d18cf45fd.png)](https://www.docker.com/toolbox) 14 | 15 | The Docker Toolbox installs everything you need to get started with 16 | Docker on Mac OS X and Windows. It includes the Docker client, Compose, 17 | Machine, Kitematic, and VirtualBox. 18 | 19 | ## Installation and documentation 20 | 21 | Documentation for Mac [is available here](https://docs.docker.com/toolbox/toolbox_install_mac/). 22 | 23 | Documentation for Windows [is available here](https://docs.docker.com/toolbox/toolbox_install_windows/). 24 | 25 | *Note:* Some Windows and Mac computers may not have VT-X enabled by default. It is required for VirtualBox. To check if VT-X is enabled on Windows follow this guide [here](http://amiduos.com/support/knowledge-base/article/how-can-i-get-to-know-my-processor-supports-virtualization-technology). To enable VT-X on Windows, please see the guide [here](http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware). To enable VT-X on Intel-based Macs, refer to this Apple guide [here](https://support.apple.com/en-us/HT203296). 26 | Also note that if the Virtual Machine was created before enabling VT-X it can be necessary to remove and reinstall the VM for Docker Toolbox to work. 27 | 28 | Toolbox is currently unavailable for Linux; To get started with Docker on Linux, please follow the Linux [Getting Started Guide](https://docs.docker.com/linux/started/). 29 | 30 | ## Building the Docker Toolbox 31 | 32 | Toolbox installers are built using Docker, so you'll need a Docker host set up. For example, using [Docker Machine](https://github.com/docker/machine): 33 | 34 | ``` 35 | $ docker-machine create -d virtualbox toolbox 36 | $ eval "$(docker-machine env toolbox)" 37 | ``` 38 | 39 | Then, to build the Toolbox for both platforms: 40 | 41 | ``` 42 | make 43 | ``` 44 | 45 | Build for a specific platform: 46 | 47 | ``` 48 | make osx 49 | ``` 50 | 51 | or 52 | 53 | ``` 54 | make windows 55 | ``` 56 | 57 | The resulting installers will be in the `dist` directory. 58 | 59 | ## Frequently Asked Questions 60 | 61 | **Do I have to install VirtualBox?** 62 | 63 | No, you can deselect VirtualBox during installation. It is bundled in case you want to have a working environment for free. 64 | -------------------------------------------------------------------------------- /osx/installerplugins/overviewplugin/Base.lproj/overviewplugin.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 35 | 36 | 37 | 38 | 39 | 40 | This collects anonymous data to help us detect installation problems and improve the overall experience. We only use it to aggregate statistics and will never share it with third parties. 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 72 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /windows/modpath.iss: -------------------------------------------------------------------------------- 1 | // ---------------------------------------------------------------------------- 2 | // 3 | // Inno Setup Ver: 5.4.2 4 | // Script Version: 1.4.2 5 | // Author: Jared Breland 6 | // Homepage: http://www.legroom.net/software 7 | // License: GNU Lesser General Public License (LGPL), version 3 8 | // http://www.gnu.org/licenses/lgpl.html 9 | // 10 | // Script Function: 11 | // Allow modification of environmental path directly from Inno Setup installers 12 | // 13 | // Instructions: 14 | // Copy modpath.iss to the same directory as your setup script 15 | // 16 | // Add this statement to your [Setup] section 17 | // ChangesEnvironment=true 18 | // 19 | // Add this statement to your [Tasks] section 20 | // You can change the Description or Flags 21 | // You can change the Name, but it must match the ModPathName setting below 22 | // Name: modifypath; Description: &Add application directory to your environmental path; Flags: unchecked 23 | // 24 | // Add the following to the end of your [Code] section 25 | // ModPathName defines the name of the task defined above 26 | // ModPathType defines whether the 'user' or 'system' path will be modified; 27 | // this will default to user if anything other than system is set 28 | // setArrayLength must specify the total number of dirs to be added 29 | // Result[0] contains first directory, Result[1] contains second, etc. 30 | // const 31 | // ModPathName = 'modifypath'; 32 | // ModPathType = 'user'; 33 | // 34 | // function ModPathDir(): TArrayOfString; 35 | // begin 36 | // setArrayLength(Result, 1); 37 | // Result[0] := ExpandConstant('{app}'); 38 | // end; 39 | // #include "modpath.iss" 40 | // ---------------------------------------------------------------------------- 41 | 42 | procedure ModPath(); 43 | var 44 | oldpath: String; 45 | newpath: String; 46 | updatepath: Boolean; 47 | pathArr: TArrayOfString; 48 | aExecFile: String; 49 | aExecArr: TArrayOfString; 50 | i, d: Integer; 51 | pathdir: TArrayOfString; 52 | regroot: Integer; 53 | regpath: String; 54 | 55 | begin 56 | // Get constants from main script and adjust behavior accordingly 57 | // ModPathType MUST be 'system' or 'user'; force 'user' if invalid 58 | if ModPathType = 'system' then begin 59 | regroot := HKEY_LOCAL_MACHINE; 60 | regpath := 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment'; 61 | end else begin 62 | regroot := HKEY_CURRENT_USER; 63 | regpath := 'Environment'; 64 | end; 65 | 66 | // Get array of new directories and act on each individually 67 | pathdir := ModPathDir(); 68 | for d := 0 to GetArrayLength(pathdir)-1 do begin 69 | updatepath := true; 70 | 71 | // Modify WinNT path 72 | if UsingWinNT() = true then begin 73 | 74 | // Get current path, split into an array 75 | RegQueryStringValue(regroot, regpath, 'Path', oldpath); 76 | oldpath := oldpath + ';'; 77 | i := 0; 78 | 79 | while (Pos(';', oldpath) > 0) do begin 80 | SetArrayLength(pathArr, i+1); 81 | pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath)-1); 82 | oldpath := Copy(oldpath, Pos(';', oldpath)+1, Length(oldpath)); 83 | i := i + 1; 84 | 85 | // Check if current directory matches app dir 86 | if pathdir[d] = pathArr[i-1] then begin 87 | // if uninstalling, remove dir from path 88 | if IsUninstaller() = true then begin 89 | continue; 90 | // if installing, flag that dir already exists in path 91 | end else begin 92 | updatepath := false; 93 | end; 94 | end; 95 | 96 | // Add current directory to new path 97 | if i = 1 then begin 98 | newpath := pathArr[i-1]; 99 | end else begin 100 | newpath := newpath + ';' + pathArr[i-1]; 101 | end; 102 | end; 103 | 104 | // Append app dir to path if not already included 105 | if (IsUninstaller() = false) AND (updatepath = true) then 106 | newpath := newpath + ';' + pathdir[d]; 107 | 108 | // Write new path 109 | RegWriteStringValue(regroot, regpath, 'Path', newpath); 110 | 111 | // Modify Win9x path 112 | end else begin 113 | 114 | // Convert to shortened dirname 115 | pathdir[d] := GetShortName(pathdir[d]); 116 | 117 | // If autoexec.bat exists, check if app dir already exists in path 118 | aExecFile := 'C:\AUTOEXEC.BAT'; 119 | if FileExists(aExecFile) then begin 120 | LoadStringsFromFile(aExecFile, aExecArr); 121 | for i := 0 to GetArrayLength(aExecArr)-1 do begin 122 | if IsUninstaller() = false then begin 123 | // If app dir already exists while installing, skip add 124 | if (Pos(pathdir[d], aExecArr[i]) > 0) then 125 | updatepath := false; 126 | break; 127 | end else begin 128 | // If app dir exists and = what we originally set, then delete at uninstall 129 | if aExecArr[i] = 'SET PATH=%PATH%;' + pathdir[d] then 130 | aExecArr[i] := ''; 131 | end; 132 | end; 133 | end; 134 | 135 | // If app dir not found, or autoexec.bat didn't exist, then (create and) append to current path 136 | if (IsUninstaller() = false) AND (updatepath = true) then begin 137 | SaveStringToFile(aExecFile, #13#10 + 'SET PATH=%PATH%;' + pathdir[d], True); 138 | 139 | // If uninstalling, write the full autoexec out 140 | end else begin 141 | SaveStringsToFile(aExecFile, aExecArr, False); 142 | end; 143 | end; 144 | end; 145 | end; 146 | 147 | // Split a string into an array using passed delimeter 148 | procedure MPExplode(var Dest: TArrayOfString; Text: String; Separator: String); 149 | var 150 | i: Integer; 151 | begin 152 | i := 0; 153 | repeat 154 | SetArrayLength(Dest, i+1); 155 | if Pos(Separator,Text) > 0 then begin 156 | Dest[i] := Copy(Text, 1, Pos(Separator, Text)-1); 157 | Text := Copy(Text, Pos(Separator,Text) + Length(Separator), Length(Text)); 158 | i := i + 1; 159 | end else begin 160 | Dest[i] := Text; 161 | Text := ''; 162 | end; 163 | until Length(Text)=0; 164 | end; 165 | 166 | procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); 167 | var 168 | aSelectedTasks: TArrayOfString; 169 | i: Integer; 170 | taskname: String; 171 | regpath: String; 172 | regstring: String; 173 | appid: String; 174 | begin 175 | // only run during actual uninstall 176 | if CurUninstallStep = usUninstall then begin 177 | // get list of selected tasks saved in registry at install time 178 | appid := '{#emit SetupSetting("AppId")}'; 179 | if appid = '' then appid := '{#emit SetupSetting("AppName")}'; 180 | regpath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\'+appid+'_is1'); 181 | RegQueryStringValue(HKLM, regpath, 'Inno Setup: Selected Tasks', regstring); 182 | if regstring = '' then RegQueryStringValue(HKCU, regpath, 'Inno Setup: Selected Tasks', regstring); 183 | 184 | // check each task; if matches modpath taskname, trigger patch removal 185 | if regstring <> '' then begin 186 | taskname := ModPathName; 187 | MPExplode(aSelectedTasks, regstring, ','); 188 | if GetArrayLength(aSelectedTasks) > 0 then begin 189 | for i := 0 to GetArrayLength(aSelectedTasks)-1 do begin 190 | if comparetext(aSelectedTasks[i], taskname) = 0 then 191 | ModPath(); 192 | end; 193 | end; 194 | end; 195 | end; 196 | end; 197 | -------------------------------------------------------------------------------- /osx/installerplugins/quickstartplugin/Base.lproj/quickstartplugin.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 58 | 59 | 60 | 61 | 62 | 63 | Docker Quickstart 64 | Terminal 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /Dockerfile.osx: -------------------------------------------------------------------------------- 1 | FROM debian:jessie 2 | 3 | ARG DOCKER_RELEASE_STAGE 4 | ARG INSTALLER_VERSION 5 | ARG DOCKER_VERSION 6 | ARG DOCKER_COMPOSE_VERSION 7 | ARG DOCKER_MACHINE_VERSION 8 | ARG KITEMATIC_VERSION 9 | ARG VBOX_VERSION 10 | ARG VBOX_REV 11 | ARG MIXPANEL_TOKEN 12 | 13 | RUN apt-get update && apt-get -y install \ 14 | autoconf build-essential curl \ 15 | libxml2-dev libssl-dev libbz2-dev \ 16 | p7zip-full \ 17 | hfsplus hfsutils hfsprogs cpio 18 | 19 | # We need the bomutils to create the Mac OS X Bill of Materials (BOM) files. 20 | # https://github.com/hogliux/bomutils 21 | RUN curl -fsSL https://github.com/hogliux/bomutils/archive/0.2.tar.gz | tar xvz && \ 22 | cd bomutils-* && \ 23 | make && make install 24 | 25 | # Needed to pack/unpack the .pkg files 26 | RUN curl -fsSL https://github.com/mackyle/xar/archive/xar-1.6.1.tar.gz | tar xvz && \ 27 | cd xar-*/xar && \ 28 | ./autogen.sh && ./configure && \ 29 | make && make install 30 | 31 | 32 | RUN curl -fsSL -o /vbox.dmg http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VirtualBox-$VBOX_VERSION-$VBOX_REV-OSX.dmg \ 33 | && echo "$(curl -fsSL 'https://virtualbox.org/download/hashes/'"$VBOX_VERSION"'/SHA256SUMS' | awk '$2 ~ /-OSX.dmg$/ { print $1 }') */vbox.dmg" | sha256sum -c - 34 | 35 | # Why '--strip-components 3'? The client binary is in usr/local/bin/docker in 36 | # the tar archive. If we extract directly, it will create a usr/local/bin 37 | # subdirectory (not what we want). So we use --strip-components to remove the 38 | # `usr/local/bin` part and drop the bin in the current directory. 39 | RUN curl -fsSL -o dockerbins.tgz "https://download.docker.com/mac/static/${DOCKER_RELEASE_STAGE}/x86_64/docker-${DOCKER_VERSION}.tgz" && \ 40 | tar xvf dockerbins.tgz docker/docker --strip-components 1 && \ 41 | rm dockerbins.tgz 42 | RUN chmod +x /docker 43 | 44 | RUN curl -fsSL -o /docker-machine https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_VERSION/docker-machine-Darwin-x86_64 45 | RUN chmod +x /docker-machine 46 | 47 | RUN curl -fsSL -o /docker-compose https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-Darwin-x86_64 48 | RUN chmod +x /docker-compose 49 | 50 | RUN curl -fsSL -o /boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v$DOCKER_VERSION/boot2docker.iso 51 | RUN curl -fsSL -o /kitematic.zip https://github.com/kitematic/kitematic/releases/download/v$KITEMATIC_VERSION/Kitematic-$KITEMATIC_VERSION-Mac.zip 52 | 53 | # Extract the VirtualBox .pkg 54 | RUN mkdir -p /mpkg/vbox && \ 55 | cd /mpkg/vbox && \ 56 | 7z x /vbox.dmg -ir'!*.hfs' && \ 57 | 7z x `find . -name '*.hfs'` -ir'!*.pkg' && \ 58 | mv VirtualBox/VirtualBox.pkg . && \ 59 | rm -rf vbox.dmg && \ 60 | rm -rf `find . -name '*.hfs'` 61 | 62 | # Extract the .pkg files 63 | RUN cd /mpkg/vbox && \ 64 | mv VirtualBox.pkg /tmp && \ 65 | xar -xf /tmp/VirtualBox.pkg && \ 66 | rm -rf /tmp/VirtualBox.pkg 67 | 68 | RUN cd /mpkg/vbox && \ 69 | mv *.pkg .. && \ 70 | rm -rf vbox 71 | 72 | # Add components 73 | COPY osx/mpkg/Distribution /mpkg/Distribution 74 | 75 | # docker.pkg 76 | COPY osx/mpkg/docker.pkg /mpkg/docker.pkg 77 | RUN cd /mpkg/docker.pkg && \ 78 | mkdir rootfs && \ 79 | cd rootfs && \ 80 | mkdir -p usr/local/bin && \ 81 | mv /docker usr/local/bin/ && \ 82 | ls -al /usr/local/bin/ && \ 83 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 84 | mkbom . ../Bom && \ 85 | sed -i \ 86 | -e "s/%DOCKER_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 87 | -e "s/%DOCKER_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 88 | -e "s/%DOCKER_VERSION%/$DOCKER_VERSION/g" \ 89 | ../PackageInfo /mpkg/Distribution && \ 90 | cd .. && \ 91 | rm -rf ./rootfs 92 | 93 | # kitematicapp.pkg 94 | COPY osx/mpkg/kitematicapp.pkg /mpkg/kitematicapp.pkg 95 | RUN cd /mpkg/kitematicapp.pkg && \ 96 | mkdir ./rootfs && \ 97 | cd ./rootfs && \ 98 | 7z x /kitematic.zip && \ 99 | rm -rf ./__MACOSX && \ 100 | ls -al . && \ 101 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 102 | mkbom . ../Bom && \ 103 | sed -i \ 104 | -e "s/%KITEMATICAPP_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 105 | -e "s/%KITEMATICAPP_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 106 | -e "s/%KITEMATICAPP_VERSION%/$KITEMATIC_VERSION/g" \ 107 | ../PackageInfo /mpkg/Distribution && \ 108 | cd .. && \ 109 | rm -rf ./rootfs 110 | 111 | # dockermachine.pkg 112 | COPY osx/mpkg/dockermachine.pkg /mpkg/dockermachine.pkg 113 | RUN cd /mpkg/dockermachine.pkg && \ 114 | mkdir rootfs && \ 115 | cd rootfs && \ 116 | mkdir -p usr/local/bin && \ 117 | mv /docker-machine usr/local/bin/ && \ 118 | ls -al /usr/local/bin/ && \ 119 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 120 | mkbom . ../Bom && \ 121 | sed -i \ 122 | -e "s/%DOCKERMACHINE_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 123 | -e "s/%DOCKERMACHINE_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 124 | -e "s/%DOCKERMACHINE_VERSION%/$DOCKER_MACHINE_VERSION/g" \ 125 | ../PackageInfo /mpkg/Distribution && \ 126 | cd .. && \ 127 | rm -rf ./rootfs 128 | 129 | # dockercompose.pkg 130 | COPY osx/mpkg/dockercompose.pkg /mpkg/dockercompose.pkg 131 | RUN cd /mpkg/dockercompose.pkg && \ 132 | mkdir rootfs && \ 133 | cd rootfs && \ 134 | mkdir -p usr/local/bin && \ 135 | mv /docker-compose usr/local/bin/ && \ 136 | ls -al /usr/local/bin/ && \ 137 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 138 | mkbom . ../Bom && \ 139 | sed -i \ 140 | -e "s/%DOCKERCOMPOSE_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 141 | -e "s/%DOCKERCOMPOSE_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 142 | -e "s/%DOCKERCOMPOSE_VERSION%/$DOCKER_COMPOSE_VERSION/g" \ 143 | ../PackageInfo /mpkg/Distribution && \ 144 | cd .. && \ 145 | rm -rf ./rootfs 146 | 147 | # boot2dockeriso.pkg 148 | COPY osx/mpkg/boot2dockeriso.pkg /mpkg/boot2dockeriso.pkg 149 | RUN cd /mpkg/boot2dockeriso.pkg && \ 150 | cd Scripts && find . | cpio -o --format odc | gzip -c > ../Scripts.bin && cd .. && \ 151 | rm -r Scripts && mv Scripts.bin Scripts && \ 152 | mkdir ./rootfs && \ 153 | cd ./rootfs && \ 154 | cp /boot2docker.iso . && \ 155 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 156 | mkbom . ../Bom && \ 157 | sed -i \ 158 | -e "s/%BOOT2DOCKER_ISO_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 159 | -e "s/%BOOT2DOCKER_ISO_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 160 | -e "s/%DOCKER_VERSION%/$DOCKER_VERSION/g" \ 161 | ../PackageInfo /mpkg/Distribution && \ 162 | cd .. && \ 163 | rm -rf ./rootfs 164 | 165 | # dockerquickstartterminalapp.pkg 166 | COPY osx/mpkg/dockerquickstartterminalapp.pkg /mpkg/dockerquickstartterminalapp.pkg 167 | COPY osx/mpkg/quickstart.app /mpkg/quickstart.app 168 | RUN cd /mpkg/dockerquickstartterminalapp.pkg && \ 169 | mkdir ./rootfs && \ 170 | cd ./rootfs && \ 171 | mv /mpkg/quickstart.app ./Docker\ Quickstart\ Terminal.app && \ 172 | find . | cpio -o --format odc | gzip -c > ../Payload && \ 173 | mkbom . ../Bom && \ 174 | sed -i \ 175 | -e "s/%DOCKERQUICKSTARTTERMINALAPP_NUMBER_OF_FILES%/`find . | wc -l`/g" \ 176 | -e "s/%DOCKERQUICKSTARTTERMINALAPP_INSTALL_KBYTES%/`du -sk | cut -f1`/g" \ 177 | -e "s/%DOCKERQUICKSTARTTERMINALAPP_VERSION%/$INSTALLER_VERSION/g" \ 178 | ../PackageInfo /mpkg/Distribution && \ 179 | cd .. && \ 180 | rm -rf ./rootfs 181 | 182 | COPY osx/mpkg/Resources /mpkg/Resources 183 | COPY osx/mpkg/Plugins /mpkg/Plugins 184 | 185 | RUN sed -i \ 186 | -e "s/%MIXPANEL_TOKEN%/$MIXPANEL_TOKEN/g" \ 187 | -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g" \ 188 | mpkg/Plugins/*.bundle/Contents/Info.plist 189 | RUN sed -i \ 190 | -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g" \ 191 | mpkg/Plugins/*.bundle/Contents/Resources/*.html 192 | RUN sed -i \ 193 | -e "s/%INSTALLER_VERSION%/$INSTALLER_VERSION/g" \ 194 | mpkg/Resources/en.lproj/welcome.rtfd/TXT.rtf 195 | RUN sed -i \ 196 | -e "s/%VBOX_VERSION%/$VBOX_VERSION/g" \ 197 | /mpkg/Distribution && \ 198 | sed -i \ 199 | -e "s/%VBOX_VERSION%/$VBOX_VERSION/g" \ 200 | -e "s/%DOCKER_VERSION%/$DOCKER_VERSION/g" \ 201 | -e "s/%DOCKERMACHINE_VERSION%/$DOCKER_MACHINE_VERSION/g" \ 202 | -e "s/%DOCKERCOMPOSE_VERSION%/$DOCKER_COMPOSE_VERSION/g" \ 203 | -e "s/%DOCKER_VERSION%/$DOCKER_VERSION/g" \ 204 | -e "s/%DOCKERQUICKSTARTTERMINALAPP_VERSION%/$INSTALLER_VERSION/g" \ 205 | -e "s/%KITEMATICAPP_VERSION%/$KITEMATIC_VERSION/g" \ 206 | mpkg/Resources/en.lproj/Localizable.strings 207 | 208 | # Repackage back. Yes, --compression=none is mandatory. 209 | # or this won't install in OSX. 210 | RUN cd /mpkg && \ 211 | xar -c --compression=none -f /DockerToolbox.pkg . 212 | -------------------------------------------------------------------------------- /docs/faqs/troubleshoot.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: Troubleshooting connectivity and certificate issues 3 | keywords: beginner, getting started, FAQs, troubleshooting, Docker 4 | --- 5 | 6 | > ## Deprecation Notice :warning: 7 | > 8 | > Docker Toolbox is deprecated and is no longer in active development. Please use 9 | > [Docker Desktop](https://www.docker.com/products/docker-desktop) instead where 10 | > possible. 11 | 12 | # title: Troubleshooting 13 | 14 | Typically, the QuickStart works out-of-the-box, but some scenarios can cause problems. 15 | 16 | ## Example errors 17 | 18 | You might get errors when attempting to connect to a machine (such as with `docker-machine env default`) or pull an image from Docker Hub (as with `docker run hello-world`). 19 | 20 | The errors you get might be specific to certificates, like this: 21 | 22 | Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: i/o timeout 23 | 24 | Others explicitly suggest regenerating certificates: 25 | 26 | Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": x509: certificate is valid for 192.168.99.101, not 192.168.99.100 27 | You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'. 28 | Be advised that this will trigger a Docker daemon restart which will stop running containers. 29 | 30 | Or, indicate a network timeout, like this: 31 | 32 | bash-3.2$ docker run hello-world 33 | Unable to find image 'hello-world:latest' locally 34 | Pulling repository docker.io/library/hello-world 35 | Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy. 36 | bash-3.2$ 37 | 38 | ## Solutions 39 | 40 | Here are some quick solutions to help get back on track. These examples assume the Docker host is a machine called `default`. 41 | 42 | #### Regenerate certificates 43 | 44 | Some errors explicitly tell you to regenerate certificates. You might also try this for other errors that are certificate and/or connectivity related. 45 | 46 | $ docker-machine regenerate-certs default 47 | Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y 48 | Regenerating TLS certificates 49 | 50 | #### Restart the Docker host 51 | 52 | $ docker-machine restart default 53 | 54 | After the machine starts, set the environment variables for the command window. 55 | 56 | $ eval $(docker-machine env default) 57 | 58 | Run `docker-machine ls` to verify that the machine is running and that this command window is configured to talk to it, as indicated by an asterisk for the active machine (__*__). 59 | 60 | $ docker-machine ls 61 | NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS 62 | default * virtualbox Running tcp://192.168.99.101:2376 v1.10.1 63 | 64 | #### Stop the machine, remove it, and create a new one. 65 | 66 | $ docker-machine stop default 67 | Stopping "default"... 68 | Machine "default" was stopped. 69 | 70 | $ docker-machine rm default 71 | About to remove default 72 | Are you sure? (y/n): y 73 | Successfully removed default 74 | 75 | You can use the `docker-machine create` command with the `virtualbox` driver to create a new machine called `default` (or any name you want for the machine). 76 | 77 | $ docker-machine create --driver virtualbox default 78 | Running pre-create checks... 79 | (default) Default Boot2Docker ISO is out-of-date, downloading the latest release... 80 | (default) Latest release for github.com/boot2docker/boot2docker is v1.10.1 81 | (default) Downloading 82 | ... 83 | Docker is up and running! 84 | To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env default 85 | 86 | Set the environment variables for the command window. 87 | 88 | $ eval $(docker-machine env default) 89 | 90 | Run `docker-machine ls` to verify that the new machine is running and that this command window is configured to talk to it, as indicated by an asterisk for the active machine (__*__). 91 | 92 | 93 | 94 | ## HTTP proxies and connectivity errors 95 | 96 | A special brand of connectivity errors can be caused by HTTP proxy. If you install Docker Toolbox on a system using a virtual private network (VPN) that uses an HTTP proxy (such as a corporate network), you might encounter errors when the client attempts to connect to the server. 97 | 98 | Here are examples of this type of error: 99 | 100 | $ docker run hello-world 101 | An error occurred trying to connect: Post https://192.168.99.100:2376/v1.20/containers/create: Forbidden 102 | 103 | $ docker run ubuntu echo "hi" 104 | An error occurred trying to connect: Post https://192.168.99.100:2376/v1.20/containers/create: Forbidden 105 | 106 | ### Configure HTTP proxy settings on Docker machines 107 | 108 | When Toolbox creates virtual machines (VMs) it runs `start.sh`, where it gets values for `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`, and passes them as `create` options to create the `default machine`. 109 | 110 | You can reconfigure HTTP proxy settings for private networks on already-created Docker machines, such as the `default` machine, then change the configuration when you are using the same system on a different network. 111 | 112 | Alternatively, you can modify proxy settings on your machine(s) manually through the configuration file at `/var/lib/boot2docker/profile` inside the VM, or configure proxy settings as a part of a `docker-machine create` command. 113 | 114 | Both solutions are described below. 115 | 116 | #### Update /var/lib/boot2docker/profile on the Docker machine 117 | 118 | One way to solve this problem is to update the file `/var/lib/boot2docker/profile` on an existing machine to specify the proxy settings you want. 119 | 120 | This file lives on the VM itself, so you need to `ssh` into the machine, then edit and save the file there. 121 | 122 | You can add your machine addresses as values for a `NO_PROXY` setting, and also specify proxy servers that you know about and you want to use. Typically setting your Docker machine URLs to `NO_PROXY` solves this type of connectivity problem, so that example is shown here. 123 | 124 | 1. Use `ssh` to log in to the virtual machine. This example logs in to the 125 | `default` machine. 126 | 127 | $ docker-machine ssh default 128 | docker@default:~$ sudo vi /var/lib/boot2docker/profile 129 | 130 | 2. Add a `NO_PROXY` setting to the end of the file similar to the example below. 131 | 132 | # replace with your office's proxy environment 133 | export "HTTP_PROXY=http://PROXY:PORT" 134 | export "HTTPS_PROXY=http://PROXY:PORT" 135 | # you can add more no_proxy with your environment. 136 | export "NO_PROXY=192.168.99.*,*.local,169.254/16,*.example.com,192.168.59.*" 137 | 138 | 3. Restart Docker. 139 | 140 | After you modify the `profile` on your VM, restart Docker and log out of the machine. 141 | 142 | docker@default:~$ sudo /etc/init.d/docker restart 143 | docker@default:~$ exit 144 | 145 | Re-try Docker commands. Both Docker and Kitematic should run properly now. 146 | 147 | When you move to a different network (for example, leave the office's corporate network and return home), remove or comment out these proxy settings in `/var/lib/boot2docker/profile` and restart Docker. 148 | 149 | #### Create machines manually using --engine env to specify proxy settings 150 | 151 | Rather than reconfigure automatically-created machines, you can delete them and create your `default` machine and others manually with the `docker-machine create` command, using the `--engine env` flag to specify the proxy settings you want. 152 | 153 | Here is an example of creating a `default` machine with proxies set to `http://example.com:8080` and `https://example.com:8080`, and a `N0_PROXY` setting for the server `example2.com`. 154 | 155 | docker-machine create -d virtualbox \ 156 | --engine-env HTTP_PROXY=http://example.com:8080 \ 157 | --engine-env HTTPS_PROXY=https://example.com:8080 \ 158 | --engine-env NO_PROXY=example2.com \ 159 | default 160 | 161 | 162 | To learn more about using `docker-machine create`, see the [create](../../machine/reference/create.md) command in the [Docker Machine](../../machine/overview.md) reference. 163 | 164 |   165 | -------------------------------------------------------------------------------- /osx/mpkg/Distribution: -------------------------------------------------------------------------------- 1 | 2 | 3 | docker_title 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | #docker.pkg 26 | 27 | 28 | 29 | #dockercompose.pkg 30 | 31 | 32 | 33 | #kitematicapp.pkg 34 | 35 | 36 | 37 | 38 | #VBoxKEXTs.pkg 39 | #VirtualBox.pkg 40 | #VirtualBoxCLI.pkg 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | #boot2dockeriso.pkg 62 | 63 | 64 | 65 | 66 | 67 | 68 | #dockerquickstartterminalapp.pkg 69 | 70 | 71 | 72 | #kitematicapp.pkg 73 | 74 | 75 | 76 | 77 | 78 | 79 | #dockermachine.pkg 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 161 | 162 | -------------------------------------------------------------------------------- /LICENSE/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | https://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | Copyright 2013-2015 Docker, Inc. 180 | 181 | Licensed under the Apache License, Version 2.0 (the "License"); 182 | you may not use this file except in compliance with the License. 183 | You may obtain a copy of the License at 184 | 185 | https://www.apache.org/licenses/LICENSE-2.0 186 | 187 | Unless required by applicable law or agreed to in writing, software 188 | distributed under the License is distributed on an "AS IS" BASIS, 189 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 190 | See the License for the specific language governing permissions and 191 | limitations under the License. 192 | -------------------------------------------------------------------------------- /docs/toolbox_install_mac.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: How to install Toolbox on Mac 3 | keywords: docker, documentation, install, toolbox, mac 4 | --- 5 | 6 | # Install Docker Toolbox on macOS 7 | 8 | > ### Deprecation Notice: Docker Toolbox is deprecated 9 | > 10 | > and is no longer in active development. Please use Docker Desktop instead where 11 | > possible. [Docker Desktop](https://www.docker.com/products/docker-desktop) 12 | 13 | Docker Toolbox provides a way to use Docker on older Macs 14 | that do not meet 15 | minimal system requirements for [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/). 16 | 17 | ## What you get and how it works 18 | 19 | Docker Toolbox includes the following Docker tools: 20 | 21 | * Docker CLI client for running Docker Engine to create images and containers 22 | * Docker Machine so you can run Docker Engine commands from macOS terminals 23 | * Docker Compose for running the `docker-compose` command 24 | * Kitematic, the Docker GUI 25 | * the Docker QuickStart shell preconfigured for a Docker command-line environment 26 | * Oracle VM VirtualBox 27 | 28 | Because the Docker Engine daemon uses Linux-specific 29 | kernel features, you can't run Docker Engine natively on 30 | macOS with Docker Toolbox. Instead, you must use the 31 | Docker Machine command, `docker-machine`, to create and 32 | attach to a small Linux VM on your machine. This VM hosts 33 | Docker Engine for you on your Mac. 34 | 35 | >**Tip**: One of the advantages of the newer 36 | [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) solution is that 37 | it uses native virtualization and does not require 38 | VirtualBox to run Docker. 39 | 40 | 41 | ## Step 1: Check your version 42 | 43 | Your Mac must be running macOS 10.8 "Mountain Lion" or newer to run Docker 44 | software. To find out what version of the OS you have: 45 | 46 | 1. Choose **About this Mac** from the Apple menu. 47 | 48 | The version number appears directly below the words `macOS`. 49 | 50 | 2. If you have the correct version, go to the next step. 51 | 52 | If you aren't using a supported version, you could consider upgrading your 53 | operating system. 54 | 55 | If you have macOS 10.14 Mojave or newer, consider using [Docker Desktop for 56 | Mac](/docker-for-mac/) instead. It runs natively on the Mac, so there is no 57 | need for a pre-configured Docker QuickStart shell. It uses the native macOS 58 | Hypervisor framework for virtualization, instead of Oracle VirutalBox. Full 59 | install prerequisites are provided in the Docker Desktop for Mac topic in [Docker 60 | Desktop for Mac](/docker-for-mac/#what-to-know-before-you-install). 61 | 62 | ## Step 2: Install Docker Toolbox 63 | 64 | > **Note**: Docker are no longer maintaining the download.docker.com url for 65 | > Docker Toolbox, therefore an unsigned warning (verified publisher dialog) is 66 | > displayed during the installation process. 67 | 68 | 1. To download the latest version of Docker Toolbox, go to [Toolbox 69 | Releases](https://github.com/docker/toolbox/releases) and download the 70 | latest `.pkg` file. 71 | 72 | 2. Install Docker Toolbox by double-clicking the package or by right-clicking 73 | and choosing "Open" from the pop-up menu. 74 | 75 | The installer launches an introductory dialog, followed by an overview of what's installed. 76 | 77 | ![Install Docker Toolbox](images/mac-welcome-page.png) 78 | 79 | 3. Press **Continue** to install the toolbox. 80 | 81 | The installer presents you with options to customize the standard 82 | installation. 83 | 84 | ![Standard install](images/mac-page-two.png) 85 | 86 | By default, the standard Docker Toolbox installation: 87 | 88 | * installs binaries for the Docker tools in `/usr/local/bin` 89 | * makes these binaries available to all users 90 | * updates any existing Virtual Box installation 91 | 92 | For now, don't change any of the defaults. 93 | 94 | 4. Press **Install** to perform the standard installation. 95 | 96 | The system prompts you for your password. 97 | 98 | ![Password prompt](images/mac-password-prompt.png) 99 | 100 | 5. Provide your password to continue with the installation. 101 | 102 | When it completes, the installer provides you with some 103 | shortcuts. You can ignore this for now and click **Continue**. 104 | 105 | ![Quickstart](images/mac-page-quickstart.png) 106 | 107 | Then click **Close** to finish the installer. 108 | 109 | ![All finished](images/mac-page-finished.png) 110 | 111 | 112 | ## Step 3: Verify your installation 113 | 114 | To run a Docker container, you: 115 | 116 | * create a new (or start an existing) Docker Engine host running 117 | * switch your environment to your new VM 118 | * use the `docker` client to create, load, and manage containers 119 | 120 | Once you create a machine, you can reuse it as often as you like. Like any 121 | Virtual Box VM, it maintains its configuration between uses. 122 | 123 | 1. Open the **Launchpad** and locate the Docker Quickstart Terminal icon. 124 | 125 | ![Launchpad](images/applications_folder.png) 126 | 127 | 2. Click the icon to launch a Docker Quickstart Terminal window. 128 | 129 | The terminal does a number of things to set up Docker Quickstart Terminal for you. 130 | 131 | ``` 132 | Last login: Sat Jul 11 20:09:45 on ttys002 133 | bash '/Applications/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' 134 | Get http:///var/run/docker.sock/v1.19/images/json?all=1&filters=%7B%22dangling%22%3A%5B%22true%22%5D%7D: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? 135 | Get http:///var/run/docker.sock/v1.19/images/json?all=1: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? 136 | -bash: lolcat: command not found 137 | 138 | mary at meepers in ~ 139 | $ bash '/Applications/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' 140 | Creating Machine dev... 141 | Creating VirtualBox VM... 142 | Creating SSH key... 143 | Starting VirtualBox VM... 144 | Starting VM... 145 | To see how to connect Docker to this machine, run: docker-machine env dev 146 | Starting machine dev... 147 | Setting environment variables for machine dev... 148 | 149 | ## . 150 | ## ## ## == 151 | ## ## ## ## ## === 152 | /"""""""""""""""""\___/ === 153 | ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ 154 | \______ o __/ 155 | \ \ __/ 156 | \____\_______/ 157 | 158 | The Docker Quick Start Terminal is configured to use Docker with the "default" VM. 159 | ``` 160 | 161 | 3. Click your mouse in the terminal window to make it active. 162 | 163 | If you aren't familiar with a terminal window, here are some quick tips. 164 | 165 | ![Terminal](images/terminal.png) 166 | 167 | The prompt is traditionally a `$` dollar sign. You type commands into the 168 | *command line* which is the area after the prompt. Your cursor is indicated 169 | by a highlighted area or a `|` that appears in the command line. After 170 | typing a command, always press RETURN. 171 | 172 | 4. Type the `docker run hello-world` command and press RETURN. 173 | 174 | The command does some work for you, if everything runs well, the command's 175 | output looks like this: 176 | 177 | $ docker run hello-world 178 | Unable to find image 'hello-world:latest' locally 179 | latest: Pulling from library/hello-world 180 | 535020c3e8ad: Pull complete 181 | af340544ed62: Pull complete 182 | Digest: sha256:a68868bfe696c00866942e8f5ca39e3e31b79c1e50feaee4ce5e28df2f051d5c 183 | Status: Downloaded newer image for hello-world:latest 184 | 185 | Hello from Docker. 186 | This message shows that your installation appears to be working correctly. 187 | 188 | To generate this message, Docker took the following steps: 189 | 1. The Docker Engine CLI client contacted the Docker Engine daemon. 190 | 2. The Docker Engine daemon pulled the "hello-world" image from the Docker Hub. 191 | 3. The Docker Engine daemon created a new container from that image which runs the 192 | executable that produces the output you are currently reading. 193 | 4. The Docker Engine daemon streamed that output to the Docker Engine CLI client, which sent it 194 | to your terminal. 195 | 196 | To try something more ambitious, you can run an Ubuntu container with: 197 | $ docker run -it ubuntu bash 198 | 199 | Share images, automate workflows, and more with a free Docker Hub account: 200 | https://hub.docker.com 201 | 202 | For more examples and ideas, visit: 203 | https://docs.docker.com/userguide/ 204 | 205 | ## Optional: Add shared directories 206 | 207 | By default, Toolbox only has access to the `/Users` directory and mounts it into 208 | the VMs at `/Users`. If your project lives elsewhere or needs access to other 209 | directories on the host filesystem, you can add them. 210 | 211 | ### Use the VirtualBox GUI 212 | 213 | You can configure shared folders in the VirtualBox UI. 214 | 215 | 1. Open the VirtualBox UI. 216 | 217 | 2. Click the **Settings** gear, then go to **Shared Folders**. 218 | 219 | 3. Select any existing listing under **Machine Folders**, then 220 | click the **+** icon. 221 | 222 | * Choose the **Folder Path** on the host, enter the **Folder Name** 223 | for within the VM (or take the default, which is the same name 224 | as on the host), and configure any additional options you need. 225 | 226 | * Choose **Auto-mount** if you want the folder to automatically 227 | be mounted into the VM, and choose **Make Permanent** for it 228 | to be considered a permanently shared folder. 229 | 230 | 4. Click **OK** to add the new folder to the Shared Folders list. 231 | 232 | 5. Click **OK** again to save your changes and exit the Settings dialog. 233 | 234 | ### Use the command line 235 | 236 | You can configure shared folders using a command like the following: 237 | 238 | ```bash 239 | $ mount -t vboxsf -o uid=1000,gid=50 your-other-share-name /some/mount/location 240 | ``` 241 | 242 | This command mounts `/some/mount/location` into the VM at `/your-other-share-hame`, 243 | owned by UID 1000 and GID 50. 244 | 245 | > **Note**: The autommount and permanent mount options are not supported using 246 | > the command line. 247 | 248 | ## How to uninstall Toolbox 249 | 250 | Removing Toolbox involves removing all the Docker components it includes. 251 | 252 | A full uninstall also includes removing the local and remote machines 253 | you created with Docker Machine. In some cases, you might want to keep 254 | machines created with Docker Machine. 255 | 256 | For example, if you plan to re-install Docker Machine as a part of 257 | Docker Desktop for Mac you can continue to manage those machines through 258 | Docker. Or, if you have remote machines on a cloud provider and you 259 | plan to manage them using the provider, you wouldn't want to remove 260 | them. So the step to remove machines is described here as optional. 261 | 262 | To uninstall Toolbox on a Mac, do the following: 263 | 264 | 1. List your machines. 265 | 266 | ``` 267 | $ docker-machine ls 268 | NAME ACTIVE DRIVER STATE URL SWARM 269 | dev * virtualbox Running tcp://192.168.99.100:2376 270 | my-docker-machine virtualbox Stopped 271 | default virtualbox Stopped 272 | ``` 273 | 274 | 2. Optionally, remove each machine. For example: 275 | 276 | ``` 277 | $ docker-machine rm my-docker-machine 278 | Successfully removed my-docker-machine 279 | ``` 280 | 281 | This step is optional because if you plan 282 | to re-install Docker Machine as a part 283 | of [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/), you can import and 284 | continue to manage those machines through Docker. 285 | 286 | 3. In your "Applications" folder, remove the "Docker" directory, 287 | which contains "Docker Quickstart Terminal" and "Kitematic". 288 | 289 | 4. Run the following in a command shell to fully remove Kitematic: 290 | 291 | ``` 292 | $ rm -fr ~/Library/Application\ Support/Kitematic 293 | ``` 294 | 295 | 5. Remove the `docker`, `docker-compose`, and `docker-machine` commands from 296 | the `/usr/local/bin` folder. Docker Desktop for Mac and Brew may also have 297 | installed them; in case of doubt leave them, or reinstall them via Brew, or 298 | rerun Docker Desktop for Mac (no need to reinstall it). 299 | 300 | ``` 301 | $ rm -f /usr/local/bin/docker 302 | $ rm -f /usr/local/bin/docker-compose 303 | $ rm -f /usr/local/bin/docker-machine 304 | ``` 305 | 306 | 6. Optionally, remove the `~/.docker/machine` directory. 307 | 308 | This directory stores some configuration and/or state, such as information 309 | about created machines and certificates. 310 | 311 | 7. Uninstall Oracle VirtualBox, which is installed as a part of the 312 | Toolbox install. 313 | -------------------------------------------------------------------------------- /docs/toolbox_install_windows.md: -------------------------------------------------------------------------------- 1 | --- 2 | description: How to install Toolbox on Mac 3 | keywords: docker, documentation, install, toolbox, win 4 | --- 5 | 6 | # Install Docker Toolbox on Windows 7 | 8 | > ### Deprecation Notice: Docker Toolbox is deprecated 9 | > 10 | > and is no longer in active development. Please use Docker Desktop instead where 11 | > possible. [Docker Desktop](https://www.docker.com/products/docker-desktop) 12 | 13 | Docker Toolbox provides a way to use Docker on Windows systems that do not meet 14 | minimal system requirements for the [Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/) 15 | app. 16 | 17 | ## What you get and how it works 18 | 19 | Docker Toolbox includes the following Docker tools: 20 | 21 | * Docker CLI client for running Docker Engine to create images and containers 22 | * Docker Machine so you can run Docker Engine commands from Windows terminals 23 | * Docker Compose for running the `docker-compose` command 24 | * Kitematic, the Docker GUI 25 | * the Docker QuickStart shell preconfigured for a Docker command-line environment 26 | * Oracle VM VirtualBox 27 | 28 | Because the Docker Engine daemon uses Linux-specific 29 | kernel features, you can't run Docker Engine natively 30 | on Windows. Instead, you must use the Docker Machine 31 | command, `docker-machine`, to create and attach to a 32 | small Linux VM on your machine. This VM hosts Docker Engine 33 | for you on your Windows system. 34 | 35 | >**Tip**: One of the advantages of the newer 36 | [Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/) solution is that 37 | it uses native virtualization and does not require 38 | VirtualBox to run Docker. 39 | 40 | ## Step 1: Check your version 41 | 42 | To run Docker, your machine must have a 64-bit operating system running Windows 7 or higher. Additionally, you must make sure that virtualization is enabled on your machine. 43 | To verify your machine meets these requirements, do the following: 44 | 45 | 1. Right click the windows message and choose **System**. 46 | 47 | If you aren't using a supported version, you could consider upgrading your 48 | operating system. 49 | 50 | If you have a recent version of Windows, 51 | consider using [Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/) instead. It runs 52 | natively on the Windows, so there is no need for a pre-configured Docker 53 | QuickStart shell. It also uses Hyper-V for virtualization, so the 54 | instructions below for checking virtualization will be out of date for newer 55 | Windows systems. Full install prerequisites are provided in the Docker Desktop for 56 | Windows topic in [What to know before you 57 | install](https://docs.docker.com/docker-for-windows/#what-to-know-before-you-install). 58 | 59 | 2. Make sure your Windows system supports Hardware Virtualization Technology and that virtualization is enabled. 60 | 61 |
62 | **For Windows 10** 63 | 64 | Run [Speccy](https://www.piriform.com/speccy){: target="_blank" rel="noopener" class="_"}, and look at the CPU information. 65 | 66 |
67 | **For Windows 8 or 8.1** 68 | 69 | Choose **Start > Task Manager** and navigate to the **Performance** tab. 70 | Under **CPU** you should see the following: 71 | 72 | ![Release page](images/virtualization.png) 73 | 74 | If virtualization is not enabled on your system, follow the manufacturer's instructions for enabling it. 75 | 76 |
77 | **For Windows 7** 78 | 79 | Run a tool like the [Microsoft® Hardware-Assisted Virtualization Detection Tool](https://www.microsoft.com/en-us/download/details.aspx?id=592){: target="_blank" rel="noopener" class="_"} or [Speccy](https://www.piriform.com/speccy){: target="_blank" rel="noopener" class="_"}, and follow the on-screen instructions. 80 |

81 | 3. Verify your Windows OS is 64-bit (x64) 82 | 83 | How you do this verification depends on your Windows version. 84 | For details, see the Windows article [How to determine whether 85 | a computer is running a 32-bit version or 64-bit version of the 86 | Windows operating system](https://support.microsoft.com/en-us/kb/827218). 87 | 88 | ## Step 2: Install Docker Toolbox 89 | 90 | In this section, you install the Docker Toolbox software and several "helper" applications. The installation adds the following software to your machine: 91 | 92 | * Docker Client for Windows 93 | * Docker Toolbox management tool and ISO 94 | * Oracle VM VirtualBox 95 | * Git MSYS-git UNIX tools 96 | 97 | If you have a previous version of VirtualBox installed, do not reinstall it with the Docker Toolbox installer. When prompted, uncheck it. 98 | 99 | If you have Virtual Box running, you must shut it down before running the 100 | installer. 101 | 102 | > **Note**: Docker no longer maintains the download.docker.com url for 103 | > Docker Toolbox, therefore an unsigned warning (verified publisher dialog) is 104 | > displayed during the installation process. 105 | 106 | 1. To download the latest version of Docker Toolbox, go to [Toolbox 107 | Releases](https://github.com/docker/toolbox/releases) and download the 108 | latest `.exe` file. 109 | 110 | 2. Install Docker Toolbox by double-clicking the installer. 111 | 112 | The installer launches the "Setup - Docker Toolbox" dialog. 113 | 114 | If Windows security dialog prompts you to allow the program to make a 115 | change, choose **Yes**. The system displays the **Setup - Docker Toolbox for 116 | Windows** wizard. 117 | 118 | ![Release page](images/installer_open.png) 119 | 120 | 3. Press **Next** to accept all the defaults and then **Install**. 121 | 122 | Accept all the installer defaults. The installer takes a few minutes to install all the components: 123 | 124 | 4. When notified by Windows Security the installer will make changes, make sure you allow the installer to make the necessary changes. 125 | 126 | When it completes, the installer reports it was successful: 127 | 128 | ![Success](images/finish.png) 129 | 130 | 5. Uncheck "View Shortcuts in File Explorer" and press **Finish**. 131 | 132 | 133 | ## Step 3: Verify your installation 134 | 135 | The installer adds Docker Toolbox, VirtualBox, and Kitematic to your 136 | **Applications** folder. In this step, you start Docker Toolbox and run a simple 137 | Docker command. 138 | 139 | 1. On your Desktop, find the Docker QuickStart Terminal icon. 140 | 141 | ![Desktop](images/icon-set.png) 142 | 143 | 2. Click the Docker QuickStart icon to launch a pre-configured Docker Toolbox terminal. 144 | 145 | If the system displays a **User Account Control** prompt to allow VirtualBox to make changes to your computer. Choose **Yes**. 146 | 147 | The terminal does several things to set up Docker Toolbox for you. When it is done, the terminal displays the `$` prompt. 148 | 149 | ![Desktop](images/b2d_shell.png) 150 | 151 | The terminal runs a special `bash` environment instead of the standard Windows command prompt. The `bash` environment is required by Docker. 152 | 153 | 3. Make the terminal active by clicking your mouse next to the `$` prompt. 154 | 155 | If you aren't familiar with a terminal window, here are some quick tips. 156 | 157 | ![/Terminal shell](images/b2d_shell.png) 158 | 159 | The prompt is traditionally a `$` dollar sign. You type commands into the 160 | *command line* which is the area after the prompt. Your cursor is indicated 161 | by a highlighted area or a `|` that appears in the command line. After 162 | typing a command, always press RETURN. 163 | 164 | 4. Type the `docker run hello-world` command and press RETURN. 165 | 166 | The command does some work for you, if everything runs well, the command's 167 | output looks like this: 168 | 169 | $ docker run hello-world 170 | Unable to find image 'hello-world:latest' locally 171 | Pulling repository hello-world 172 | 91c95931e552: Download complete 173 | a8219747be10: Download complete 174 | Status: Downloaded newer image for hello-world:latest 175 | Hello from Docker. 176 | This message shows that your installation appears to be working correctly. 177 | 178 | To generate this message, Docker took the following steps: 179 | 1. The Docker Engine CLI client contacted the Docker Engine daemon. 180 | 2. The Docker Engine daemon pulled the "hello-world" image from the Docker Hub. 181 | (Assuming it was not already locally available.) 182 | 3. The Docker Engine daemon created a new container from that image which runs the 183 | executable that produces the output you are currently reading. 184 | 4. The Docker Engine daemon streamed that output to the Docker Engine CLI client, which sent it 185 | to your terminal. 186 | 187 | To try something more ambitious, you can run an Ubuntu container with: 188 | $ docker run -it ubuntu bash 189 | 190 | For more examples and ideas, visit: 191 | https://docs.docker.com/userguide/ 192 | 193 | ## Looking for troubleshooting help? 194 | 195 | Typically, the above steps work out-of-the-box, but some scenarios can cause problems. If your `docker run hello-world` didn't work and resulted in errors, check out [Troubleshooting](faqs/troubleshoot.md) for quick fixes to common problems. 196 | 197 | A Windows specific problem you might encounter relates to the NDIS6 host network filter driver, which is known to cause issues on some Windows 198 | versions. For Windows Vista systems and newer, VirtualBox installs NDIS6 driver by default. Issues can range from system slowdowns to networking problems for the virtual machine (VM). If you notice problems, **re-run the Docker Toolbox installer**, and select the option to _**install VirtualBox with the NDIS5 driver**_. 199 | 200 | ## Optional: Add shared directories 201 | 202 | By default, Toolbox only has access to the `C:\Users` directory and mounts it into 203 | the VMs at `/c/Users`. 204 | 205 | > **Note**: Within the VM path, `c` is lowercase and the `Users` is capitalized. 206 | 207 | If your project lives elsewhere or needs access to other 208 | directories on the host filesystem, you can add them, using the VirtualBox UI. 209 | 210 | 1. Open the VirtualBox UI. 211 | 212 | 2. Click the **Settings** gear, then go to **Shared Folders**. 213 | 214 | 3. Select any existing listing under **Machine Folders**, then 215 | click the **+** icon. 216 | 217 | * Choose the **Folder Path** on the host, enter the **Folder Name** 218 | for within the VM (or take the default, which is the same name 219 | as on the host), and configure any additional options you need. 220 | 221 | * Choose **Auto-mount** if you want the folder to automatically 222 | be mounted into the VM, and choose **Make Permanent** for it 223 | to be considered a permanently shared folder. 224 | 225 | 4. Click **OK** to add the new folder to the Shared Folders list. 226 | 227 | 5. Click **OK** again to save your changes and exit the Settings dialog. 228 | 229 | ## How to uninstall Toolbox 230 | 231 | Removing Toolbox involves removing all the Docker components it includes. 232 | 233 | A full uninstall also includes removing the local and remote machines you created with Docker Machine. In some cases, you might want to keep machines created with Docker Machine. 234 | 235 | For example, if you plan to re-install Docker Machine as a part of Docker Desktop for Windows you can continue to manage those machines through Docker. Or, if you have remote machines on a cloud provider and you plan to manage them using the provider, you wouldn't want to remove them. So the step to remove machines is described here as optional. 236 | 237 | To uninstall Toolbox on Windows, do the following: 238 | 239 | 1. List your machines. 240 | 241 | ``` 242 | $ docker-machine ls 243 | NAME ACTIVE DRIVER STATE URL SWARM 244 | dev * virtualbox Running tcp://192.168.99.100:2376 245 | my-docker-machine virtualbox Stopped 246 | default virtualbox Stopped 247 | ``` 248 | 249 | 2. Optionally, remove each machine. For example: 250 | 251 | ``` 252 | $ docker-machine rm my-docker-machine 253 | Successfully removed my-docker-machine 254 | ``` 255 | 256 | This step is optional because if you plan to re-install Docker Machine as a 257 | part of [Docker Desktop for Windows](https://docs.docker.com/docker-for-windows/), you can 258 | import and continue to manage those machines through Docker. 259 | 260 | 3. Uninstall Docker Toolbox using Window's standard process for uninstalling programs through the control panel (programs and features). 261 | 262 | >**Note**: This process does not remove the `docker-install.exe` file. You must delete that file yourself. 263 | 264 | 5. Optionally, remove the 265 | `C:\Users\\.docker` directory. 266 | 267 | If you want to remove Docker entirely, you 268 | can verify that the uninstall removed 269 | the `.docker` directory under your user path. 270 | If it is still there, remove it manually. 271 | This directory stores some Docker 272 | program configuration and state, such as 273 | information about created machines and 274 | certificates. You usually don't need to remove this directory. 275 | 276 | 6. Uninstall Oracle VirtualBox, which is 277 | installed as a part of the Toolbox install. 278 | 279 | -------------------------------------------------------------------------------- /windows/Toolbox.iss: -------------------------------------------------------------------------------- 1 | #define MyAppName "Docker Toolbox" 2 | #define MyAppPublisher "Docker" 3 | #define MyAppURL "https://docker.com" 4 | #define MyAppContact "https://docker.com" 5 | 6 | #define b2dIsoPath "..\bundle\boot2docker.iso" 7 | #define dockerCli "..\bundle\docker.exe" 8 | #define dockerMachineCli "..\bundle\docker-machine.exe" 9 | #define dockerComposeCli "..\bundle\docker-compose.exe" 10 | #define kitematic "..\bundle\kitematic" 11 | #define git "..\bundle\Git.exe" 12 | #define virtualBoxCommon "..\bundle\common.cab" 13 | #define virtualBoxMsi "..\bundle\VirtualBox_amd64.msi" 14 | 15 | [Setup] 16 | AppCopyright={#MyAppPublisher} 17 | AppId={{FC4417F0-D7F3-48DB-BCE1-F5ED5BAFFD91} 18 | AppContact={#MyAppContact} 19 | AppComments={#MyAppURL} 20 | AppName={#MyAppName} 21 | AppVersion={#MyAppVersion} 22 | AppPublisher={#MyAppPublisher} 23 | AppPublisherURL={#MyAppURL} 24 | AppSupportURL={#MyAppURL} 25 | AppUpdatesURL={#MyAppURL} 26 | ArchitecturesAllowed=x64 27 | ArchitecturesInstallIn64BitMode=x64 28 | DefaultDirName={pf}\{#MyAppName} 29 | DefaultGroupName=Docker 30 | DisableProgramGroupPage=yes 31 | DisableWelcomePage=no 32 | OutputBaseFilename=DockerToolbox 33 | Compression=lzma 34 | SolidCompression=yes 35 | WizardImageFile=windows-installer-side.bmp 36 | WizardSmallImageFile=windows-installer-logo.bmp 37 | WizardImageStretch=yes 38 | UninstallDisplayIcon={app}\unins000.exe 39 | SetupIconFile=toolbox.ico 40 | ChangesEnvironment=true 41 | 42 | [Languages] 43 | Name: "english"; MessagesFile: "compiler:Default.isl" 44 | 45 | [Types] 46 | Name: "full"; Description: "Full installation" 47 | Name: "custom"; Description: "Custom installation"; Flags: iscustom 48 | 49 | [Run] 50 | Filename: "{win}\explorer.exe"; Parameters: "{userprograms}\Docker\"; Flags: postinstall skipifsilent; Description: "View Shortcuts in File Explorer" 51 | 52 | [Tasks] 53 | Name: desktopicon; Description: "{cm:CreateDesktopIcon}" 54 | Name: modifypath; Description: "Add docker binaries to &PATH" 55 | Name: upgradevm; Description: "Upgrade Boot2Docker VM" 56 | Name: vbox_ndis5; Description: "Install VirtualBox with NDIS5 driver[default NDIS6]"; Components: VirtualBox; Flags: unchecked 57 | 58 | [Components] 59 | Name: "Docker"; Description: "Docker Client for Windows" ; Types: full custom; Flags: fixed 60 | Name: "DockerMachine"; Description: "Docker Machine for Windows" ; Types: full custom; Flags: fixed 61 | Name: "DockerCompose"; Description: "Docker Compose for Windows" ; Types: full custom 62 | Name: "VirtualBox"; Description: "VirtualBox"; Types: full custom; Flags: disablenouninstallwarning 63 | Name: "Kitematic"; Description: "Kitematic for Windows (Alpha)" ; Types: full custom 64 | Name: "Git"; Description: "Git for Windows"; Types: full custom; Flags: disablenouninstallwarning 65 | 66 | [Files] 67 | Source: ".\docker-quickstart-terminal.ico"; DestDir: "{app}"; Flags: ignoreversion 68 | Source: "{#dockerCli}"; DestDir: "{app}"; Flags: ignoreversion; Components: "Docker" 69 | Source: ".\start.sh"; DestDir: "{app}"; Flags: ignoreversion; Components: "Docker" 70 | Source: ".\docker-start.cmd"; DestDir: "{app}"; Flags: ignoreversion; Components: "Docker" 71 | Source: "{#dockerMachineCli}"; DestDir: "{app}"; Flags: ignoreversion; Components: "DockerMachine" 72 | Source: "{#dockerComposeCli}"; DestDir: "{app}"; Flags: ignoreversion; Components: "DockerCompose" 73 | Source: "{#kitematic}\*"; DestDir: "{app}\kitematic"; Flags: ignoreversion recursesubdirs; Components: "Kitematic" 74 | Source: "{#b2dIsoPath}"; DestDir: "{app}"; Flags: ignoreversion; Components: "DockerMachine"; AfterInstall: CopyBoot2DockerISO() 75 | Source: "{#git}"; DestDir: "{app}\installers\git"; DestName: "git.exe"; AfterInstall: RunInstallGit(); Components: "Git" 76 | Source: "{#virtualBoxCommon}"; DestDir: "{app}\installers\virtualbox"; Components: "VirtualBox" 77 | Source: "{#virtualBoxMsi}"; DestDir: "{app}\installers\virtualbox"; DestName: "virtualbox.msi"; AfterInstall: RunInstallVirtualBox(); Components: "VirtualBox" 78 | 79 | [Icons] 80 | Name: "{userprograms}\Docker\Kitematic (Alpha)"; WorkingDir: "{app}"; Filename: "{app}\kitematic\Kitematic.exe"; Components: "Kitematic" 81 | Name: "{commondesktop}\Kitematic (Alpha)"; WorkingDir: "{app}"; Filename: "{app}\kitematic\Kitematic.exe"; Tasks: desktopicon; Components: "Kitematic" 82 | Name: "{userprograms}\Docker\Docker Quickstart Terminal"; WorkingDir: "{app}"; Filename: "{pf64}\Git\bin\bash.exe"; Parameters: "--login -i ""{app}\start.sh"""; IconFilename: "{app}/docker-quickstart-terminal.ico"; Components: "Docker" 83 | Name: "{commondesktop}\Docker Quickstart Terminal"; WorkingDir: "{app}"; Filename: "{pf64}\Git\bin\bash.exe"; Parameters: "--login -i ""{app}\start.sh"""; IconFilename: "{app}/docker-quickstart-terminal.ico"; Tasks: desktopicon; Components: "Docker" 84 | 85 | [UninstallRun] 86 | Filename: "{app}\docker-machine.exe"; Parameters: "rm -f default" 87 | Filename: "{sys}\reg.exe"; Parameters: "delete HKCU\Environment /F /V DOCKER_CERT_PATH"; WorkingDir: "{sys}" 88 | Filename: "{sys}\reg.exe"; Parameters: "delete HKCU\Environment /F /V DOCKER_HOST"; WorkingDir: "{sys}" 89 | Filename: "{sys}\reg.exe"; Parameters: "delete HKCU\Environment /F /V DOCKER_MACHINE_NAME"; WorkingDir: "{sys}" 90 | Filename: "{sys}\reg.exe"; Parameters: "delete HKCU\Environment /F /V DOCKER_TLS_VERIFY"; WorkingDir: "{sys}" 91 | Filename: "{sys}\reg.exe"; Parameters: "delete HKCU\Environment /F /V NO_PROXY"; WorkingDir: "{sys}" 92 | 93 | [UninstallDelete] 94 | Type: filesandordirs; Name: "{localappdata}\..\Roaming\Kitematic" 95 | 96 | [Registry] 97 | Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName:"DOCKER_TOOLBOX_INSTALL_PATH"; ValueData:"{app}" ; Flags: preservestringtype uninsdeletevalue; 98 | Root: HKCU; Subkey: "Environment"; ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}" 99 | 100 | [Code] 101 | #include "base64.iss" 102 | #include "guid.iss" 103 | 104 | var 105 | TrackingDisabled: Boolean; 106 | TrackingCheckBox: TNewCheckBox; 107 | 108 | function uuid(): String; 109 | var 110 | dirpath: String; 111 | filepath: String; 112 | ansiresult: AnsiString; 113 | begin 114 | dirpath := ExpandConstant('{userappdata}\DockerToolbox'); 115 | filepath := dirpath + '\id.txt'; 116 | ForceDirectories(dirpath); 117 | 118 | Result := ''; 119 | if FileExists(filepath) then 120 | LoadStringFromFile(filepath, ansiresult); 121 | Result := String(ansiresult) 122 | 123 | if Length(Result) = 0 then 124 | Result := GetGuid(''); 125 | StringChangeEx(Result, '{', '', True); 126 | StringChangeEx(Result, '}', '', True); 127 | SaveStringToFile(filepath, AnsiString(Result), False); 128 | end; 129 | 130 | function WindowsVersionString(): String; 131 | var 132 | ResultCode: Integer; 133 | lines : TArrayOfString; 134 | begin 135 | if not Exec(ExpandConstant('{cmd}'), ExpandConstant('/c wmic os get caption | more +1 > C:\windows-version.txt'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode) then begin 136 | Result := 'N/A'; 137 | exit; 138 | end; 139 | 140 | if LoadStringsFromFile(ExpandConstant('C:\windows-version.txt'), lines) then begin 141 | Result := lines[0]; 142 | end else begin 143 | Result := 'N/A' 144 | end; 145 | end; 146 | 147 | procedure TrackEventWithProperties(name: String; properties: String); 148 | var 149 | payload: String; 150 | WinHttpReq: Variant; 151 | begin 152 | if TrackingDisabled or WizardSilent() then 153 | exit; 154 | 155 | if Length(properties) > 0 then 156 | properties := ', ' + properties; 157 | 158 | try 159 | payload := Encode64(Format(ExpandConstant('{{"event": "%s", "properties": {{"token": "{#MixpanelToken}", "distinct_id": "%s", "os": "win32", "os version": "%s", "version": "{#MyAppVersion}" %s}}'), [name, uuid(), WindowsVersionString(), properties])); 160 | WinHttpReq := CreateOleObject('WinHttp.WinHttpRequest.5.1'); 161 | WinHttpReq.Open('POST', 'https://api.mixpanel.com/track/?data=' + payload, false); 162 | WinHttpReq.SetRequestHeader('Content-Type', 'application/json'); 163 | WinHttpReq.Send(''); 164 | except 165 | end; 166 | end; 167 | 168 | procedure TrackEvent(name: String); 169 | begin 170 | TrackEventWithProperties(name, ''); 171 | end; 172 | 173 | function NeedToInstallVirtualBox(): Boolean; 174 | begin 175 | // TODO: Also compare versions 176 | Result := ( 177 | (GetEnv('VBOX_INSTALL_PATH') = '') 178 | and 179 | (GetEnv('VBOX_MSI_INSTALL_PATH') = '') 180 | ); 181 | end; 182 | 183 | function VBoxPath(): String; 184 | begin 185 | if GetEnv('VBOX_INSTALL_PATH') <> '' then 186 | Result := GetEnv('VBOX_INSTALL_PATH') 187 | else 188 | Result := GetEnv('VBOX_MSI_INSTALL_PATH') 189 | end; 190 | 191 | function NeedToInstallGit(): Boolean; 192 | begin 193 | // TODO: Find a better way to see if Git is installed 194 | Result := not DirExists('C:\Program Files\Git') or not FileExists('C:\Program Files\Git\git-bash.exe') 195 | end; 196 | 197 | procedure InitializeWizard; 198 | var 199 | WelcomePage: TWizardPage; 200 | TrackingLabel: TLabel; 201 | begin 202 | 203 | WelcomePage := PageFromID(wpWelcome) 204 | 205 | WizardForm.WelcomeLabel2.AutoSize := True; 206 | 207 | TrackingCheckBox := TNewCheckBox.Create(WizardForm); 208 | TrackingCheckBox.Top := WizardForm.WelcomeLabel2.Top + WizardForm.WelcomeLabel2.Height + 10; 209 | TrackingCheckBox.Left := WizardForm.WelcomeLabel2.Left; 210 | TrackingCheckBox.Width := WizardForm.WelcomeLabel2.Width; 211 | TrackingCheckBox.Height := 28; 212 | TrackingCheckBox.Caption := 'Help Docker improve Toolbox.'; 213 | TrackingCheckBox.Checked := True; 214 | TrackingCheckBox.Parent := WelcomePage.Surface; 215 | 216 | TrackingLabel := TLabel.Create(WizardForm); 217 | TrackingLabel.Parent := WelcomePage.Surface; 218 | TrackingLabel.Font := WizardForm.WelcomeLabel2.Font; 219 | TrackingLabel.Font.Color := clGray; 220 | TrackingLabel.Caption := 'This collects anonymous data to help us detect installation problems and improve the overall experience. We only use it to aggregate statistics and will never share it with third parties.'; 221 | TrackingLabel.WordWrap := True; 222 | TrackingLabel.Visible := True; 223 | TrackingLabel.Left := WizardForm.WelcomeLabel2.Left; 224 | TrackingLabel.Width := WizardForm.WelcomeLabel2.Width; 225 | TrackingLabel.Top := TrackingCheckBox.Top + TrackingCheckBox.Height + 5; 226 | TrackingLabel.Height := 100; 227 | 228 | // Don't do this until we can compare versions 229 | // Wizardform.ComponentsList.Checked[3] := NeedToInstallVirtualBox(); 230 | Wizardform.ComponentsList.ItemEnabled[3] := not NeedToInstallVirtualBox(); 231 | Wizardform.ComponentsList.Checked[5] := NeedToInstallGit(); 232 | end; 233 | 234 | function InitializeSetup(): boolean; 235 | begin 236 | TrackEvent('Installer Started'); 237 | Result := True; 238 | end; 239 | 240 | function NextButtonClick(CurPageID: Integer): Boolean; 241 | begin 242 | if CurPageID = wpWelcome then begin 243 | if TrackingCheckBox.Checked then begin 244 | TrackEventWithProperties('Continued from Overview', '"Tracking Enabled": "Yes"'); 245 | TrackingDisabled := False; 246 | DeleteFile(ExpandConstant('{userappdata}\..\.docker\machine\no-error-report')); 247 | end else begin 248 | TrackEventWithProperties('Continued from Overview', '"Tracking Enabled": "No"'); 249 | TrackingDisabled := True; 250 | CreateDir(ExpandConstant('{userappdata}\..\.docker\machine')); 251 | SaveStringToFile(ExpandConstant('{userappdata}\..\.docker\machine\no-error-report'), '', False); 252 | end; 253 | end; 254 | Result := True 255 | end; 256 | 257 | procedure RunInstallVirtualBox(); 258 | var 259 | ResultCode: Integer; 260 | begin 261 | WizardForm.FilenameLabel.Caption := 'installing VirtualBox' 262 | if IsTaskSelected('vbox_ndis5') then begin 263 | if not Exec(ExpandConstant('msiexec'), ExpandConstant('/qn /i "{app}\installers\virtualbox\virtualbox.msi" NETWORKTYPE=NDIS5 /norestart'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode) then 264 | MsgBox('virtualbox install failure', mbInformation, MB_OK); 265 | end else begin 266 | if not Exec(ExpandConstant('msiexec'), ExpandConstant('/qn /i "{app}\installers\virtualbox\virtualbox.msi" /norestart'), '', SW_HIDE, ewWaitUntilTerminated, ResultCode) then 267 | MsgBox('virtualbox install failure', mbInformation, MB_OK); 268 | end; 269 | end; 270 | 271 | procedure RunInstallGit(); 272 | var 273 | ResultCode: Integer; 274 | begin 275 | WizardForm.FilenameLabel.Caption := 'installing Git for Windows' 276 | if Exec(ExpandConstant('{app}\installers\git\git.exe'), '/sp- /verysilent /norestart', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) then 277 | begin 278 | // handle success if necessary; ResultCode contains the exit code 279 | //MsgBox('git installed OK', mbInformation, MB_OK); 280 | end 281 | else begin 282 | // handle failure if necessary; ResultCode contains the error code 283 | MsgBox('git install failure', mbInformation, MB_OK); 284 | end; 285 | end; 286 | 287 | procedure CopyBoot2DockerISO(); 288 | begin 289 | WizardForm.FilenameLabel.Caption := 'copying boot2docker iso' 290 | if not ForceDirectories(ExpandConstant('{userappdata}\..\.docker\machine\cache')) then 291 | MsgBox('Failed to create docker machine cache dir', mbError, MB_OK); 292 | if not FileCopy(ExpandConstant('{app}\boot2docker.iso'), ExpandConstant('{userappdata}\..\.docker\machine\cache\boot2docker.iso'), false) then 293 | MsgBox('File moving failed!', mbError, MB_OK); 294 | end; 295 | 296 | function CanUpgradeVM(): Boolean; 297 | var 298 | ResultCode: Integer; 299 | begin 300 | if NeedToInstallVirtualBox() or not FileExists(ExpandConstant('{app}\docker-machine.exe')) then begin 301 | Result := false 302 | exit 303 | end; 304 | 305 | ExecAsOriginalUser(VBoxPath() + 'VBoxManage.exe', 'showvminfo default', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) 306 | if ResultCode <> 0 then begin 307 | Result := false 308 | exit 309 | end; 310 | 311 | if not DirExists(ExpandConstant('{userappdata}\..\.docker\machine\machines\default')) then begin 312 | Result := false 313 | exit 314 | end; 315 | 316 | Result := true 317 | end; 318 | 319 | function UpgradeVM() : Boolean; 320 | var 321 | ResultCode: Integer; 322 | begin 323 | TrackEvent('VM Upgrade Started'); 324 | WizardForm.StatusLabel.Caption := 'Upgrading Docker Toolbox VM...' 325 | ExecAsOriginalUser(ExpandConstant('{app}\docker-machine.exe'), 'stop default', '', SW_HIDE, ewWaitUntilTerminated, ResultCode) 326 | if (ResultCode = 0) or (ResultCode = 1) then 327 | begin 328 | FileCopy(ExpandConstant('{userappdata}\..\.docker\machine\cache\boot2docker.iso'), ExpandConstant('{userappdata}\..\.docker\machine\machines\default\boot2docker.iso'), false) 329 | TrackEvent('VM Upgrade Succeeded'); 330 | end 331 | else begin 332 | TrackEvent('VM Upgrade Failed'); 333 | MsgBox('VM Upgrade Failed because the VirtualBox VM could not be stopped.', mbCriticalError, MB_OK); 334 | Result := false 335 | WizardForm.Close; 336 | exit; 337 | end; 338 | Result := true 339 | end; 340 | 341 | const 342 | ModPathName = 'modifypath'; 343 | ModPathType = 'user'; 344 | 345 | function ModPathDir(): TArrayOfString; 346 | begin 347 | setArrayLength(Result, 1); 348 | Result[0] := ExpandConstant('{app}'); 349 | end; 350 | #include "modpath.iss" 351 | 352 | procedure CurStepChanged(CurStep: TSetupStep); 353 | var 354 | Success: Boolean; 355 | begin 356 | Success := True; 357 | if CurStep = ssPostInstall then 358 | begin 359 | trackEvent('Installing Files Succeeded'); 360 | if IsTaskSelected(ModPathName) then 361 | ModPath(); 362 | if not WizardSilent() then 363 | begin 364 | if IsTaskSelected('upgradevm') then 365 | begin 366 | if CanUpgradeVM() then begin 367 | Success := UpgradeVM(); 368 | end; 369 | end; 370 | end; 371 | 372 | if Success then 373 | trackEvent('Installer Finished'); 374 | end; 375 | end; 376 | -------------------------------------------------------------------------------- /LICENSE/ORACLE_VIRTUALBOX_LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | 294 | Copyright (C) 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | , 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /osx/installerplugins/installerplugins.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1B4C91B91B85198100A06068 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1B4C91B71B85198100A06068 /* InfoPlist.strings */; }; 11 | 1B4C91BC1B85198100A06068 /* quickstartpluginPane.m in Sources */ = {isa = PBXBuildFile; fileRef = 1B4C91BB1B85198100A06068 /* quickstartpluginPane.m */; }; 12 | 1B4C91BF1B85198100A06068 /* quickstartplugin.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1B4C91BD1B85198100A06068 /* quickstartplugin.xib */; }; 13 | 1B4C91C21B85198100A06068 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1B4C91C01B85198100A06068 /* Localizable.strings */; }; 14 | 1B4C91C41B85198100A06068 /* InstallerSections.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1B4C91C31B85198100A06068 /* InstallerSections.plist */; }; 15 | 1B8417E91B85261F00B1FA4D /* kitematic.png in Resources */ = {isa = PBXBuildFile; fileRef = 1B8417E71B85261F00B1FA4D /* kitematic.png */; }; 16 | 1B8417EA1B85261F00B1FA4D /* quickstart.png in Resources */ = {isa = PBXBuildFile; fileRef = 1B8417E81B85261F00B1FA4D /* quickstart.png */; }; 17 | 1BF102C11B8BDEDA00FCB650 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1BF102BF1B8BDEDA00FCB650 /* InfoPlist.strings */; }; 18 | 1BF102C41B8BDEDA00FCB650 /* overviewpluginPane.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BF102C31B8BDEDA00FCB650 /* overviewpluginPane.m */; }; 19 | 1BF102C71B8BDEDA00FCB650 /* overviewplugin.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1BF102C51B8BDEDA00FCB650 /* overviewplugin.xib */; }; 20 | 1BF102CA1B8BDEDA00FCB650 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1BF102C81B8BDEDA00FCB650 /* Localizable.strings */; }; 21 | 1BF102CC1B8BDEDA00FCB650 /* InstallerSections.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1BF102CB1B8BDEDA00FCB650 /* InstallerSections.plist */; }; 22 | 1BF102D11B8BDF4D00FCB650 /* overview.html in Resources */ = {isa = PBXBuildFile; fileRef = 1BF102D01B8BDF4D00FCB650 /* overview.html */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 1B4C915E1B85023200A06068 /* mixpanel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = mixpanel.h; path = common/mixpanel.h; sourceTree = ""; }; 27 | 1B4C91B31B85198100A06068 /* quickstartplugin.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = quickstartplugin.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | 1B4C91B61B85198100A06068 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 29 | 1B4C91B81B85198100A06068 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 30 | 1B4C91BA1B85198100A06068 /* quickstartpluginPane.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = quickstartpluginPane.h; sourceTree = ""; }; 31 | 1B4C91BB1B85198100A06068 /* quickstartpluginPane.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = quickstartpluginPane.m; sourceTree = ""; }; 32 | 1B4C91BE1B85198100A06068 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/quickstartplugin.xib; sourceTree = ""; }; 33 | 1B4C91C11B85198100A06068 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 34 | 1B4C91C31B85198100A06068 /* InstallerSections.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = InstallerSections.plist; sourceTree = ""; }; 35 | 1B8417E71B85261F00B1FA4D /* kitematic.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = kitematic.png; sourceTree = ""; }; 36 | 1B8417E81B85261F00B1FA4D /* quickstart.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = quickstart.png; sourceTree = ""; }; 37 | 1BF102BB1B8BDEDA00FCB650 /* overviewplugin.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = overviewplugin.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 1BF102BE1B8BDEDA00FCB650 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 39 | 1BF102C01B8BDEDA00FCB650 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 40 | 1BF102C21B8BDEDA00FCB650 /* overviewpluginPane.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = overviewpluginPane.h; sourceTree = ""; }; 41 | 1BF102C31B8BDEDA00FCB650 /* overviewpluginPane.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = overviewpluginPane.m; sourceTree = ""; }; 42 | 1BF102C61B8BDEDA00FCB650 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/overviewplugin.xib; sourceTree = ""; }; 43 | 1BF102C91B8BDEDA00FCB650 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 44 | 1BF102CB1B8BDEDA00FCB650 /* InstallerSections.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = InstallerSections.plist; sourceTree = ""; }; 45 | 1BF102D01B8BDF4D00FCB650 /* overview.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = overview.html; sourceTree = ""; }; 46 | /* End PBXFileReference section */ 47 | 48 | /* Begin PBXFrameworksBuildPhase section */ 49 | 1B4C91B01B85198100A06068 /* Frameworks */ = { 50 | isa = PBXFrameworksBuildPhase; 51 | buildActionMask = 2147483647; 52 | files = ( 53 | ); 54 | runOnlyForDeploymentPostprocessing = 0; 55 | }; 56 | 1BF102B81B8BDEDA00FCB650 /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | /* End PBXFrameworksBuildPhase section */ 64 | 65 | /* Begin PBXGroup section */ 66 | 1B4C90691B84FDEB00A06068 = { 67 | isa = PBXGroup; 68 | children = ( 69 | 1BF102BB1B8BDEDA00FCB650 /* overviewplugin.bundle */, 70 | 1B4C91B31B85198100A06068 /* quickstartplugin.bundle */, 71 | 1BF102BC1B8BDEDA00FCB650 /* overviewplugin */, 72 | 1B4C91B41B85198100A06068 /* quickstartplugin */, 73 | 1B4C915D1B85021200A06068 /* common */, 74 | ); 75 | sourceTree = ""; 76 | }; 77 | 1B4C915D1B85021200A06068 /* common */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | 1B4C915E1B85023200A06068 /* mixpanel.h */, 81 | ); 82 | name = common; 83 | sourceTree = ""; 84 | }; 85 | 1B4C91B41B85198100A06068 /* quickstartplugin */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 1B8417E71B85261F00B1FA4D /* kitematic.png */, 89 | 1B8417E81B85261F00B1FA4D /* quickstart.png */, 90 | 1B4C91BA1B85198100A06068 /* quickstartpluginPane.h */, 91 | 1B4C91BB1B85198100A06068 /* quickstartpluginPane.m */, 92 | 1B4C91BD1B85198100A06068 /* quickstartplugin.xib */, 93 | 1B4C91C01B85198100A06068 /* Localizable.strings */, 94 | 1B4C91C31B85198100A06068 /* InstallerSections.plist */, 95 | 1B4C91B51B85198100A06068 /* Supporting Files */, 96 | ); 97 | path = quickstartplugin; 98 | sourceTree = ""; 99 | }; 100 | 1B4C91B51B85198100A06068 /* Supporting Files */ = { 101 | isa = PBXGroup; 102 | children = ( 103 | 1B4C91B61B85198100A06068 /* Info.plist */, 104 | 1B4C91B71B85198100A06068 /* InfoPlist.strings */, 105 | ); 106 | name = "Supporting Files"; 107 | sourceTree = ""; 108 | }; 109 | 1BF102BC1B8BDEDA00FCB650 /* overviewplugin */ = { 110 | isa = PBXGroup; 111 | children = ( 112 | 1BF102C21B8BDEDA00FCB650 /* overviewpluginPane.h */, 113 | 1BF102C31B8BDEDA00FCB650 /* overviewpluginPane.m */, 114 | 1BF102C51B8BDEDA00FCB650 /* overviewplugin.xib */, 115 | 1BF102C81B8BDEDA00FCB650 /* Localizable.strings */, 116 | 1BF102CB1B8BDEDA00FCB650 /* InstallerSections.plist */, 117 | 1BF102D01B8BDF4D00FCB650 /* overview.html */, 118 | 1BF102BD1B8BDEDA00FCB650 /* Supporting Files */, 119 | ); 120 | path = overviewplugin; 121 | sourceTree = ""; 122 | }; 123 | 1BF102BD1B8BDEDA00FCB650 /* Supporting Files */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 1BF102BE1B8BDEDA00FCB650 /* Info.plist */, 127 | 1BF102BF1B8BDEDA00FCB650 /* InfoPlist.strings */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | /* End PBXGroup section */ 133 | 134 | /* Begin PBXNativeTarget section */ 135 | 1B4C91B21B85198100A06068 /* quickstartplugin */ = { 136 | isa = PBXNativeTarget; 137 | buildConfigurationList = 1B4C91C51B85198100A06068 /* Build configuration list for PBXNativeTarget "quickstartplugin" */; 138 | buildPhases = ( 139 | 1B4C91AF1B85198100A06068 /* Sources */, 140 | 1B4C91B01B85198100A06068 /* Frameworks */, 141 | 1B4C91B11B85198100A06068 /* Resources */, 142 | ); 143 | buildRules = ( 144 | ); 145 | dependencies = ( 146 | ); 147 | name = quickstartplugin; 148 | productName = quickstartplugin; 149 | productReference = 1B4C91B31B85198100A06068 /* quickstartplugin.bundle */; 150 | productType = "com.apple.product-type.bundle"; 151 | }; 152 | 1BF102BA1B8BDEDA00FCB650 /* overviewplugin */ = { 153 | isa = PBXNativeTarget; 154 | buildConfigurationList = 1BF102CD1B8BDEDA00FCB650 /* Build configuration list for PBXNativeTarget "overviewplugin" */; 155 | buildPhases = ( 156 | 1BF102B71B8BDEDA00FCB650 /* Sources */, 157 | 1BF102B81B8BDEDA00FCB650 /* Frameworks */, 158 | 1BF102B91B8BDEDA00FCB650 /* Resources */, 159 | ); 160 | buildRules = ( 161 | ); 162 | dependencies = ( 163 | ); 164 | name = overviewplugin; 165 | productName = overviewplugin; 166 | productReference = 1BF102BB1B8BDEDA00FCB650 /* overviewplugin.bundle */; 167 | productType = "com.apple.product-type.bundle"; 168 | }; 169 | /* End PBXNativeTarget section */ 170 | 171 | /* Begin PBXProject section */ 172 | 1B4C906A1B84FDEB00A06068 /* Project object */ = { 173 | isa = PBXProject; 174 | attributes = { 175 | LastUpgradeCheck = 0700; 176 | ORGANIZATIONNAME = "Docker Inc"; 177 | TargetAttributes = { 178 | 1B4C91B21B85198100A06068 = { 179 | CreatedOnToolsVersion = 6.4; 180 | }; 181 | 1BF102BA1B8BDEDA00FCB650 = { 182 | CreatedOnToolsVersion = 6.4; 183 | }; 184 | }; 185 | }; 186 | buildConfigurationList = 1B4C906D1B84FDEB00A06068 /* Build configuration list for PBXProject "installerplugins" */; 187 | compatibilityVersion = "Xcode 3.2"; 188 | developmentRegion = English; 189 | hasScannedForEncodings = 0; 190 | knownRegions = ( 191 | en, 192 | Base, 193 | ); 194 | mainGroup = 1B4C90691B84FDEB00A06068; 195 | productRefGroup = 1B4C90691B84FDEB00A06068; 196 | projectDirPath = ""; 197 | projectRoot = ""; 198 | targets = ( 199 | 1B4C91B21B85198100A06068 /* quickstartplugin */, 200 | 1BF102BA1B8BDEDA00FCB650 /* overviewplugin */, 201 | ); 202 | }; 203 | /* End PBXProject section */ 204 | 205 | /* Begin PBXResourcesBuildPhase section */ 206 | 1B4C91B11B85198100A06068 /* Resources */ = { 207 | isa = PBXResourcesBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | 1B4C91B91B85198100A06068 /* InfoPlist.strings in Resources */, 211 | 1B4C91C21B85198100A06068 /* Localizable.strings in Resources */, 212 | 1B8417EA1B85261F00B1FA4D /* quickstart.png in Resources */, 213 | 1B4C91BF1B85198100A06068 /* quickstartplugin.xib in Resources */, 214 | 1B4C91C41B85198100A06068 /* InstallerSections.plist in Resources */, 215 | 1B8417E91B85261F00B1FA4D /* kitematic.png in Resources */, 216 | ); 217 | runOnlyForDeploymentPostprocessing = 0; 218 | }; 219 | 1BF102B91B8BDEDA00FCB650 /* Resources */ = { 220 | isa = PBXResourcesBuildPhase; 221 | buildActionMask = 2147483647; 222 | files = ( 223 | 1BF102C11B8BDEDA00FCB650 /* InfoPlist.strings in Resources */, 224 | 1BF102CA1B8BDEDA00FCB650 /* Localizable.strings in Resources */, 225 | 1BF102C71B8BDEDA00FCB650 /* overviewplugin.xib in Resources */, 226 | 1BF102CC1B8BDEDA00FCB650 /* InstallerSections.plist in Resources */, 227 | 1BF102D11B8BDF4D00FCB650 /* overview.html in Resources */, 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | }; 231 | /* End PBXResourcesBuildPhase section */ 232 | 233 | /* Begin PBXSourcesBuildPhase section */ 234 | 1B4C91AF1B85198100A06068 /* Sources */ = { 235 | isa = PBXSourcesBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 1B4C91BC1B85198100A06068 /* quickstartpluginPane.m in Sources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 1BF102B71B8BDEDA00FCB650 /* Sources */ = { 243 | isa = PBXSourcesBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 1BF102C41B8BDEDA00FCB650 /* overviewpluginPane.m in Sources */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | /* End PBXSourcesBuildPhase section */ 251 | 252 | /* Begin PBXVariantGroup section */ 253 | 1B4C91B71B85198100A06068 /* InfoPlist.strings */ = { 254 | isa = PBXVariantGroup; 255 | children = ( 256 | 1B4C91B81B85198100A06068 /* en */, 257 | ); 258 | name = InfoPlist.strings; 259 | sourceTree = ""; 260 | }; 261 | 1B4C91BD1B85198100A06068 /* quickstartplugin.xib */ = { 262 | isa = PBXVariantGroup; 263 | children = ( 264 | 1B4C91BE1B85198100A06068 /* Base */, 265 | ); 266 | name = quickstartplugin.xib; 267 | sourceTree = ""; 268 | }; 269 | 1B4C91C01B85198100A06068 /* Localizable.strings */ = { 270 | isa = PBXVariantGroup; 271 | children = ( 272 | 1B4C91C11B85198100A06068 /* en */, 273 | ); 274 | name = Localizable.strings; 275 | sourceTree = ""; 276 | }; 277 | 1BF102BF1B8BDEDA00FCB650 /* InfoPlist.strings */ = { 278 | isa = PBXVariantGroup; 279 | children = ( 280 | 1BF102C01B8BDEDA00FCB650 /* en */, 281 | ); 282 | name = InfoPlist.strings; 283 | sourceTree = ""; 284 | }; 285 | 1BF102C51B8BDEDA00FCB650 /* overviewplugin.xib */ = { 286 | isa = PBXVariantGroup; 287 | children = ( 288 | 1BF102C61B8BDEDA00FCB650 /* Base */, 289 | ); 290 | name = overviewplugin.xib; 291 | sourceTree = ""; 292 | }; 293 | 1BF102C81B8BDEDA00FCB650 /* Localizable.strings */ = { 294 | isa = PBXVariantGroup; 295 | children = ( 296 | 1BF102C91B8BDEDA00FCB650 /* en */, 297 | ); 298 | name = Localizable.strings; 299 | sourceTree = ""; 300 | }; 301 | /* End PBXVariantGroup section */ 302 | 303 | /* Begin XCBuildConfiguration section */ 304 | 1B4C90851B84FDEB00A06068 /* Debug */ = { 305 | isa = XCBuildConfiguration; 306 | buildSettings = { 307 | ALWAYS_SEARCH_USER_PATHS = NO; 308 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 309 | CLANG_CXX_LIBRARY = "libc++"; 310 | CLANG_ENABLE_MODULES = YES; 311 | CLANG_ENABLE_OBJC_ARC = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_CONSTANT_CONVERSION = YES; 314 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 315 | CLANG_WARN_EMPTY_BODY = YES; 316 | CLANG_WARN_ENUM_CONVERSION = YES; 317 | CLANG_WARN_INT_CONVERSION = YES; 318 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 319 | CLANG_WARN_UNREACHABLE_CODE = YES; 320 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 321 | CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/../mpkg/Plugins"; 322 | COPY_PHASE_STRIP = NO; 323 | DEBUG_INFORMATION_FORMAT = dwarf; 324 | ENABLE_STRICT_OBJC_MSGSEND = YES; 325 | ENABLE_TESTABILITY = YES; 326 | GCC_C_LANGUAGE_STANDARD = gnu99; 327 | GCC_DYNAMIC_NO_PIC = NO; 328 | GCC_NO_COMMON_BLOCKS = YES; 329 | GCC_OPTIMIZATION_LEVEL = 0; 330 | GCC_PREPROCESSOR_DEFINITIONS = ( 331 | "DEBUG=1", 332 | "$(inherited)", 333 | ); 334 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 335 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 336 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 337 | GCC_WARN_UNDECLARED_SELECTOR = YES; 338 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 339 | GCC_WARN_UNUSED_FUNCTION = YES; 340 | GCC_WARN_UNUSED_VARIABLE = YES; 341 | MACOSX_DEPLOYMENT_TARGET = 10.8; 342 | MTL_ENABLE_DEBUG_INFO = YES; 343 | ONLY_ACTIVE_ARCH = YES; 344 | SDKROOT = macosx; 345 | }; 346 | name = Debug; 347 | }; 348 | 1B4C90861B84FDEB00A06068 /* Release */ = { 349 | isa = XCBuildConfiguration; 350 | buildSettings = { 351 | ALWAYS_SEARCH_USER_PATHS = NO; 352 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 353 | CLANG_CXX_LIBRARY = "libc++"; 354 | CLANG_ENABLE_MODULES = YES; 355 | CLANG_ENABLE_OBJC_ARC = YES; 356 | CLANG_WARN_BOOL_CONVERSION = YES; 357 | CLANG_WARN_CONSTANT_CONVERSION = YES; 358 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 359 | CLANG_WARN_EMPTY_BODY = YES; 360 | CLANG_WARN_ENUM_CONVERSION = YES; 361 | CLANG_WARN_INT_CONVERSION = YES; 362 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 363 | CLANG_WARN_UNREACHABLE_CODE = YES; 364 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 365 | CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/../mpkg/Plugins"; 366 | COPY_PHASE_STRIP = NO; 367 | DEBUG_INFORMATION_FORMAT = dwarf; 368 | ENABLE_NS_ASSERTIONS = NO; 369 | ENABLE_STRICT_OBJC_MSGSEND = YES; 370 | GCC_C_LANGUAGE_STANDARD = gnu99; 371 | GCC_NO_COMMON_BLOCKS = YES; 372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 376 | GCC_WARN_UNUSED_FUNCTION = YES; 377 | GCC_WARN_UNUSED_VARIABLE = YES; 378 | MACOSX_DEPLOYMENT_TARGET = 10.8; 379 | MTL_ENABLE_DEBUG_INFO = NO; 380 | SDKROOT = macosx; 381 | }; 382 | name = Release; 383 | }; 384 | 1B4C91C61B85198100A06068 /* Debug */ = { 385 | isa = XCBuildConfiguration; 386 | buildSettings = { 387 | COMBINE_HIDPI_IMAGES = YES; 388 | GCC_PREPROCESSOR_DEFINITIONS = ( 389 | "DEBUG=1", 390 | "$(inherited)", 391 | ); 392 | INFOPLIST_FILE = quickstartplugin/Info.plist; 393 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 394 | MACOSX_DEPLOYMENT_TARGET = 10.8; 395 | PRODUCT_BUNDLE_IDENTIFIER = "com.docker.$(PRODUCT_NAME:rfc1034identifier)"; 396 | PRODUCT_NAME = "$(TARGET_NAME)"; 397 | WRAPPER_EXTENSION = bundle; 398 | }; 399 | name = Debug; 400 | }; 401 | 1B4C91C71B85198100A06068 /* Release */ = { 402 | isa = XCBuildConfiguration; 403 | buildSettings = { 404 | COMBINE_HIDPI_IMAGES = YES; 405 | DEBUG_INFORMATION_FORMAT = dwarf; 406 | INFOPLIST_FILE = quickstartplugin/Info.plist; 407 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 408 | MACOSX_DEPLOYMENT_TARGET = 10.8; 409 | PRODUCT_BUNDLE_IDENTIFIER = "com.docker.$(PRODUCT_NAME:rfc1034identifier)"; 410 | PRODUCT_NAME = "$(TARGET_NAME)"; 411 | WRAPPER_EXTENSION = bundle; 412 | }; 413 | name = Release; 414 | }; 415 | 1BF102CE1B8BDEDA00FCB650 /* Debug */ = { 416 | isa = XCBuildConfiguration; 417 | buildSettings = { 418 | COMBINE_HIDPI_IMAGES = YES; 419 | GCC_PREPROCESSOR_DEFINITIONS = ( 420 | "DEBUG=1", 421 | "$(inherited)", 422 | ); 423 | INFOPLIST_FILE = overviewplugin/Info.plist; 424 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 425 | MACOSX_DEPLOYMENT_TARGET = 10.8; 426 | PRODUCT_BUNDLE_IDENTIFIER = "com.docker.$(PRODUCT_NAME:rfc1034identifier)"; 427 | PRODUCT_NAME = "$(TARGET_NAME)"; 428 | WRAPPER_EXTENSION = bundle; 429 | }; 430 | name = Debug; 431 | }; 432 | 1BF102CF1B8BDEDA00FCB650 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | COMBINE_HIDPI_IMAGES = YES; 436 | DEBUG_INFORMATION_FORMAT = dwarf; 437 | INFOPLIST_FILE = overviewplugin/Info.plist; 438 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 439 | MACOSX_DEPLOYMENT_TARGET = 10.8; 440 | PRODUCT_BUNDLE_IDENTIFIER = "com.docker.$(PRODUCT_NAME:rfc1034identifier)"; 441 | PRODUCT_NAME = "$(TARGET_NAME)"; 442 | WRAPPER_EXTENSION = bundle; 443 | }; 444 | name = Release; 445 | }; 446 | /* End XCBuildConfiguration section */ 447 | 448 | /* Begin XCConfigurationList section */ 449 | 1B4C906D1B84FDEB00A06068 /* Build configuration list for PBXProject "installerplugins" */ = { 450 | isa = XCConfigurationList; 451 | buildConfigurations = ( 452 | 1B4C90851B84FDEB00A06068 /* Debug */, 453 | 1B4C90861B84FDEB00A06068 /* Release */, 454 | ); 455 | defaultConfigurationIsVisible = 0; 456 | defaultConfigurationName = Release; 457 | }; 458 | 1B4C91C51B85198100A06068 /* Build configuration list for PBXNativeTarget "quickstartplugin" */ = { 459 | isa = XCConfigurationList; 460 | buildConfigurations = ( 461 | 1B4C91C61B85198100A06068 /* Debug */, 462 | 1B4C91C71B85198100A06068 /* Release */, 463 | ); 464 | defaultConfigurationIsVisible = 0; 465 | defaultConfigurationName = Release; 466 | }; 467 | 1BF102CD1B8BDEDA00FCB650 /* Build configuration list for PBXNativeTarget "overviewplugin" */ = { 468 | isa = XCConfigurationList; 469 | buildConfigurations = ( 470 | 1BF102CE1B8BDEDA00FCB650 /* Debug */, 471 | 1BF102CF1B8BDEDA00FCB650 /* Release */, 472 | ); 473 | defaultConfigurationIsVisible = 0; 474 | defaultConfigurationName = Release; 475 | }; 476 | /* End XCConfigurationList section */ 477 | }; 478 | rootObject = 1B4C906A1B84FDEB00A06068 /* Project object */; 479 | } 480 | --------------------------------------------------------------------------------