Docker Toolbox is cool! It is a single point download that gives you everything to get started with Docker. But it comes with other tools like VirtualBox and Kitematic which you may not want. So what do you do?
You install the tools that you like using CLI. This blog shows how to do exactly that.
All the commands are installed in the /usr/bin/local directory.
Latest Docker CLI
This command downloads and installs the latest Docker CLI.
curl -L https://get.docker.com/builds/Darwin/x86_64/docker-latest > /usr/local/bin/docker && \ chmod +x /usr/local/bin/docker
Another simpler way to install and manage different versions of CLI are using Docker Version Manager or dvm.
DVM provides a decent set of commands:
~ > dvm <TAB> alias help list-alias ls-alias uninstall use current install list-remote ls-remote unload version deactivate list ls unalias upgrade which
Latest Docker Machine
This command downloads and installs the latest Docker Machine.
curl -L https://github.com/docker/machine/releases/download/v0.6.0/docker-machine-Darwin-x86_64 > /usr/local/bin/docker-machine && \ chmod +x /usr/local/bin/docker-machine
Latest Docker Compose
This command downloads and installs the latest Docker Compose.
curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && \ chmod +x /usr/local/bin/docker-compose
Enjoy!
| Reference: | Docker Installation Scripts – CLI, Machine, Compose, Version Manager from our JCG partner Arun Gupta at the Miles to go 2.0 … blog. |
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy
Thank you!
We will contact you soon.
Tags
Docker
👁 Photo of Arun Gupta
Arun GuptaFebruary 29th, 2016Last Updated: February 29th, 2016
Arun GuptaFebruary 29th, 2016Last Updated: February 29th, 2016
0 90 1 minute read

This site uses Akismet to reduce spam. Learn how your comment data is processed.