在ubuntu14上面安装docker
2015-04-18 08:19
405 查看
注意此次是在ubuntu14上面安装的,如果是别的老版本可能需要安装一些依赖,具体看文:
http://docs.docker.com/installation/ubuntulinux/
Installing Docker on Ubuntu
Make sure you have intalled the prerequisites for your Ubuntu version. Then, install Docker using the following:
Log into your Ubuntu installation as a user with sudo privileges.
Verify that you have wget installed.
$ which wget
If wget isn't installed, install it after updating your manager:
$ sudo apt-get update $ sudo apt-get install wget
Get the latest Docker package.
$ wget -qO- https://get.docker.com/ | sh
The system prompts you for your sudo password. Then, it downloads and installs Docker and its dependencies.
then start the docker service:
var/run/docker will be created when you start the docker service:
sudo service docker start
if your system does not have upstart:
sudo /etc/init.d/docker start
Verify docker is installed correctly.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container.
http://docs.docker.com/installation/ubuntulinux/
Installing Docker on Ubuntu
Make sure you have intalled the prerequisites for your Ubuntu version. Then, install Docker using the following:
Log into your Ubuntu installation as a user with sudo privileges.
Verify that you have wget installed.
$ which wget
If wget isn't installed, install it after updating your manager:
$ sudo apt-get update $ sudo apt-get install wget
Get the latest Docker package.
$ wget -qO- https://get.docker.com/ | sh
The system prompts you for your sudo password. Then, it downloads and installs Docker and its dependencies.
then start the docker service:
var/run/docker will be created when you start the docker service:
sudo service docker start
if your system does not have upstart:
sudo /etc/init.d/docker start
Verify docker is installed correctly.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container.
相关文章推荐
- ubuntu 上面Docker 的安装
- ubuntu14.04上面安装docker
- Ubuntu14 Docker安装
- (原)ubuntu14及ubuntu16中安装docker
- ubuntu 14上面安装zabbix 3.0
- Ubuntu14安装JDK8
- Ubuntu15.10安装docker和docker-compose
- Ubuntu 安装docker
- Ubuntu Docker 版本的更新与安装
- 在Ubuntu(16.04)下进行基于Docker的Discourse安装及基本配置
- Ubuntu14 安装搜狗输入法【亲测成功】
- Ubuntu Docker 安装
- 在ubuntu 14. 04下安装MongoDB
- 在 Ubuntu 上安装Docker
- ubuntu14 apt-get 简单 安装 ffmpeg
- ubuntu16.04 server 安装 docker CE
- docker ubuntu镜像安装ssh免登录
- 14. ubuntu 16.04 LTS 安装sqldeveloper
- ubuntu下安装Docker