Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.
Installation of Docker on ubuntu 64 bit machine
Installing from script:
curl -s https://get.docker.io/ubuntu/ | sudo sh
If above script failed( script is provided by docker.io , so chances are slim), then follow these steps.
Follow these steps:
# install the backported kernel sudo apt-get update sudo apt-get install linux-image-generic-lts-raring linux-headers-generic-lts-raring
# reboot sudo reboot
- First add the Docker repository key to your local keychain.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
- You may receive a warning that the package isn’t trusted. Answer yes to continue installation.
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list" sudo apt-get update sudo apt-get install lxc-docker
- Now verify that the installation has worked by downloading the ubuntu image and launching a container.
sudo docker run -i -t ubuntu /bin/bash
Reference:
- http://docs.docker.io/en/latest/installation/ubuntulinux/#ubuntu-precise
No comments:
Post a Comment