参考:#openEuler 24.03 LTS SP1安装Docker和Docker Compose教程# 来自阶跃分享 https://yuewen.cn/share/221550086509137920?utm_source=share&utm_content=web_linkcopy&version=2
操作系统介质:
openEuler下载 | openEuler ISO镜像 | openEuler社区
Welcome to 6.6.0-72.0.0.76.oe2403sp1.x86_64
System information as of time: Thu Apr 10 04:30:31 PM CST 2025
System load: 0.00
Memory used: 1.9%
Swap used: 0%
Usage On: 3%
IP address: 192.168.52.188
Users online: 2
[root@jyc ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:1d:23:4f brd ff:ff:ff:ff:ff:ff
inet 192.168.52.188/24 brd 192.168.52.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe1d:234f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@jyc ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@jyc ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
[root@jyc ~]# setenforce 0
[root@jyc ~]# sudo dnf config-manager --add-repo=https://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
Adding repo from: https://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
[root@jyc ~]# cat /etc/yum.repos.d/docker-ce.repo
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-stable-debuginfo]
name=Docker CE Stable - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/stable
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-stable-source]
name=Docker CE Stable - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/stable
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test]
name=Docker CE Test - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test-debuginfo]
name=Docker CE Test - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-test-source]
name=Docker CE Test - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/test
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-nightly]
name=Docker CE Nightly - $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/nightly
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-nightly-debuginfo]
name=Docker CE Nightly - Debuginfo $basearch
baseurl=https://download.docker.com/linux/centos/$releasever/debug-$basearch/nightly
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[docker-ce-nightly-source]
name=Docker CE Nightly - Sources
baseurl=https://download.docker.com/linux/centos/$releasever/source/nightly
enabled=0
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
[root@jyc ~]#
[root@jyc ~]# sudo sed -i 's/$releasever/8/g' /etc/yum.repos.d/docker-ce.repo
[root@jyc ~]# sudo dnf install -y docker-ce docker-ce-cli containerd.io
Docker CE Stable - x86_64 0.0 B/s | 0 B 02:00
Errors during downloading metadata for repository 'docker-ce-stable':
- Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/8/x86_64/stable/repodata/repomd.xml [SSL connection timeout]
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@jyc ~]# sudo dnf install -y docker-ce docker-ce-cli containerd.io
Docker CE Stable - x86_64 1.1 kB/s | 66 kB 01:01
OS 5.9 MB/s | 2.9 MB 00:00
everything 209 kB/s | 16 MB 01:17
EPOL 105 kB/s | 5.7 MB 00:54
debuginfo 144 kB/s | 4.4 MB 00:31
source 2.8 MB/s | 1.7 MB 00:00
update 1.4 MB/s | 12 MB 00:08
update-source 942 kB/s | 420 kB 00:00
Dependencies resolved.
===============================================================================================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================================================================================
Installing:
containerd.io x86_64 1.6.32-3.1.el8 docker-ce-stable 35 M
docker-ce x86_64 3:26.1.3-1.el8 docker-ce-stable 27 M
docker-ce-cli x86_64 1:26.1.3-1.el8 docker-ce-stable 7.8 M
Installing dependencies:
container-selinux noarch 2:2.230.0-1.oe2403sp1 OS 45 k
fuse-overlayfs x86_64 1.13-1.oe2403sp1 EPOL 56 k
fuse3 x86_64 3.16.2-3.oe2403sp1 OS 118 k
libcgroup x86_64 3.1.0-6.oe2403sp1 OS 123 k
libslirp x86_64 4.7.0-2.oe2403sp1 OS 69 k
slirp4netns x86_64 1.2.3-1.oe2403sp1 EPOL 47 k
tar x86_64 2:1.35-2.oe2403sp1 OS 754 k
Installing weak dependencies:
docker-buildx-plugin x86_64 0.14.0-1.el8 docker-ce-stable 14 M
docker-ce-rootless-extras x86_64 26.1.3-1.el8 docker-ce-stable 5.0 M
docker-compose-plugin x86_64 2.27.0-1.el8 docker-ce-stable 13 M
fuse3-help x86_64 3.16.2-3.oe2403sp1 OS 9.6 k
Transaction Summary
===============================================================================================================================================================================================================
Install 14 Packages
Total download size: 104 M
Installed size: 394 M
Downloading Packages:
(1/14): containerd.io-1.6.32-3.1.el8.x86_64.rpm 1.6 MB/s | 35 MB 00:21
(2/14): docker-ce-cli-26.1.3-1.el8.x86_64.rpm 2.9 MB/s | 7.8 MB 00:02
(3/14): docker-ce-rootless-extras-26.1.3-1.el8.x86_64.rpm 1.5 MB/s | 5.0 MB 00:03
[MIRROR] docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm [SSL connection timeout]
[MIRROR] docker-ce-26.1.3-1.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/8/x86_64/stable/Packages/docker-ce-26.1.3-1.el8.x86_64.rpm [SSL connection timeout]
(4/14): container-selinux-2.230.0-1.oe2403sp1.noarch.rpm 629 kB/s | 45 kB 00:00
(5/14): fuse3-help-3.16.2-3.oe2403sp1.x86_64.rpm 30 kB/s | 9.6 kB 00:00
(6/14): libcgroup-3.1.0-6.oe2403sp1.x86_64.rpm 1.6 MB/s | 123 kB 00:00
(7/14): libslirp-4.7.0-2.oe2403sp1.x86_64.rpm 3.9 MB/s | 69 kB 00:00
(8/14): tar-1.35-2.oe2403sp1.x86_64.rpm 1.4 MB/s | 754 kB 00:00
(9/14): fuse3-3.16.2-3.oe2403sp1.x86_64.rpm 70 kB/s | 118 kB 00:01
(10/14): fuse-overlayfs-1.13-1.oe2403sp1.x86_64.rpm 50 kB/s | 56 kB 00:01
(11/14): slirp4netns-1.2.3-1.oe2403sp1.x86_64.rpm 30 kB/s | 47 kB 00:01
(12/14): docker-compose-plugin-2.27.0-1.el8.x86_64.rpm 1.1 MB/s | 13 MB 00:11
(13/14): docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm 293 kB/s | 14 MB 00:47
(14/14): docker-ce-26.1.3-1.el8.x86_64.rpm 441 kB/s | 27 MB 01:03
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.6 MB/s | 104 MB 01:03
Docker CE Stable - x86_64 0.0 B/s | 0 B 02:00
Curl error (28): Timeout was reached for https://download.docker.com/linux/centos/gpg [SSL connection timeout]
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
[root@jyc ~]# sudo dnf install -y docker-ce docker-ce-cli containerd.io
Last metadata expiration check: 0:03:09 ago on Thu 10 Apr 2025 04:39:57 PM CST.
Dependencies resolved.
===============================================================================================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================================================================================
Installing:
containerd.io x86_64 1.6.32-3.1.el8 docker-ce-stable 35 M
docker-ce x86_64 3:26.1.3-1.el8 docker-ce-stable 27 M
docker-ce-cli x86_64 1:26.1.3-1.el8 docker-ce-stable 7.8 M
Installing dependencies:
container-selinux noarch 2:2.230.0-1.oe2403sp1 OS 45 k
fuse-overlayfs x86_64 1.13-1.oe2403sp1 EPOL 56 k
fuse3 x86_64 3.16.2-3.oe2403sp1 OS 118 k
libcgroup x86_64 3.1.0-6.oe2403sp1 OS 123 k
libslirp x86_64 4.7.0-2.oe2403sp1 OS 69 k
slirp4netns x86_64 1.2.3-1.oe2403sp1 EPOL 47 k
tar x86_64 2:1.35-2.oe2403sp1 OS 754 k
Installing weak dependencies:
docker-buildx-plugin x86_64 0.14.0-1.el8 docker-ce-stable 14 M
docker-ce-rootless-extras x86_64 26.1.3-1.el8 docker-ce-stable 5.0 M
docker-compose-plugin x86_64 2.27.0-1.el8 docker-ce-stable 13 M
fuse3-help x86_64 3.16.2-3.oe2403sp1 OS 9.6 k
Transaction Summary
===============================================================================================================================================================================================================
Install 14 Packages
Total size: 104 M
Installed size: 394 M
Downloading Packages:
[SKIPPED] containerd.io-1.6.32-3.1.el8.x86_64.rpm: Already downloaded
[SKIPPED] docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] docker-ce-26.1.3-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] docker-ce-cli-26.1.3-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] docker-ce-rootless-extras-26.1.3-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] docker-compose-plugin-2.27.0-1.el8.x86_64.rpm: Already downloaded
[SKIPPED] container-selinux-2.230.0-1.oe2403sp1.noarch.rpm: Already downloaded
[SKIPPED] fuse3-3.16.2-3.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] fuse3-help-3.16.2-3.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] libcgroup-3.1.0-6.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] libslirp-4.7.0-2.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] tar-1.35-2.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] fuse-overlayfs-1.13-1.oe2403sp1.x86_64.rpm: Already downloaded
[SKIPPED] slirp4netns-1.2.3-1.oe2403sp1.x86_64.rpm: Already downloaded
Docker CE Stable - x86_64 2.1 kB/s | 1.6 kB 00:00
Importing GPG key 0x621E9F35:
Userid : "Docker Release (CE rpm) <docker@docker.com>"
Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
From : https://download.docker.com/linux/centos/gpg
Key imported successfully
retrieving repo key for OS unencrypted from http://repo.openeuler.org/openEuler-24.03-LTS-SP1/OS/x86_64/RPM-GPG-KEY-openEuler
OS 5.5 kB/s | 3.0 kB 00:00
Importing GPG key 0xB675600B:
Userid : "openeuler <openeuler@compass-ci.com>"
Fingerprint: 8AA1 6BF9 F2CA 5244 010D CA96 3B47 7C60 B675 600B
From : http://repo.openeuler.org/openEuler-24.03-LTS-SP1/OS/x86_64/RPM-GPG-KEY-openEuler
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: container-selinux-2:2.230.0-1.oe2403sp1.noarch 1/14
Installing : container-selinux-2:2.230.0-1.oe2403sp1.noarch 1/14
Running scriptlet: container-selinux-2:2.230.0-1.oe2403sp1.noarch 1/14
Installing : docker-compose-plugin-2.27.0-1.el8.x86_64 2/14
Running scriptlet: docker-compose-plugin-2.27.0-1.el8.x86_64 2/14
Installing : containerd.io-1.6.32-3.1.el8.x86_64 3/14
Running scriptlet: containerd.io-1.6.32-3.1.el8.x86_64 3/14
Running scriptlet: tar-2:1.35-2.oe2403sp1.x86_64 4/14
Installing : tar-2:1.35-2.oe2403sp1.x86_64 4/14
Running scriptlet: tar-2:1.35-2.oe2403sp1.x86_64 4/14
Installing : libslirp-4.7.0-2.oe2403sp1.x86_64 5/14
Installing : slirp4netns-1.2.3-1.oe2403sp1.x86_64 6/14
Running scriptlet: libcgroup-3.1.0-6.oe2403sp1.x86_64 7/14
Installing : libcgroup-3.1.0-6.oe2403sp1.x86_64 7/14
Installing : fuse3-help-3.16.2-3.oe2403sp1.x86_64 8/14
Installing : fuse3-3.16.2-3.oe2403sp1.x86_64 9/14
Running scriptlet: fuse3-3.16.2-3.oe2403sp1.x86_64 9/14
Installing : fuse-overlayfs-1.13-1.oe2403sp1.x86_64 10/14
Running scriptlet: fuse-overlayfs-1.13-1.oe2403sp1.x86_64 10/14
Installing : docker-buildx-plugin-0.14.0-1.el8.x86_64 11/14
Running scriptlet: docker-buildx-plugin-0.14.0-1.el8.x86_64 11/14
Installing : docker-ce-cli-1:26.1.3-1.el8.x86_64 12/14
Running scriptlet: docker-ce-cli-1:26.1.3-1.el8.x86_64 12/14
Installing : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 13/14
Running scriptlet: docker-ce-rootless-extras-26.1.3-1.el8.x86_64 13/14
Installing : docker-ce-3:26.1.3-1.el8.x86_64 14/14
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 14/14
Running scriptlet: container-selinux-2:2.230.0-1.oe2403sp1.noarch 14/14
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 14/14
Verifying : containerd.io-1.6.32-3.1.el8.x86_64 1/14
Verifying : docker-buildx-plugin-0.14.0-1.el8.x86_64 2/14
Verifying : docker-ce-3:26.1.3-1.el8.x86_64 3/14
Verifying : docker-ce-cli-1:26.1.3-1.el8.x86_64 4/14
Verifying : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 5/14
Verifying : docker-compose-plugin-2.27.0-1.el8.x86_64 6/14
Verifying : container-selinux-2:2.230.0-1.oe2403sp1.noarch 7/14
Verifying : fuse3-3.16.2-3.oe2403sp1.x86_64 8/14
Verifying : fuse3-help-3.16.2-3.oe2403sp1.x86_64 9/14
Verifying : libcgroup-3.1.0-6.oe2403sp1.x86_64 10/14
Verifying : libslirp-4.7.0-2.oe2403sp1.x86_64 11/14
Verifying : tar-2:1.35-2.oe2403sp1.x86_64 12/14
Verifying : fuse-overlayfs-1.13-1.oe2403sp1.x86_64 13/14
Verifying : slirp4netns-1.2.3-1.oe2403sp1.x86_64 14/14
Installed:
container-selinux-2:2.230.0-1.oe2403sp1.noarch containerd.io-1.6.32-3.1.el8.x86_64 docker-buildx-plugin-0.14.0-1.el8.x86_64 docker-ce-3:26.1.3-1.el8.x86_64 docker-ce-cli-1:26.1.3-1.el8.x86_64
docker-ce-rootless-extras-26.1.3-1.el8.x86_64 docker-compose-plugin-2.27.0-1.el8.x86_64 fuse-overlayfs-1.13-1.oe2403sp1.x86_64 fuse3-3.16.2-3.oe2403sp1.x86_64 fuse3-help-3.16.2-3.oe2403sp1.x86_64
libcgroup-3.1.0-6.oe2403sp1.x86_64 libslirp-4.7.0-2.oe2403sp1.x86_64 slirp4netns-1.2.3-1.oe2403sp1.x86_64 tar-2:1.35-2.oe2403sp1.x86_64
Complete!
[root@jyc ~]# sudo systemctl enable --now docker
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service 鈫/usr/lib/systemd/system/docker.service.
[root@jyc ~]# sudo mkdir -p /etc/docker
[root@jyc ~]# sudo tee /etc/docker/daemon.json <<-'EOF'
> {
> "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
> }
> EOF
{
"registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
}
[root@jyc ~]# sudo systemctl restart docker
[root@jyc ~]# docker version
Client: Docker Engine - Community
Version: 26.1.3
API version: 1.45
Go version: go1.21.10
Git commit: b72abbb
Built: Thu May 16 08:34:39 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.3
API version: 1.45 (minimum version 1.24)
Go version: go1.21.10
Git commit: 8e96db1
Built: Thu May 16 08:33:34 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.32
GitCommit: 8b3b7ca2e5ce38e8f31a34f35b2b68ceb8470d89
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[root@jyc ~]# docker compose
Usage: docker compose [OPTIONS] COMMAND
Define and run multi-container applications with Docker
Options:
--all-resources Include all resources, even those not used by services
--ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
--compatibility Run compose in backward compatibility mode
--dry-run Execute command in dry run mode
--env-file stringArray Specify an alternate environment file
-f, --file stringArray Compose configuration files
--parallel int Control max parallelism, -1 for unlimited (default -1)
--profile stringArray Specify a profile to enable
--progress string Set type of progress output (auto, tty, plain, quiet) (default "auto")
--project-directory string Specify an alternate working directory
(default: the path of the, first specified, Compose file)
-p, --project-name string Project name
Commands:
attach Attach local standard input, output, and error streams to a service's running container
build Build or rebuild services
config Parse, resolve and render compose file in canonical format
cp Copy files/folders between a service container and the local filesystem
create Creates containers for a service
down Stop and remove containers, networks
events Receive real time events from containers
exec Execute a command in a running container
images List images used by the created containers
kill Force stop service containers
logs View output from containers
ls List running compose projects
pause Pause services
port Print the public port for a port binding
ps List containers
pull Pull service images
push Push service images
restart Restart service containers
rm Removes stopped service containers
run Run a one-off command on a service
scale Scale services
start Start services
stats Display a live stream of container(s) resource usage statistics
stop Stop services
top Display the running processes
unpause Unpause services
up Create and start containers
version Show the Docker Compose version information
wait Block until the first service container stops
watch Watch build context for service and rebuild/refresh containers when files are updated
Run 'docker compose COMMAND --help' for more information on a command.
[root@jyc ~]# docker compose version
Docker Compose version v2.27.0
[root@jyc ~]# docker info
Client: Docker Engine - Community
Version: 26.1.3
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.27.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 26.1.3
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8b3b7ca2e5ce38e8f31a34f35b2b68ceb8470d89
runc version: v1.1.12-0-g51d5e94
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 6.6.0-72.0.0.76.oe2403sp1.x86_64
Operating System: openEuler 24.03 (LTS-SP1)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.09GiB
Name: jyc
ID: b1225f40-a35c-4f7d-8a94-153be1eb224a
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://docker.mirrors.ustc.edu.cn/
Live Restore Enabled: false
[root@jyc ~]# docker version
Client: Docker Engine - Community
Version: 26.1.3
API version: 1.45
Go version: go1.21.10
Git commit: b72abbb
Built: Thu May 16 08:34:39 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.3
API version: 1.45 (minimum version 1.24)
Go version: go1.21.10
Git commit: 8e96db1
Built: Thu May 16 08:33:34 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.32
GitCommit: 8b3b7ca2e5ce38e8f31a34f35b2b68ceb8470d89
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[root@jyc ~]# cat /etc/os-release
NAME="openEuler"
VERSION="24.03 (LTS-SP1)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS-SP1)"
ANSI_COLOR="0;31"
[root@jyc ~]# ll /etc/*-release
-rw-r--r--. 1 root root 34 Dec 11 11:37 /etc/openEuler-release
-rw-r--r--. 1 root root 136 Dec 11 11:37 /etc/os-release
lrwxrwxrwx. 1 root root 17 Dec 11 11:37 /etc/system-release -> openEuler-release
[root@jyc ~]# cat /etc/openEuler-release
openEuler release 24.03 (LTS-SP1)
[root@jyc ~]# uname -a
Linux jyc 6.6.0-72.0.0.76.oe2403sp1.x86_64 #1 SMP Fri Dec 27 12:13:01 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
[root@jyc ~]# uname -r
6.6.0-72.0.0.76.oe2403sp1.x86_64
[root@jyc ~]#