【Linux】Linux8安装docker图文详细步骤以及常用指令

2023-11-10

Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中,然后发布到任何流行的Linux或Windows操作系统的机器上,也可以实现虚拟化。

切换到源目录,备份原来的源

[root@localhost data]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# mkdir bak
[root@localhost yum.repos.d]# mv CentOS-Linux-* bak
[root@localhost yum.repos.d]# ls

 下载新的源文件,并用命令yum makecache建立新的元数据缓存

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
[root@localhost yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
--2022-11-05 08:53:51--  https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 117.161.156.242, 117.161.156.239, 117.161.156.243, ...
Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|117.161.156.242|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2495 (2.4K) [application/octet-stream]
Saving to: ‘/etc/yum.repos.d/CentOS-Base.repo’

/etc/yum.repos.d/CentOS-Base.repo    100%[=====================================================================>]   2.44K  --.-KB/s    in 0.02s

2022-11-05 08:53:53 (133 KB/s) - ‘/etc/yum.repos.d/CentOS-Base.repo’ saved [2495/2495]

[root@localhost yum.repos.d]# ls
bak  CentOS-Base.repo
[root@localhost yum.repos.d]# vim CentOS-Base.repo
[root@localhost yum.repos.d]# yum makecache
CentOS-8.5.2111 - Base - mirrors.aliyun.com                                                                        171 kB/s | 4.6 MB     00:27
CentOS-8.5.2111 - Extras - mirrors.aliyun.com                                                                       35 kB/s |  10 kB     00:00
CentOS-8.5.2111 - AppStream - mirrors.aliyun.com                                                                   139 kB/s | 8.4 MB     01:02
Metadata cache created.

 测试源(用yum命令装个软件试试)

[root@localhost yum.repos.d]# yum install -y yum-utils
Last metadata expiration check: 0:08:11 ago on Sat 05 Nov 2022 08:55:50 AM CST.
Dependencies resolved.
===================================================================================================================================================
 Package                             Architecture                     Version                                 Repository                      Size
===================================================================================================================================================
Installing:
 yum-utils                           noarch                           4.0.21-3.el8                            base                            73 k

Transaction Summary
===================================================================================================================================================
Install  1 Package

Total download size: 73 k
Installed size: 22 k
Downloading Packages:
yum-utils-4.0.21-3.el8.noarch.rpm                                                                                   15 kB/s |  73 kB     00:04
---------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                               15 kB/s |  73 kB     00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1
  Installing       : yum-utils-4.0.21-3.el8.noarch                                                                                             1/1
  Running scriptlet: yum-utils-4.0.21-3.el8.noarch                                                                                             1/1
  Verifying        : yum-utils-4.0.21-3.el8.noarch                                                                                             1/1

Installed:
  yum-utils-4.0.21-3.el8.noarch

Complete!

设置镜像仓库

yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

[root@localhost yum.repos.d]# yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Adding repo from: http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

安装 docker

[root@localhost ~]# sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Docker CE Stable - x86_64                                                                                                                                     51 kB/s |  31 kB     00:00
Dependencies resolved.
=============================================================================================================================================================================================
 Package                                          Architecture                  Version                                                        Repository                               Size
=============================================================================================================================================================================================
Installing:
 containerd.io                                    x86_64                        1.6.9-3.1.el8                                                  docker-ce-stable                         33 M
 docker-ce                                        x86_64                        3:20.10.21-3.el8                                               docker-ce-stable                         21 M
 docker-ce-cli                                    x86_64                        1:20.10.21-3.el8                                               docker-ce-stable                         30 M
 docker-compose-plugin                            x86_64                        2.12.2-3.el8                                                   docker-ce-stable                         10 M
Installing dependencies:
 container-selinux                                noarch                        2:2.167.0-1.module_el8.5.0+911+f19012f9                        AppStream                                54 k
 docker-ce-rootless-extras                        x86_64                        20.10.21-3.el8                                                 docker-ce-stable                        4.6 M
 fuse-overlayfs                                   x86_64                        1.7.1-1.module_el8.5.0+890+6b136101                            AppStream                                73 k
 fuse3                                            x86_64                        3.2.1-12.el8                                                   base                                     50 k
 fuse3-libs                                       x86_64                        3.2.1-12.el8                                                   base                                     94 k
 libslirp                                         x86_64                        4.4.0-1.module_el8.5.0+890+6b136101                            AppStream                                70 k
 slirp4netns                                      x86_64                        1.1.8-1.module_el8.5.0+890+6b136101                            AppStream                                51 k
Installing weak dependencies:
 docker-scan-plugin                               x86_64                        0.21.0-3.el8                                                   docker-ce-stable                        3.8 M
Enabling module streams:
 container-tools                                                                rhel8

Transaction Summary
=============================================================================================================================================================================================
Install  12 Packages

Total download size: 103 M
Installed size: 394 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): fuse3-3.2.1-12.el8.x86_64.rpm                                                                                                                         75 kB/s |  50 kB     00:00
(2/12): container-selinux-2.167.0-1.module_el8.5.0+911+f19012f9.noarch.rpm                                                                                    76 kB/s |  54 kB     00:00
(3/12): fuse3-libs-3.2.1-12.el8.x86_64.rpm                                                                                                                    82 kB/s |  94 kB     00:01
(4/12): libslirp-4.4.0-1.module_el8.5.0+890+6b136101.x86_64.rpm                                                                                               80 kB/s |  70 kB     00:00
(5/12): fuse-overlayfs-1.7.1-1.module_el8.5.0+890+6b136101.x86_64.rpm                                                                                         78 kB/s |  73 kB     00:00
(6/12): slirp4netns-1.1.8-1.module_el8.5.0+890+6b136101.x86_64.rpm                                                                                            86 kB/s |  51 kB     00:00
(7/12): docker-ce-20.10.21-3.el8.x86_64.rpm                                                                                                                   88 kB/s |  21 MB     04:05
(8/12): docker-ce-rootless-extras-20.10.21-3.el8.x86_64.rpm                                                                                                   86 kB/s | 4.6 MB     00:54
(9/12): docker-ce-cli-20.10.21-3.el8.x86_64.rpm                                                                                                               87 kB/s |  30 MB     05:48
(10/12): containerd.io-1.6.9-3.1.el8.x86_64.rpm                                                                                                               87 kB/s |  33 MB     06:26
(11/12): docker-scan-plugin-0.21.0-3.el8.x86_64.rpm                                                                                                           86 kB/s | 3.8 MB     00:45
(12/12): docker-compose-plugin-2.12.2-3.el8.x86_64.rpm                                                                                                        86 kB/s |  10 MB     02:02
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                        247 kB/s | 103 MB     07:05
Docker CE Stable - x86_64                                                                                                                                    3.7 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://mirrors.aliyun.com/docker-ce/linux/centos/gpg
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                     1/1
  Installing       : docker-scan-plugin-0.21.0-3.el8.x86_64                                                                                                                             1/12
  Running scriptlet: docker-scan-plugin-0.21.0-3.el8.x86_64                                                                                                                             1/12
  Running scriptlet: container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch                                                                                                   2/12
  Installing       : container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch                                                                                                   2/12
  Running scriptlet: container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch                                                                                                   2/12
  Installing       : containerd.io-1.6.9-3.1.el8.x86_64                                                                                                                                 3/12
  Running scriptlet: containerd.io-1.6.9-3.1.el8.x86_64                                                                                                                                 3/12
  Installing       : docker-ce-cli-1:20.10.21-3.el8.x86_64                                                                                                                              4/12
  Running scriptlet: docker-ce-cli-1:20.10.21-3.el8.x86_64                                                                                                                              4/12
  Installing       : libslirp-4.4.0-1.module_el8.5.0+890+6b136101.x86_64                                                                                                                5/12
  Installing       : slirp4netns-1.1.8-1.module_el8.5.0+890+6b136101.x86_64                                                                                                             6/12
  Installing       : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                                                     7/12
  Running scriptlet: fuse3-libs-3.2.1-12.el8.x86_64                                                                                                                                     7/12
  Installing       : fuse3-3.2.1-12.el8.x86_64                                                                                                                                          8/12
  Installing       : fuse-overlayfs-1.7.1-1.module_el8.5.0+890+6b136101.x86_64                                                                                                          9/12
  Running scriptlet: fuse-overlayfs-1.7.1-1.module_el8.5.0+890+6b136101.x86_64                                                                                                          9/12
  Installing       : docker-ce-3:20.10.21-3.el8.x86_64                                                                                                                                 10/12
  Running scriptlet: docker-ce-3:20.10.21-3.el8.x86_64                                                                                                                                 10/12
  Installing       : docker-ce-rootless-extras-20.10.21-3.el8.x86_64                                                                                                                   11/12
  Running scriptlet: docker-ce-rootless-extras-20.10.21-3.el8.x86_64                                                                                                                   11/12
  Installing       : docker-compose-plugin-2.12.2-3.el8.x86_64                                                                                                                         12/12
  Running scriptlet: docker-compose-plugin-2.12.2-3.el8.x86_64                                                                                                                         12/12
  Running scriptlet: container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch                                                                                                  12/12
  Running scriptlet: docker-compose-plugin-2.12.2-3.el8.x86_64                                                                                                                         12/12
  Verifying        : fuse3-3.2.1-12.el8.x86_64                                                                                                                                          1/12
  Verifying        : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                                                     2/12
  Verifying        : container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch                                                                                                   3/12
  Verifying        : fuse-overlayfs-1.7.1-1.module_el8.5.0+890+6b136101.x86_64                                                                                                          4/12
  Verifying        : libslirp-4.4.0-1.module_el8.5.0+890+6b136101.x86_64                                                                                                                5/12
  Verifying        : slirp4netns-1.1.8-1.module_el8.5.0+890+6b136101.x86_64                                                                                                             6/12
  Verifying        : containerd.io-1.6.9-3.1.el8.x86_64                                                                                                                                 7/12
  Verifying        : docker-ce-3:20.10.21-3.el8.x86_64                                                                                                                                  8/12
  Verifying        : docker-ce-cli-1:20.10.21-3.el8.x86_64                                                                                                                              9/12
  Verifying        : docker-ce-rootless-extras-20.10.21-3.el8.x86_64                                                                                                                   10/12
  Verifying        : docker-compose-plugin-2.12.2-3.el8.x86_64                                                                                                                         11/12
  Verifying        : docker-scan-plugin-0.21.0-3.el8.x86_64                                                                                                                            12/12

