当前位置: 首页 > news >正文

做h5小游戏的网站有哪些网站建设树状图

做h5小游戏的网站有哪些,网站建设树状图,中国婚恋网站排名,wordpress phpcms 开发openEuler 使用 DNF 安装 Docker CE 1024#xff0c;节日快乐#xff01;回归正题#xff0c;DNF 安装 DockerOS 系统环境准备安装 docker-ce 步骤1、更新系统2、安装必要的软件包3、添加 Docker CE 存储库4、更新索引缓存并安装 Docker CE5、启动 Docker 服务6、查看 Docke… openEuler 使用 DNF 安装 Docker CE 1024节日快乐回归正题DNF 安装 DockerOS 系统环境准备安装 docker-ce 步骤1、更新系统2、安装必要的软件包3、添加 Docker CE 存储库4、更新索引缓存并安装 Docker CE5、启动 Docker 服务6、查看 Docker 状态7、设置 Docker 开机自启动8、验证 Docker CE 安装 安装 docker compose总结 1024节日快乐 敲下 “Hello,world”你好世界是他们踏进计算机编程语言的开始编写程序、修复漏洞(bug)是他们在 1024 世界的 “闯关” 日常。今天是 1024程序员节祝大家节日快乐 回归正题DNF 安装 Docker DNF 是一款 Linux 软件包管理工具用于管理 RPM 软件包。DNF 可以查询软件包信息从指定软件库获取软件包自动处理依赖关系以安装或卸载软件包以及更新系统到最新可用版本。 在 openEuler 22.03 LTS 系统中我们可以使用 DNF 包管理器来安装 Docker CE社区版。 关于《使用DNF管理软件包》请查看 https://docs.openeuler.org/zh/docs/22.03_LTS/docs/Administration/使用DNF管理软件包.html Docker 是一种流行的容器化平台可以帮助开发人员快速构建、打包和发布应用程序。 OS 系统环境准备 在开始之前建议您使用具有 sudo 访问权限的 openEuler 22.03 LTS 服务器。确保您的系统已经更新到最新版本。您还需要具备一个稳定的互联网连接。 说明关于 openEuler 22.03 LTS 服务器的安装部署这里不再说明请自行查看相关文档。 安装 docker-ce 步骤 1、更新系统 在安装之前请确保您的系统已经更新到最新版本。使用以下命令更新您的系统 sudo dnf update -y2、安装必要的软件包 安装所需的软件包以便使用 Docker CE 存储库 sudo dnf install -y dnf-plugins-core3、添加 Docker CE 存储库 此处添加 docker-ce.repo 源 sudo dnf config-manager --add-repohttps://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo注意在修改 docker-ce.repo 原文件之前为了保险可以执行如下命令先 copy 一份留作备份。 cp docker-ce.repo docker-ce.repo.bak将 docker-ce.repo 中官方地址替换为华为开源镜像提升下载速度。 sed -i sdownload.docker.comrepo.huaweicloud.com/docker-ce /etc/yum.repos.d/docker-ce.repo说明docker-ce.repo 中用 $releasever 变量代替当前系统的版本号该变量在 CentOS 中有效但在 openEuler 中无效所以将该变量直接改为8。 sed -i s$releasever8 /etc/yum.repos.d/docker-ce.repo再次查看 docker-ce.repo 文件输出信息如下 [rootjumpServer yum.repos.d]# pwd /etc/yum.repos.d [rootjumpServer yum.repos.d]# ls docker-ce.repo docker-ce.repo.bak openEuler.repo openEuler.repo.bak [rootjumpServer yum.repos.d]# cat docker-ce.repo [docker-ce-stable] nameDocker CE Stable - $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/$basearch/stable enabled1 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-stable-debuginfo] nameDocker CE Stable - Debuginfo $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/debug-$basearch/stable enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-stable-source] nameDocker CE Stable - Sources baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/source/stable enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-test] nameDocker CE Test - $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/$basearch/test enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-test-debuginfo] nameDocker CE Test - Debuginfo $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/debug-$basearch/test enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-test-source] nameDocker CE Test - Sources baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/source/test enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-nightly] nameDocker CE Nightly - $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/$basearch/nightly enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-nightly-debuginfo] nameDocker CE Nightly - Debuginfo $basearch baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/debug-$basearch/nightly enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg[docker-ce-nightly-source] nameDocker CE Nightly - Sources baseurlhttps://repo.huaweicloud.com/docker-ce/linux/centos/8/source/nightly enabled0 gpgcheck1 gpgkeyhttps://repo.huaweicloud.com/docker-ce/linux/centos/gpg4、更新索引缓存并安装 Docker CE 更新索引缓存 dnf makecache现在您可以使用 DNF 包管理器安装 Docker CE 了 sudo dnf install -y docker-ce docker-ce-cli containerd.io正常情况输出如下信息 [rootjumpServer yum.repos.d]# dnf install -y docker-ce docker-ce-cli containerd.io Last metadata expiration check: 0:00:15 ago on 2023年10月24日 星期二 20时10分04秒. Dependencies resolved. Package Architecture Version Repository SizeInstalling:containerd.io x86_64 1.6.24-3.1.el8 docker-ce-stable 34 Mdocker-ce x86_64 3:24.0.6-1.el8 docker-ce-stable 24 Mdocker-ce-cli x86_64 1:24.0.6-1.el8 docker-ce-stable 7.2 M Installing dependencies:docker-ce-rootless-extras x86_64 24.0.6-1.el8 docker-ce-stable 4.9 Mlibcgroup x86_64 0.42.2-2.oe2203 update 97 ktar x86_64 2:1.34-4.oe2203 update 785 k Installing weak dependencies:docker-buildx-plugin x86_64 0.11.2-1.el8 docker-ce-stable 13 Mdocker-compose-plugin x86_64 2.21.0-1.el8 docker-ce-stable 13 MTransaction SummaryInstall 8 PackagesTotal download size: 97 M Installed size: 370 M Downloading Packages: (1/8): docker-buildx-plugin-0.11.2-1.el8.x86_64.rpm 1.8 MB/s | 13 MB 00:07 (2/8): docker-ce-24.0.6-1.el8.x86_64.rpm 2.2 MB/s | 24 MB 00:11 (3/8): docker-ce-cli-24.0.6-1.el8.x86_64.rpm 1.5 MB/s | 7.2 MB 00:04 (4/8): docker-ce-rootless-extras-24.0.6-1.el8.x86_64.rpm 1.7 MB/s | 4.9 MB 00:02 (5/8): containerd.io-1.6.24-3.1.el8.x86_64.rpm 2.3 MB/s | 34 MB 00:14 (6/8): libcgroup-0.42.2-2.oe2203.x86_64.rpm 65 kB/s | 97 kB 00:01 (7/8): docker-compose-plugin-2.21.0-1.el8.x86_64.rpm 3.1 MB/s | 13 MB 00:04 (8/8): tar-1.34-4.oe2203.x86_64.rpm 535 kB/s | 785 kB 00:01 -------------------------------------------------------------------------------------------------------------------- Total 5.8 MB/s | 97 MB 00:16 Docker CE Stable - x86_64 6.8 kB/s | 1.6 kB 00:00 Importing GPG key 0x621E9F35:Userid : Docker Release (CE rpm) dockerdocker.comFingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35From : https://repo.huaweicloud.com/docker-ce/linux/centos/gpg Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transactionPreparing : 1/1 Installing : docker-compose-plugin-2.21.0-1.el8.x86_64 1/8 Running scriptlet: docker-compose-plugin-2.21.0-1.el8.x86_64 1/8 Running scriptlet: tar-2:1.34-4.oe2203.x86_64 2/8 Installing : tar-2:1.34-4.oe2203.x86_64 2/8 Running scriptlet: tar-2:1.34-4.oe2203.x86_64 2/8 Running scriptlet: libcgroup-0.42.2-2.oe2203.x86_64 3/8 Installing : libcgroup-0.42.2-2.oe2203.x86_64 3/8 Running scriptlet: libcgroup-0.42.2-2.oe2203.x86_64 3/8 Installing : docker-buildx-plugin-0.11.2-1.el8.x86_64 4/8 Running scriptlet: docker-buildx-plugin-0.11.2-1.el8.x86_64 4/8 Installing : docker-ce-cli-1:24.0.6-1.el8.x86_64 5/8 Running scriptlet: docker-ce-cli-1:24.0.6-1.el8.x86_64 5/8 Installing : containerd.io-1.6.24-3.1.el8.x86_64 6/8 Running scriptlet: containerd.io-1.6.24-3.1.el8.x86_64 6/8 Installing : docker-ce-rootless-extras-24.0.6-1.el8.x86_64 7/8 Running scriptlet: docker-ce-rootless-extras-24.0.6-1.el8.x86_64 7/8 Installing : docker-ce-3:24.0.6-1.el8.x86_64 8/8 Running scriptlet: docker-ce-3:24.0.6-1.el8.x86_64 8/8 Verifying : containerd.io-1.6.24-3.1.el8.x86_64 1/8 Verifying : docker-buildx-plugin-0.11.2-1.el8.x86_64 2/8 Verifying : docker-ce-3:24.0.6-1.el8.x86_64 3/8 Verifying : docker-ce-cli-1:24.0.6-1.el8.x86_64 4/8 Verifying : docker-ce-rootless-extras-24.0.6-1.el8.x86_64 5/8 Verifying : docker-compose-plugin-2.21.0-1.el8.x86_64 6/8 Verifying : libcgroup-0.42.2-2.oe2203.x86_64 7/8 Verifying : tar-2:1.34-4.oe2203.x86_64 8/8 Installed:containerd.io-1.6.24-3.1.el8.x86_64 docker-buildx-plugin-0.11.2-1.el8.x86_64 docker-ce-3:24.0.6-1.el8.x86_64 docker-ce-cli-1:24.0.6-1.el8.x86_64 docker-ce-rootless-extras-24.0.6-1.el8.x86_64 docker-compose-plugin-2.21.0-1.el8.x86_64 libcgroup-0.42.2-2.oe2203.x86_64 tar-2:1.34-4.oe2203.x86_64 Complete!此处如果出现如下错误信息 Error: Problem: package docker-ce-3:24.0.6-1.el8.x86_64 requires docker-ce-rootless-extras, but none of the providers can be installed- 无法为该任务安装最佳候选- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.0-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.0-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.1-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.1-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.10-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.10-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.11-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.11-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.12-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.12-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.13-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.13-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.14-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.14-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.15-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.15-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.16-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.16-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.17-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.17-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.18-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.18-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.19-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.19-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.2-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.2-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.20-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.20-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.21-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.21-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.22-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.22-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.23-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.23-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.24-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.24-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.3-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.3-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.4-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.4-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.5-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.5-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.6-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.6-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.7-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.7-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.8-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.8-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-20.10.9-3.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-20.10.9-3.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.0-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.0-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.1-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.1-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.2-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.2-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.3-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.3-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.4-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.4-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.5-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.5-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-23.0.6-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-23.0.6-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.0-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.0-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.1-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.1-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.2-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.2-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.3-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.3-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.4-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.4-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.5-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.5-1.el8.x86_64- nothing provides fuse-overlayfs 0.7 needed by docker-ce-rootless-extras-24.0.6-1.el8.x86_64- nothing provides slirp4netns 0.4 needed by docker-ce-rootless-extras-24.0.6-1.el8.x86_64 (try to add --skip-broken to skip uninstallable packages or --nobest to use not only best candidate packages)依据上面提示信息请执行如下命令 (try to add --skip-broken to skip uninstallable packages or --nobest to use not only best candidate packages)# 执行如下命令 dnf install --skip-broken -y docker-ce docker-ce-cli containerd.io # 或者 dnf install --nobest -y docker-ce docker-ce-cli containerd.io 安装成功输出如下信息 [rootjumpServer yum.repos.d]# dnf install --skip-broken -y docker-ce docker-ce-cli containerd.io docker-compose-plugin Last metadata expiration check: 0:18:44 ago on 2023年10月24日 星期二 21时08分02秒. Dependencies resolved. Package Architecture Version Repository SizeInstalling:containerd.io x86_64 1.6.24-3.1.el8 docker-ce-stable 34 Mdocker-ce-cli x86_64 1:24.0.6-1.el8 docker-ce-stable 7.2 Mdocker-compose-plugin x86_64 2.21.0-1.el8 docker-ce-stable 13 M Installing dependencies:container-selinux noarch 2:2.138-4.oe2203 OS 37 k Installing weak dependencies:docker-buildx-plugin x86_64 0.11.2-1.el8 docker-ce-stable 13 MTransaction SummaryInstall 5 PackagesTotal download size: 67 M Installed size: 260 M Downloading Packages: (1/5): docker-ce-cli-24.0.6-1.el8.x86_64.rpm 2.4 MB/s | 7.2 MB 00:03 (2/5): docker-buildx-plugin-0.11.2-1.el8.x86_64.rpm 4.0 MB/s | 13 MB 00:03 (3/5): container-selinux-2.138-4.oe2203.noarch.rpm 135 kB/s | 37 kB 00:00 (4/5): docker-compose-plugin-2.21.0-1.el8.x86_64.rpm 3.4 MB/s | 13 MB 00:03 (5/5): containerd.io-1.6.24-3.1.el8.x86_64.rpm 4.2 MB/s | 34 MB 00:08 ---------------------------------------------------------------------------------------------------------------------------------- Total 8.1 MB/s | 67 MB 00:08 Docker CE Stable - x86_64 3.9 kB/s | 1.6 kB 00:00 Importing GPG key 0x621E9F35:Userid : Docker Release (CE rpm) dockerdocker.comFingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35From : https://repo.huaweicloud.com/docker-ce/linux/centos/gpg Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transactionPreparing : 1/1 Installing : docker-compose-plugin-2.21.0-1.el8.x86_64 1/5 Running scriptlet: docker-compose-plugin-2.21.0-1.el8.x86_64 1/5 Installing : container-selinux-2:2.138-4.oe2203.noarch 2/5 Running scriptlet: container-selinux-2:2.138-4.oe2203.noarch 2/5 Installing : docker-buildx-plugin-0.11.2-1.el8.x86_64 3/5 Running scriptlet: docker-buildx-plugin-0.11.2-1.el8.x86_64 3/5 Installing : docker-ce-cli-1:24.0.6-1.el8.x86_64 4/5 Running scriptlet: docker-ce-cli-1:24.0.6-1.el8.x86_64 4/5 Installing : containerd.io-1.6.24-3.1.el8.x86_64 5/5 Running scriptlet: containerd.io-1.6.24-3.1.el8.x86_64 5/5 Verifying : containerd.io-1.6.24-3.1.el8.x86_64 1/5 Verifying : docker-buildx-plugin-0.11.2-1.el8.x86_64 2/5 Verifying : docker-ce-cli-1:24.0.6-1.el8.x86_64 3/5 Verifying : docker-compose-plugin-2.21.0-1.el8.x86_64 4/5 Verifying : container-selinux-2:2.138-4.oe2203.noarch 5/5 Installed:container-selinux-2:2.138-4.oe2203.noarch containerd.io-1.6.24-3.1.el8.x86_64 docker-buildx-plugin-0.11.2-1.el8.x86_64 docker-ce-cli-1:24.0.6-1.el8.x86_64 docker-compose-plugin-2.21.0-1.el8.x86_64 Skipped:docker-ce-3:24.0.6-1.el8.x86_64 docker-ce-rootless-extras-20.10.0-3.el8.x86_64 docker-ce-rootless-extras-20.10.1-3.el8.x86_64 docker-ce-rootless-extras-20.10.2-3.el8.x86_64 docker-ce-rootless-extras-20.10.3-3.el8.x86_64 docker-ce-rootless-extras-20.10.4-3.el8.x86_64 docker-ce-rootless-extras-20.10.5-3.el8.x86_64 docker-ce-rootless-extras-20.10.6-3.el8.x86_64 docker-ce-rootless-extras-20.10.7-3.el8.x86_64 docker-ce-rootless-extras-20.10.8-3.el8.x86_64 docker-ce-rootless-extras-20.10.9-3.el8.x86_64 docker-ce-rootless-extras-20.10.10-3.el8.x86_64 docker-ce-rootless-extras-20.10.11-3.el8.x86_64 docker-ce-rootless-extras-20.10.12-3.el8.x86_64 docker-ce-rootless-extras-20.10.13-3.el8.x86_64 docker-ce-rootless-extras-20.10.14-3.el8.x86_64 docker-ce-rootless-extras-20.10.15-3.el8.x86_64 docker-ce-rootless-extras-20.10.16-3.el8.x86_64 docker-ce-rootless-extras-20.10.17-3.el8.x86_64 docker-ce-rootless-extras-20.10.18-3.el8.x86_64 docker-ce-rootless-extras-20.10.19-3.el8.x86_64 docker-ce-rootless-extras-20.10.20-3.el8.x86_64 docker-ce-rootless-extras-20.10.21-3.el8.x86_64 docker-ce-rootless-extras-20.10.22-3.el8.x86_64 docker-ce-rootless-extras-20.10.23-3.el8.x86_64 docker-ce-rootless-extras-20.10.24-3.el8.x86_64 docker-ce-rootless-extras-23.0.0-1.el8.x86_64 docker-ce-rootless-extras-23.0.1-1.el8.x86_64 docker-ce-rootless-extras-23.0.2-1.el8.x86_64 docker-ce-rootless-extras-23.0.3-1.el8.x86_64 docker-ce-rootless-extras-23.0.4-1.el8.x86_64 docker-ce-rootless-extras-23.0.5-1.el8.x86_64 docker-ce-rootless-extras-23.0.6-1.el8.x86_64 docker-ce-rootless-extras-24.0.0-1.el8.x86_64 docker-ce-rootless-extras-24.0.1-1.el8.x86_64 docker-ce-rootless-extras-24.0.2-1.el8.x86_64 docker-ce-rootless-extras-24.0.3-1.el8.x86_64 docker-ce-rootless-extras-24.0.4-1.el8.x86_64 docker-ce-rootless-extras-24.0.5-1.el8.x86_64 docker-ce-rootless-extras-24.0.6-1.el8.x86_64 Complete!5、启动 Docker 服务 安装完成后使用以下命令启动 Docker 服务 sudo systemctl start docker6、查看 Docker 状态 此时我们可以执行以下命令来检查 Docker 运行状态 systemctl status docker输出如下信息说明 Docker 启动成功。 [rootjumpServer yum.repos.d]# systemctl status docker ● docker.service - Docker Application Container EngineLoaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)Active: active (running) since Tue 2023-10-24 21:34:02 CST; 25s ago TriggeredBy: ● docker.socketDocs: https://docs.docker.comMain PID: 36703 (dockerd)Tasks: 12Memory: 53.2MCGroup: /system.slice/docker.service└─ 36703 /usr/bin/dockerd -H fd:// --containerd/run/containerd/containerd.sock10月 24 21:33:57 jumpServer dockerd[36703]: time2023-10-24T21:33:57.06951114008:00 levelerror msgFailed to built-in GetDri 10月 24 21:33:57 jumpServer dockerd[36703]: time2023-10-24T21:33:57.74029375308:00 levelwarning msgYour kernel does not su 10月 24 21:33:57 jumpServer dockerd[36703]: time2023-10-24T21:33:57.74037825508:00 levelwarning msgYour kernel does not su 10月 24 21:33:57 jumpServer dockerd[36703]: time2023-10-24T21:33:57.74072016108:00 levelinfo msgLoading containers: start. 10月 24 21:34:01 jumpServer dockerd[36703]: time2023-10-24T21:34:01.03193059108:00 levelinfo msgDefault bridge (docker0) i 10月 24 21:34:01 jumpServer dockerd[36703]: time2023-10-24T21:34:01.63102799208:00 levelinfo msgLoading containers: done. 10月 24 21:34:01 jumpServer dockerd[36703]: time2023-10-24T21:34:01.99872353508:00 levelinfo msgDocker daemon commit99e3 10月 24 21:34:01 jumpServer dockerd[36703]: time2023-10-24T21:34:01.99899504008:00 levelinfo msgDaemon has completed initi 10月 24 21:34:02 jumpServer dockerd[36703]: time2023-10-24T21:34:02.49957390108:00 levelinfo msgAPI listen on /run/docker. 10月 24 21:34:02 jumpServer systemd[1]: Started Docker Application Container Engine.7、设置 Docker 开机自启动 要在系统启动时自动启动 Docker 服务请运行以下命令 sudo systemctl enable docker输出如下信息 [rootjumpServer yum.repos.d]# sudo systemctl enable docker Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.至此您已经在 openEuler 22.03 LTS 系统成功安装并启动了 Docker CE。 8、验证 Docker CE 安装 要验证 Docker CE 是否正确安装可以运行以下命令检查 Docker 版本 docker version如果一切正常输出 Docker CE 的版本信息如下 [rootjumpServer yum.repos.d]# docker version Client: Docker Engine - CommunityVersion: 24.0.6API version: 1.40 (downgraded from 1.43)Go version: go1.20.7Git commit: ed223bcBuilt: Mon Sep 4 12:33:07 2023OS/Arch: linux/amd64Context: defaultServer: Docker Engine - CommunityEngine:Version: 19.03.15API version: 1.40 (minimum version 1.12)Go version: go1.13.15Git commit: 99e3ed8919Built: Sat Jan 30 03:15:19 2021OS/Arch: linux/amd64Experimental: falsecontainerd:Version: 1.6.24GitCommit: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523runc:Version: 1.1.9GitCommit: v1.1.9-0-gccaecfcdocker-init:Version: 0.18.0GitCommit: fec3683安装 docker compose Linux 平台下需要独立安装 docker-compose 而 windows、mac 平台的docker desktop 在安装时会一起安装上 docker-compose。 目前 docker compose 稳定版本为 v2.21.0以下示例都是基于此版本很多博友写的教程都是基于用 python 编写的 v1 版本和最新版本是稍有不同的。 V2 版本 docker compose 是以插件的方式作为 docker 的一部分的安装 docker compose现在官方提供了三种安装方式分别是快捷安装、存储库安装和二进制文件安装。 此处使用快捷安装执行如下命令 dnf install -y docker-compose-plugin查看 docker compose 版本信息和更多命令用法 [rootjumpServer yum.repos.d]# docker compose version Docker Compose version v2.21.0 [rootjumpServer yum.repos.d]# docker compose Usage: docker compose [OPTIONS] COMMANDDefine and run multi-container applications with Docker.Options:--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 nameCommands:build Build or rebuild servicesconfig Parse, resolve and render compose file in canonical formatcp Copy files/folders between a service container and the local filesystemcreate Creates containers for a service.down Stop and remove containers, networksevents Receive real time events from containers.exec Execute a command in a running container.images List images used by the created containerskill Force stop service containers.logs View output from containersls List running compose projectspause Pause servicesport Print the public port for a port binding.ps List containerspull Pull service imagespush Push service imagesrestart Restart service containersrm Removes stopped service containersrun Run a one-off command on a service.start Start servicesstop Stop servicestop Display the running processesunpause Unpause servicesup Create and start containersversion Show the Docker Compose version informationwait Block until the first service container stopsRun docker compose COMMAND --help for more information on a command. 相关博文 容器技术 — docker composehttps://blog.csdn.net/weixin_37648525/article/details/125115260 再次查看 docker 信息执行如下命令 [rootjumpServer yum.repos.d]# docker info Client: Docker Engine - CommunityVersion: 24.0.6Context: defaultDebug Mode: falsePlugins:buildx: Docker Buildx (Docker Inc.)Version: v0.11.2Path: /usr/libexec/docker/cli-plugins/docker-buildxcompose: Docker Compose (Docker Inc.)Version: v2.21.0Path: /usr/libexec/docker/cli-plugins/docker-composeServer:Containers: 0Running: 0Paused: 0Stopped: 0Images: 0Server Version: 19.03.15Storage Driver: overlay2Backing Filesystem: extfsSupports d_type: trueNative Overlay Diff: trueLogging Driver: json-fileCgroup Driver: cgroupfsPlugins:Volume: localNetwork: bridge host ipvlan macvlan null overlayLog: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslogSwarm: inactiveRuntimes: runcDefault Runtime: runcInit Binary: docker-initcontainerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523runc version: v1.1.9-0-gccaecfcinit version: fec3683Security Options:seccompProfile: defaultKernel Version: 5.10.0-60.18.0.50.oe2203.x86_64Operating System: openEuler 22.03 LTSOSType: linuxArchitecture: x86_64CPUs: 4Total Memory: 1.471GiBName: jumpServerID: V5Z4:LNBS:WSLD:EEXC:ARZ6:JE2I:SANG:YUB5:FGTO:EUWO:R27N:KOGKDocker Root Dir: /var/lib/dockerDebug Mode: falseExperimental: falseInsecure Registries:127.0.0.0/8Live Restore Enabled: false总结 通过使用 DNF 包管理器您可以在 openEuler 22.03 LTS 上轻松安装 Docker CE。Docker 是一个功能强大的容器化平台可以帮助您更高效地构建和管理应用程序。 希望本文对您有所帮助。
http://www.huolong8.cn/news/183764/

