In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces Docker how to install Ubuntu 64bit, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Kernel support
If we are using a ubuntu system prior to 14.04, we need to upgrade the kernel first.
$sudo apt-get update$ sudo apt-get install linux-image-extra-$ (uname-r) linux-image-extra-virtual$ sudo reboot
Add GPG key
Docker installation
First, you need to install the keys for apt-transport-https support and the Docker library.
$sudo apt-get install apt-transport-https ca-certificates$ sudo apt-key adv-keyserver hkp://p80.pool.sks-keyservers.net:80-recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Add Docker installation source
We need to add the corresponding docker source according to our system version.
$sudo echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee / etc/apt/sources.list.d/docker.list$ sudo apt-get update
The corresponding sources for each version are as follows:
Ubuntu Precise 12.04 (LTS): deb https://apt.dockerproject.org/repo ubuntu-precise main
Ubuntu Trusty 14.04 (LTS): deb https://apt.dockerproject.org/repo ubuntu-trusty main
Ubuntu Wily 15.10: deb https://apt.dockerproject.org/repo ubuntu-wily main
Ubuntu Xenial 16.04 (LTS): deb https://apt.dockerproject.org/repo ubuntu-xenial main
Installation
Let's first take a look at what versions are currently available for installation.
$sudo apt-cache policy docker-enginedocker-engine: Installed: (none) Candidate: 17.05.0~ce-0~ubuntu-trusty Version table: 17.05.0~ce-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 17.04.0~ce-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 17.03.1~ce-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo / ubuntu-trusty/main amd64 Packages 17.03.0~ce-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.13.1-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.13.0-0~ubuntu-trusty 0500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.12.6-0~ubuntu-trusty 0500 https:/ / apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages...
Then we can install a specific version of docker, but if we have previously installed docker, we first need to remove the previous version.
# Uninstall old versions of docker$ sudo apt-get purge docker docker.io lxc-docker docker-engine$ sudo apt-get install docker-engine=17.05.0~ce-0~ubuntu-trusty$ sudo docker- vDocker version 17.05.0-ce and build 89658be
Download Ubuntu image
Download the Ubuntu image and start a Container test to see if the installation is successful.
$docker pull ubuntu$ docker run-I-t ubuntu bash
Once successful, run exit to exit docker.
Thank you for reading this article carefully. I hope the article "how to install Ubuntu 64bit for Docker" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.