Installed:
  container-selinux-2:2.167.0-1.module_el8.5.0+911+f19012f9.noarch    containerd.io-1.6.9-3.1.el8.x86_64                           docker-ce-3:20.10.21-3.el8.x86_64
  docker-ce-cli-1:20.10.21-3.el8.x86_64                               docker-ce-rootless-extras-20.10.21-3.el8.x86_64              docker-compose-plugin-2.12.2-3.el8.x86_64
  docker-scan-plugin-0.21.0-3.el8.x86_64                              fuse-overlayfs-1.7.1-1.module_el8.5.0+890+6b136101.x86_64    fuse3-3.2.1-12.el8.x86_64
  fuse3-libs-3.2.1-12.el8.x86_64                                      libslirp-4.4.0-1.module_el8.5.0+890+6b136101.x86_64          slirp4netns-1.1.8-1.module_el8.5.0+890+6b136101.x86_64

Complete!

启动Docker

sudo systemctl start docker

测试

[root@localhost ~]# sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:e18f0a777aefabe047a671ab3ec3eed05414477c951ab1a6f352a06974245fe7
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

配置阿里云镜像加速器

登录阿里云

阿里云控制台首页 (aliyun.com)

打开控制台

 点击展开

 下滑找到容器镜像服务

 输入指令

 输入指令进行测试

