0. Basic environment
Category: Notebook Model: Great Wall of China UF712
Hardware platform: Feiteng processor (ArmV8 instruction set)
System: Galaxy Kirin OS V10 SP1 (2203)
Key words:
Xinchuang, Kylin system, linux, PKS, Galaxy Kylin, Feiteng, arm64, arm, docker, R&D environment, cloud native
1. Requirement Background
In the cloud native era, the use of Docker containers has brought us great convenience, especially if we want to do some program development or install some programs under the Kylin system based on the Feiteng platform, it is very convenient to master this tool.
Note: This article has a certain degree of difficulty, and may be more for technical personnel or students who like to toss.
2. Install through the installation package that comes with the system
Under Galaxy Kylin system v10 sp1 2203, the system application store (software warehouse) comes with docker that can be directly installed and used.
Current repository version: Docker version 20.10.7
2.1 Via the app store
Searching for docker will show that it is not found
In the prompt information, find the full library
Find docker.io, click to download and install (in order to use the docker compose file directly, install docker-compose at the same time)
2.2 Installation via command line
Open a command line terminal and enter
sudo apt-get install docker.io docker-compose -y
2.3 Check the version and run hello world after installation
Open a command line terminal and enter
sudo docker run hello-world
Test of other commands (haha: I just found out that the kmre mobile environment uses docker)
3. Other ways
3.1 Install by downloading the deb binary package
Download the deb package yourself and install it. Open pkgs.org and search for the arm version of the docker-ce installation package
After downloading, double-click to run.
The current version in pkgs.org is basically the same as the official Kylin version. So this method is only used as an alternative.
3.2 Install via snap
The premise is that the snap environment has been prepared. For details, please refer to the content in this column to install the latest version of firefox https://segmentfault.com/a/1190000042107942
sudo snap info docker #查看可用信息
sudo snap install docker --stable #stable代表使用stable渠道的安装包
The official installation method is the recommended method, which is already installed when using the mobile environment (the mobile environment is implemented using Docker)
Kylin system column:
https://segmentfault.com/blog/kylinos
Article published in SegmentFault
Contact email: 1179611323@qq.com
Group: 662512340 The relevant information in the article can be obtained through the group file or request assistance from the group owner. Release log:
20220907 first release
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。