Docker Community Forums

Share and learn in the Docker community.

Docker Tools Quickstart app doesn't launch session

docker

(Dale8458) #1

Running Docker QuickStart Terminal does nothing. Yes it does open a shell in iTerm but doesn’t run the startup sh script. No output or messages.


(Jeff Anderson) #2

Do you have any customizations like an alternate default shell?

The quickstart terminal only does a couple things for you and is a completely optional component.

Here’s a workflow that is more of a regular “docker-machine” workflow, which the quickstart terminal uses.

Open a regular terminal, and run this:

docker-machine create -d virtualbox --virtualbox-memory 2048 --virtualbox-disk-size 204800 default

Once that completes, you have a virtualbox VM running docker. To access it, run the following:

eval $(docker-machine env default)

Once that is done, you can run docker commands.

You will need to run that in each terminal session that you’d like to utilize that docker-machine VM on, so some folks end up putting something like this into their .bashrc:

eval $(docker-machine env default)

This will fail if the machine isn’t running, so you could also do something like this:

(docker-machine env default 2>&1 || docker-machine start default) && eval $(docker-machine env default)

Personally, I work with a number of machines provisioned via docker-machine, so I leave this completely out of my .bashrc and manually run the command when I want to switch which host I am working with.


(Dale8458) #3

Hey thanks for the reply

Dale Ackerman
dale8458@ gmail.com