sudo docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

常用命令

启动docker

systemctl start docker

停止docker

systemctl stop docker

查看docker状态

systemctl status docker

重启

systemctl restart docker

开机启动

systemctl enable docker

查看信息

docker info

查看帮助文档

docker --help


 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

【Linux】Linux8安装docker图文详细步骤以及常用指令 的相关文章

  • 在 4.x 内核上的 64 位内存中查找系统调用表

    我正在尝试编写一个简单的内核模块来查找 Linux 中的 sys call table 但遇到了一些麻烦 我在这里找到了 32 位 Linux 的基本指南 https memset wordpress com 2011 03 18 sysc
  • bash.sh 运行 cron 的权限被拒绝

    如何在这里使用 bash 脚本运行 cron 我做了如下操作 这里有错误 我想知道如何在 ubuntu 中做到这一点 我现在对它感到震惊 bash sh 文件 bin bash cd var www Controller usr bin p
  • BlueZ D-Bus C,应用 BLE

    我正在尝试编写一个应用程序来搜索附近的蓝牙设备并与它们通信 我的应用程序将用 C 语言编写 并打算在 Linux 下工作 是否有通过 C 中的 D Bus 使用 BlueZ 的教程或示例 此应用程序的目的是从 BLE 中的文件发送数据 你能
  • 检查 Linux 中给定进程的打开 FD 限制

    我最近有一个 Linux 进程 泄露 了文件描述符 它打开了文件描述符 但没有正确关闭其中一些文件描述符 如果我对此进行监控 我就可以提前得知该过程已达到其极限 有没有一种很好的 Bash 或 Python 方法来检查 Ubuntu Lin
  • 在linux中使用setcap [关闭]

    Closed 这个问题是无关 help closed questions 目前不接受答案 要将 cap net raw 功能添加到 例如 bin ping 我们使用以下命令 setcap cap net raw ep bin ping ep
  • 使用主机上的 consul DNS 解析容器

    目标 让 docker 容器使用主机提供的 DNS 主机是在另一个容器中运行的 consul 代理 来访问通过 traefik 反向代理提供的服务 设置 主机 Ubuntu 16 04 2 LTS Registrator 将新容器注册到 c
  • 查找当前打开的文件句柄数(不是 lsof )

    在 NIX系统上 有没有办法找出当前正在运行的进程中有多少个打开的文件句柄 我正在从正在运行的进程中寻找在 C 中使用的 API 或公式 在某些系统上 见下文 您可以在 proc pid fd 中对它们进行计数 如果不属于其中之一 请参阅下
  • 我如何知道 std::map 插入成功还是失败?

    我在多线程应用程序中有一个映射 将名为 uuid 的类映射到指针 我想知道插入操作是否成功或失败 e g mymap insert hint MyMap value type entry uuid itemptr 如果失败的话会抛出异常或者
  • 如何从 swagger 文档生成静态 html 文件?

    我创建了一个 Swagger 文档yaml文件位于 api swagger swagger yaml 现在我想分享一个静态 HTML 文档及其定义 但它已在招摇项目 https github com swagger api swagger
  • pip 找不到满足要求的版本 django==2.2.1

    我刚刚将操作系统更改为 linux 并且想安装 django 但我无法安装最新版本的 django 我努力了 pip install django 但是它安装了 django 1 11 11 这不是我需要的 我还将我的 pip 升级到了 1
  • 如何将 ARG 值传递给 ENTRYPOINT?

    Docker 1 9 允许将参数传递给 dockerfile 参见链接 https docs docker com engine reference builder arg https docs docker com engine refe
  • 来自不安全注册表的 Dockerfile

    有没有办法从 Dockerfile 构建 docker 映像 该 Dockerfile 使用来自 Gitlab 托管的本地不安全注册表的基础映像 例如 如果我的 Dockerfile 是 FROM insecure registry loc
  • 如何在 Helm 图表中配置 docker 入口点

    我有以下内容docker compose文件 我不明白如何设置working dir and entrypoint在掌舵deployment yaml 有人有关于如何执行此操作的示例吗 docker compose version 3 5
  • 如何在 .zip 文件中使用 grep

    有 3 个文件 a csv b csv c csv 压缩为 abh zip 现在可以在 abh zip 上执行 grep 命令 是否有任何通配符 仅对里面的 c csv 文件运行 grep压缩 如果你有zipgrep 据我所知 它是随zip
  • Docker:驱动器尚未共享

    当 docker化 时ASP NET Core 3 1 MVC应用程序我得到了以下结果 docker run dt v C Users admin vsdbg vs2017u5 remote debugger rw v D xxx yyy
  • Java 内存错误:无法创建新的本机线程

    运行 java 服务器时 我在 UNIX 服务器上收到此错误 Exception in thread Thread 0 java lang OutOfMemoryError unable to create new native threa
  • 未找到 DEADLINE 调度策略

    我想在 C 中实现 DEADLINE 调度策略 我知道该功能已实现Linux 3 14 10我正在使用 Ubuntu 14 04Linux 3 17 0 031700 lowlatency 201410060605 SMP PREEMPT这
  • 在linux中将包含word的行从一个文件复制到另一个文件

    我想复制包含某些单词的行file1 to file2 Suppose file1 ram 100 ct 50 gopal 200 bc 40 ravi 50 ct 40 krishna 200 ct 100 file2应该只有包含 ct 的
  • Docker容器与主机之间的端口转发

    我是 docker 的新手 我正在尝试测试一些东西 来自docs https docs docker com userguide dockerlinks 我看到我们可以在容器和主机之间映射端口 所以我拉mariadb回购并运行这样的容器 d
  • Centos/Linux 将 logrotate 设置为所有日志的最大文件大小

    我们使用 logrotate 并且它每天运行 现在我们遇到了一些情况 日志显着增长 阅读 gigabaytes 并杀死我们的服务器 所以现在我们想为日志设置最大文件大小 我可以将其添加到 logrotate conf 中吗 size 50M

