Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The process of installing Docker on Ubuntu Trusty 14.04 (LTS) (64-bit)

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the process of installing Docker in Ubuntu Trusty 14.04 (LTS) (64-bit). In daily operation, it is believed that many people have doubts about the process of installing Docker in Ubuntu Trusty 14.04 (LTS) (64-bit). The editor consulted all kinds of materials and sorted out a simple and useful method of operation. I hope it will be helpful to answer your doubts about "the process of installing Docker in Ubuntu Trusty 14.04 (LTS) (64-bit)"! Next, please follow the editor to study!

Ubuntu Trusty brings 3.13.0 Linux kernel, and some conditions for all ubuntu libraries need to be prepared. the docker installation package is called docker.io. (note: Ubuntu (and Debian) contains some older KDE3/GNOME2 installation packages also known as docker, so the docker installation package here is called docker.io.)

Installation:

Install the installation package under ubuntu (may not be up to date)

$sudo apt-get update $sudo apt-get install docker.io $sudo ln-sf / usr/bin/docker.io / usr/local/bin/docker $sudo sed-I'$acomplete-F _ docker docker' / etc/bash_completion.d/docker.io $source / etc/bash_completion.d/docker.io if you want to try the latest version of docker

First, you need to check that the APT system can be parsed by https, URLs: file / usr/lib/apt/methods/https should already exist, if not, you need to install the package apt-transport-https!

[- e / usr/lib/apt/methods/https] | | after {apt-get update apt-get install apt-transport-https}, add Docker repository key to the local keychain

Sudo apt-key adv-- keyserver hkp://keyserver.ubuntu.com:80-- recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 add docker software repository to the software source, upgrade the software source, and install the lxc-docker package!

$sudo sh-c "echo deb https://get.docker.com/ubuntu docker main > / etc/apt/sources.list.d/docker.list" $sudo apt-get update $sudo apt-get install lxc-docker Note: there is a simple script that can be used for this process

$curl-sSL https://get.docker.com/ubuntu/ | sudo sh verifies that all the work has been completed as expected

Sudo docker run-I-t ubuntu / bin/bash at this point, the study on "the process of installing Docker in Ubuntu Trusty 14.04 (LTS) (64-bit)" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report