Next: install docker on ubuntu-16.04, Up: (dir) [Contents]
This manual is for program, version version.
• install docker on ubuntu-16.04: | ||
• install docker on ubuntu-12.04: |
Next: install docker on ubuntu-12.04, Previous: Top, Up: Top [Contents]
sudo apt-get install docker.io
Previous: install docker on ubuntu-16.04, Up: Top [Contents]
Docker 官网上要求Docker需要在64位版本的Ubuntu上安装,并且还要保证 Ubuntu 内核的最小版本不低于 3.10.
$ uname -a
Linux zxt-ThinkCentre-M81 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get update
$ sudo apt-get install linux-generic-lts-trusty
$ sudo reboot
$ uname -a
Linux zxt-ThinkCentre-M81 3.13.0-116-generic #163~precise1-Ubuntu SMP Fri Mar 31 15:22:04 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
install apparmor
$ sudo apt-get install apparmor
install docker
curl -fsSL https://get.docker.com/ | sh
sudo docker load -i ubuntu_14.04
sudo docker run -v /home/zxt/sdb:/home/sdb -it ubuntu:14.04_android_env /bin/bash
# cat /etc/issue
Ubuntu 14.04.5 LTS \n \l