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.
1
2
3
4
|
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:
1
2
3
4
5
6
|
~ > 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.
1
2
3
4
|
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.
1
2
3
4
|
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!
Source: http://blog.couchbase.com/2016/docker-installation-scripts
I have downloaded, but it does not work, I will learn more
It was very helpful to me, I just learned
Thanks for the marvelous posting! I actually enjoyed reading
it, you may be a great author.I will remember to bookmark
your blog and will eventually come back someday. I want to encourage yourself to continue your great work, have
a nice weekend!
I love them so much, thank you very much
I will also introduce to my friends, hope you have a lot of new topics and good meaning
Its like you read my mind! You appear to know a lot approximately
this, such as you wrote the e book in it or something.
Its like you read my mind! You appear to know a lot approximately
this, such as you wrote the e book in it or something.
I feel that you just can do with some % to force the message home a bit,
however instead of that, that is fantastic blog.