ubuntu 14.04安装docker
|
先看官网https://docs.docker.com/engine/installation/linux/ubuntulinux/ 登录你的服务器更新源,并且安装apt-transport-https$ sudo apt-get update $ sudo apt-get install apt-transport-https ca-certificates 添加官方docker源$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D 查找以下的的仓库 合适的 替换掉下面的< REPO >Precise 12.04 (LTS) deb https://apt.dockerproject.org/repo ubuntu-precise main Trusty 14.04 (LTS) deb https://apt.dockerproject.org/repo ubuntu-trusty main Wily 15.10 deb https://apt.dockerproject.org/repo ubuntu-wily main Xenial 16.04 (LTS) deb https://apt.dockerproject.org/repo ubuntu-xenial main $ echo "<REPO>" | sudo tee /etc/apt/sources.list.d/docker.list Update the APT package index. $ sudo apt-get update 查看仓库中docker的版本$ apt-cache policy docker-engine docker-engine: 下面开始安装Then,install Docker using the following: 更新源 $ sudo apt-get update 安装 $ sudo apt-get install docker-engine 启动(默认已经启动好了) $ sudo service docker start 检查是否安装好了 $sudo docker run ubuntu /bin/echo 'Hello world' 好多文章都老了 还是看官方文档吧 此文章发布与2016.11.21 (编辑:日照站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 在Ubuntu14.04上安装GMT5
- 错误在R Ubuntu中安装topicmodel
- Ubuntu 17.10安装phpMyAdmin数据库管理工具配置详解
- ubuntu – 远程Mono服务器上的自托管SignalR
- Ubuntu上配置Ruby on Rails框架及RubyMine IDE开发环境
- Ubuntu 16.04 解决RTL8111/8168/8411网卡有线连接网速慢的问
- Ubuntu14.04LTS firefox无法使用问题解决
- ubuntu – 用“./bin/cassandra -f”启动Cassandra的问题
- Ubuntu下使用SSH和FileZilla远程登陆
- 在ubuntu上安装php datastax驱动程序
