Install Docker on Ubuntu 14.04 LTS
1. Check current kernel version use uname -r uname -r
3.19.0-25-generic
2. Update apt source. apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys
58118E89F3A912897C070ADBF76221572C52609D
3. Open /etc/apt/sources.list.d/docker.list file and Remove existing entries.
vi /etc/apt/sources.list.d/docker.list
if the file doesn't exist, create it.
4. Add below enties.
deb https://apt.dockerproject.org/repo ubuntu-trusty main
5. Save and close.
6. Update Ubuntu pakage
Docker#apt-get update
7. install both the required and optional packages.
Docker#apt-get install linux-image-generic-lts-trusty
8. reboot your host
Docker#reboot
Install Docker
1. Login your Ubuntu Host, as a root or user with sudo privileges.
apt-get update
2. Install Docker
apt-get install docker-engine
3. Verifi Docker Service running.
service docker start
start: Job is already running: docker
docker -v
Docker version 1.9.1, build a34a1d5
댓글 없음:
댓글 쓰기