Configuring the Docker Container Environment
Prerequisites
- The Docker container has been installed on the server.
- You have obtained the OS image file.
Procedure
You can set up a Docker environment on multiple OSs to use the System Profiler.
OS |
Docker Container OS |
|---|---|
CentOS 7.6 |
CentOS 7.6, CentOS 8.2 |
CentOS 8.2 |
CentOS 7.6, CentOS 8.2 |
Kylin V10 |
CentOS 7.6, CentOS 8.2, Kylin V10 |
openEuler 20.03-SP3 |
CentOS 7.6, CentOS 8.2, openEuler 20.03 SP3 |
Ubuntu 20.04-LTS |
CentOS 7.6, CentOS 8.2, Ubuntu 20.04 LTS |
- You are advised to harden the container when using the Kunpeng DevKit in a Docker container.
- 8086 is the default HTTPS port of the Kunpeng DevKit. Make sure that mapping between container ports and host ports is properly configured.
Open the /etc/hosts file.
vi /etc/hosts
Add the following content to the file (Replace Docker_IP with the actual container IP address. You can run the ip addr command on the Docker container to query the IP address):
1 | Docker_IP DevKit
|
Parent topic: Common Operations