O'Reilly logo

Configuration Management with Chef-Solo by Naveed ur Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Docker

Currently, Docker is supported only on 64-bit machines. It requires the 3.8 kernel version to execute properly. If you are using Ubuntu 12.04, upgrade the kernel version first, as precision comes with kernel 3.2 by default.

We can upgrade the kernel version using the following command:

$ sudo apt-get install linux-image-generic-lts-raring linux-headers-generic-lts-raring

Note

You can use the mentioned command on Linux 12.04. Ubuntu 14.04 has the 3.8 kernel Version by default.

The Docker installation can be done using the following commands:

$ echo "deb http://get.docker.io/ubuntu docker main" | sudo tee /etc/apt/sources.list.d/docker.list

# Check that HTTPS transport is available to APT
if [ ! -e /usr/lib/apt/methods/https ]; then ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required