下载、运行docker

Get the Linux binary

To download the latest version for Linux, use the following URLs:

https://get.docker.com/builds/Linux/i386/docker-latest

https://get.docker.com/builds/Linux/x86_64/docker-latest

To download a specific version for Linux, use the following URL patterns:

https://get.docker.com/builds/Linux/i386/docker-<version>

https://get.docker.com/builds/Linux/x86_64/docker-<version>

For example:

https://get.docker.com/builds/Linux/i386/docker-1.9.1

https://get.docker.com/builds/Linux/x86_64/docker-1.9.1

Get the Mac OS X binary

The Mac OS X binary is only a client. You cannot use it to run the docker daemon. To download the latest version for Mac OS X, use the following URLs:

https://get.docker.com/builds/Darwin/x86_64/docker-latest

To download a specific version for Mac OS X, use the following URL patterns:

https://get.docker.com/builds/Darwin/x86_64/docker-<version>

For example:

https://get.docker.com/builds/Darwin/x86_64/docker-1.9.1

Get the Windows binary

You can only download the Windows client binary for version 1.9.1 onwards. Moreover, the binary is only a client, you cannot use it to run the docker daemon. To download the latest version for Windows, use the following URLs:

https://get.docker.com/builds/Windows/i386/docker-latest.exe

https://get.docker.com/builds/Windows/x86_64/docker-latest.exe

To download a specific version for Windows, use the following URL pattern:

https://get.docker.com/builds/Windows/i386/docker-<version>.exe

https://get.docker.com/builds/Windows/x86_64/docker-<version>.exe

For example:

https://get.docker.com/builds/Windows/i386/docker-1.9.1.exe

https://get.docker.com/builds/Windows/x86_64/docker-1.9.1.exe

Run the Docker daemon

# start the docker in daemon mode from the directory you unpacked
$ sudo ./docker daemon &

 

原文地址:https://www.cnblogs.com/liubin0509/p/5193330.html