相关文章:

  • 做钓鱼网站教程视频可信网站标准版
  • 做网站的公司现在还 赚钱吗义乌网图科技有限公司怎么样
  • 最全的ppt模板网站微网站背景图片
  • 怎么清空wordpress媒体库烟台网站排名seo
  • 建设网站都要学些什么问题建设银行分期手机网站
  • 网站发布教程视频教程萧山人才网手机版
  • 无锡网站制作公司报价昆明网站建设外包
  • 简述电子商务网站开发流程成都建站网址
  • 网站维护费用包括哪些淘宝客网站备案流程
  • 网站开发的课程设置专业定制小程序
  • 如何上传ftp网站程序做网络销售怎么建立网站
  • 环保企业网站模板上海html5网站制作
  • 姓氏网站建设的意见和建议黄龙云 加强网站建设
  • 做外单都有什么网站晓风彩票网站建设源代码授权
  • 网络搭建教学视频昆山网站建设方案优化公司
  • 免费网站模板库工商网企业信息查询
  • 做班级网站的实训报告黑镜wordpress主题破解
  • 深圳网站设计公司wx成都柚米科技15影视制作传媒公司
  • 写作网站投稿平台163企业邮箱登录入口官网
  • 带地板翻转的网站怎么做asp资源下载网站
  • 网站怎么做百度推广做网站产品图片素材
  • 系部网站建设需求分析百度免费广告发布平台
  • 网站制造wordpress播放纯音乐
  • 太原网站建设随州网站建设平台用乐云践新
  • 做百度推广网站咱们做wordpress 子站点函数
  • 做网站如何放入图像龙岩网站设计 都找推商吧系统
  • 网站域名 过期宁波网站建
  • 网站备案 信息查询天津网站制作报价
  • 怎样查看网站开发语言衡阳关键词优化首选
  • 最新远程网站建设服务器电子商务网站建设调查分析