随机推荐

  • 抓蓝牙数据包_蓝牙协议分析工具Wireshark/Frontline/Ellisys的使用

    一 声明 本专栏文章我们会以连载的方式持续更新 本专栏计划更新内容如下 第一篇 蓝牙综合介绍 主要介绍蓝牙的一些概念 产生背景 发展轨迹 市面蓝牙介绍 以及蓝牙开发板介绍 第二篇 Transport层介绍 主要介绍蓝牙协议栈跟蓝牙芯片之前的
  • JAVA String.intern()方法

    感谢原作者的分享 转载只为方便知识点 原文地址 http www runoob com java java string intern html 莫洛的笔记 尽管在输出中调用intern方法并没有什么效果 但是实际上后台这个方法会做一系列的
  • Java面试准备——计算机网络

    计算机网络相关面试重点整理 本文学习自GitHub上的JavaGuide项目 感谢大佬的资源 此处为自我学习与整理 原项目链接 JavaGuide OSI和TCP IP各层的结构和功能 都有哪些协议 我们平时学习计算机网络使用五层结构 比较
  • openlayers 3 之 getPixelFromCoordinate 为空

    在地图容器发生变化后 再调用其方法进行定位 暂时 报错setPosition的错误 跟踪源代码 发现是map getPixelFromCoordinate为null值 查找资料 发现是map还没有渲染完成 所以报错 解决办法 1 添加pos
  • Istio Pilot源码学习(三):xDS的异步分发

    本文基于Istio 1 18 0版本进行源码学习 5 xDS的异步分发 DiscoveryService主要包含下述逻辑 启动GRPC Server并接收来自Envoy端的连接请求 接收Envoy端的xDS请求 从ConfigControl
  • C#数组 一维、二维以及交错数组 C#学习杂记(五)

    1 一维数组基本概念 拥有连续的内存空间 存储一组相同类型的数据 数组长度不可更改 数组下标从0开始 2 数组基本使用 int arr 声明 arr new int 4 1 2 3 4 赋值并且初始化 string str str new
  • STM32F103ZET6【标准库函数开发】------05.通用定时器TIM4四个通道输出PWM信号

    STM32有四个通用定时器 现在介绍TIM4输出4路PWM的方法 TIM4可以选择不用重映射或者重映射 一 没有重映射 下面展示主要的time c main c函数的代码 include timer h void TIM4 PWM Init
  • linux LCD驱动实验

    文章目录 一 linux下LCD驱动解析 1 Framebuffer设备 2 LCD驱动解析 二 硬件原理图分析 三 LCD驱动程序编写 1 LCD 屏幕 IO 配置 2 LCD 屏幕参数节点信息修改 3 LCD 屏幕背光节点信息 四 运行
  • 深度学习(一)

    目录 1 深度学习要解决的问题 2 深度学习应用领域 3 计算机视觉任务 4 视觉任务中遇到的问题 1 深度学习要解决的问题 机器学习流程 数据获取 特征工程 建立模型 评估与应用 深度学习跟人工智能更贴切 机器学习中的一部分 特征工程的作
  • Arduino MQTT客户端库PubSubClient快速入门

    文章目录 目的 基础说明 示例代码 总结 目的 MQTT是比较常用在物联网设备中的通讯协议 这篇文章将使用 Arudino ESP32 作为MQTT客户端进行通讯使用演示 目前Arduino的MQTT客户端库中最常使用的是 PubSubCl
  • Swin Transformer:层次化视觉Transformer

    目录 论文下载地址 代码下载地址 论文作者 模型讲解 背景介绍 模型解读 总体结构 Swin Transformer模块 非重叠窗口的自注意力 连续Swin Transformer块中的移位窗口分区 移位的高效批量计算 网络结构 结果分析
  • python 函数

    函数是组织好的 可重复使用的 用来实现单一 或相关联功能的代码段 函数能提高应用的模块性 和代码的重复利用率 Python提供了许多内置函数 比如print 我们也可以自己创建函数 这被叫做用户自定义函数 定义函数的语法 def 函数名 参
  • 201632位matlab下载_Matlab R2016a x32

    之前小编为大家提供了matlab 2016a x64的下载 本来以为新版本不再支持32位系统了 不过官方还是很负责任地推出了支持xp win7等系统的matlab 2016a 32位版 新版本新增了模拟机器人系统 原型机器人算法以及机器人学
  • matlab常用分布极大似然估计函数用法(含例子实现)

    本博文源于matlab概率论运用 学过 概率论 的同学都知道 极大似然估计一般用于区间估计的 而matlab已经将其封装好由我们自己调用 参数估计的MATLAB函数 函数 功能 mu sigma muci sigmaci normfit x
  • 使用ScrollView实现下拉刷新(一)

    转载自 http blog csdn net a6920502 article details 8759244 使用ListView来做下拉刷新有很多例子 而且封装的很好 ListView有 header 但是如果不使用ListView的下
  • 使用C++完成以栈为基础的简易计算器,并使用Qt5制作可视化界面

    使用C 完成以栈为基础的简易计算器 并使用Qt5制作可视化界面 一 计算器内部逻辑构造 在完成计算器时选用栈数据结构 自己编写的和标准模板库中的都可 要求支持加减乘除和逻辑与或非运算 可计算整数和小数 这一部分有很多思路都可以实现 我的写法
  • C语言-操作环境变量

    20180216 c语言操作环境变量 使用C语言操作环境变量 获取环境变量内容 char getenv char name 参数 name欲获取的环境变量名称 返回值 环境变量值 NULL表示没有找到环境变量 设置环境变量 int pute
  • 【直播预告】Stable Diffusion篇

    08月23日 18 30 19 30 大淘宝技术与DataFun联合策划了本次活动 邀请阿里巴巴大淘宝技术应用开发工程师赤燕老师分享 Stable Diffusion WebUI 从零基础到入门 欢迎大家按时收看直播 赤燕 淘天集团 大淘宝
  • Windows系统打完补丁之后,CRM异步服务没了?

    此部署中缺少一个或多个服务器角色 昨天应公司安全部门要求要给windows系统打补丁 做安全测试 自从CRM安装之后 windows的补丁就没有安装过 就先拿测试环境试试 顺风顺水的打完补丁 登录CRM访问正常 登录服务器 服务都正常启动了
  • 【Linux】Linux8安装docker图文详细步骤以及常用指令

    Docker 是一个开源的应用容器引擎 让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中 然后发布到任何流行的Linux或Windows操作系统的机器上 也可以实现虚拟化 切换到源目录 备份原来的源 root localhost d