`dscl /Search -read /Users/$USER UserShell | awk '{print $2}'` can output multiple user shells. For me, I have both `/bin/zsh` and `/bin/bash` on two separated line. Then the `USER_SHELL` should become `/bin/zsh /bin/bash`.
```bash
$echo $(dscl /Search -read /Users/$USER UserShell | awk '{print $2}')
> /bin/zsh /bin/bash
```
which can lead to fatal error when you are calling `$USER_SHELL`. Because you will be calling `/bin/zsh` with first parameter as `/bin/bash`.
See #210 for details.
Signed-off-by: tjwudi <webmaster@leapoahead.com>
Docker Toolbox
The Docker Toolbox installs everything you need to get started with Docker on Mac OS X and Windows, including:
| Mac | Windows | Desktop Linux (Help Wanted) | |
|---|---|---|---|
| Docker Client / Engine | Client | Client | Engine |
| Docker Machine | Yes | Yes | Yes |
| Docker Compose | Yes | Coming Soon | Yes |
| Docker Kitematic | Yes | Yes | Coming Soon |
| VirtualBox 5.0 | Yes | Yes | No |
| Delivery Format | .pkg | .exe | script* (cURL) |
Installation and documentation
Documentation for Mac is available here.
Documentation for Windows is available here. Note: Some Windows computers may not have VT-X enabled by default. It is required for VirtualBox. To enable VT-X, please see the guide here..
Toolbox is currently unavailable for Linux; To get started with Docker on Linux, please follow the Linux Getting Started Guide.
Building the Docker Toolbox
Toolbox installers are built using Docker, so you'll need a Docker host set up. For example, using Docker Machine:
$ docker-machine create -d virtualbox toolbox
$ eval "$(docker-machine env toolbox)"
Then, to build the Toolbox for both platforms:
make
Build for a specific platform:
make osx
or
make windows
The resulting installers will be in the dist directory.
Frequently Asked Questions
Do I have to install VirtualBox?
No, you can deselect VirtualBox during installation. It is bundled in case you want to have a working environment for free.
