7

离线方式在Ubuntu 18.04 上安装Docker

 3 years ago
source link: https://tianchunfeng.blog.csdn.net/article/details/103685803
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

离线方式在Ubuntu 18.04 上安装Docker

田春峰 2019-12-24 16:54:11 611

离线方式在Ubuntu 18.04 上安装Docker



操作系统需求:Ubuntu 18.04

Docker  deb 包下载地址:

https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/

下载三个文件:

containerd.io_1.2.6-3_amd64.deb

docker-ce-cli_19.03.5~3-0~ubuntu-bionic_amd64.deb    

docker-ce_19.03.5~3-0~ubuntu-bionic_amd64.deb  



然后执行:sudo dpkg -i /deb/文件目录/*.deb  进行安装



参考官方文档:

https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/#upgrade-docker-ce





1、查找ubuntu14.04对应docker版本。 网址:http://packages.ubuntu.com/ 找到对应版本:

trusty (14.04LTS)

2、根据版本,下载docker-engine。 网址:https://apt.dockerproject.org/repo/pool/main/d/docker-engine/ 找到最新版,并下载:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK