Docker is an open platform for building, shipping and running distributed applications.
It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications.
Docker requires a Linux host with kernel 3.10 or later, and can be installed manually in most of Memset's supported Linux Operating Systems.
To make things even easier Memset provides a special Ubuntu LTS image that comes with the latest Docker version pre-installed and our registry mirror already configured. Just select the appropriate image in the "Operating System" option in the Miniserver VM® package customisation and you're ready to go.
Memset's registry mirror can be configured in any Docker installation by adding the following command line parameter to docker binary:
Our pre-installed Docker image already has the mirror configured (this can be disabled by editing /etc/default/docker).
It is highly recommended to use the mirror as it speeds up most image deployment.
In our Ubuntu image Docker daemon is managed by upstart, so the usual initctl commands can be used.
You can stop Docker with:
initctl stop docker
And start it again with:
initctl start docker
Other verbs like restart or status can be used too.
First verify the Docker version installed in your server by running:
It will output something like the following:
Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d OS/Arch (client): linux/amd64 Server version: 1.7.1 Server API version: 1.19 Go version (server): go1.4.2 Git commit (server): 786b29d OS/Arch (server): linux/amd64
Then you can try the "hello-world" container with:
docker run --rm hello-world
It will output a "Hello from Docker" message plus some extra information.
Last updated 13 August 2015, 08:11 GMT