【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图文详细步骤以及常用指令 的相关文章

  • CMake 链接 glfw3 lib 错误

    我正在使用 CLion 并且正在使用 glfw3 库编写一个程序 http www glfw org docs latest http www glfw org docs latest 我安装并正确执行了库中的所有操作 我有 a 和 h 文
  • 使用包管理器时如何管理 Perl 模块?

    A 最近的问题 https stackoverflow com questions 397817 unable to find perl modules in intrepid ibex ubuntu这让我开始思考 在我尝试过的大多数 Li
  • 内核的panic()函数是否完全冻结所有其他进程?

    我想确认内核的panic 功能和其他类似kernel halt and machine halt 一旦触发 保证机器完全冻结 那么 所有的内核和用户进程都被冻结了吗 是panic 可以被调度程序中断吗 中断处理程序仍然可以执行吗 用例 如果
  • 每次我执行 docker compose up 时,Docker 都会创建一个新卷

    我有一个 docker compose 文件 可以启动多个服务 我刚刚收到一条错误消息 指出我的磁盘空间不足 因此我输入 docker system df 并看到我有 21 个卷 如果我有 3 个 docker 容器 每个容器都附加一个卷
  • 如何查找哪个 Yocto 项目配方填充图像根文件系统上的特定文件

    我经常与 Yocto 项目合作 一个常见的挑战是确定文件为何 或来自什么配方 包含在 rootfs 中 这有望从构建系统的环境 日志和元数据中得出 理想情况下 一组命令将允许将文件链接回源 即配方 我通常的策略是对元数据执行搜索 例如gre
  • 无法访问通过 NodePort 暴露的 Kubernetes 服务

    我正在使用 minikube 在最新的 MacOS 上测试 kubernetes 这是我的相关 YAML 命名空间 yml apiVersion v1 kind Namespace metadata name micro labels na
  • 如何使用Android获取Linux内核的版本?

    如何在 Android 应用程序中获取 Linux 内核的版本 不是 100 确定 但我认为调用 uname r 需要 root 访问权限 无论如何 有一种不太肮脏的方法可以做到这一点 那就是 System getProperty os v
  • Apache 访问 Linux 中的 NTFS 链接文件夹

    在 Debian jessie 中使用 Apache2 PHP 当我想在 Apache 的文档文件夹 var www 中创建一个新的小节时 我只需创建一个指向我的 php 文件所在的外部文件夹的链接 然后只需更改该文件夹的所有者和权限文件夹
  • 没有特权访问的 Docker VPN IPSec 客户端

    我有一个 mysql 数据库 只有在建立 VPN 连接后才能访问 IpSec shared secret 用户名 密码 所以我想运行一个隔离的docker容器 它将建立此连接并以某种方式代理 公开mysql端口 以便其他容器可以连接到它而不
  • cdc_acm:无法设置 dtr/rts - 无法与 USB cdc 设备通信

    我试图使用 pic24fj128gb206 枚举 usb cdc 设备 设备似乎已正确枚举 但是当我将设备连接到 Linux PC 时 我从内核收到以下警告消息 cdc acm 1 8 1 6 7 1 0 failed to set dtr
  • 如何让 Node.js 作为后台进程运行并且永不死掉?

    我通过 putty SSH 连接到 linux 服务器 我尝试将其作为后台进程运行 如下所示 node server js 然而 2 5 小时后 终端变得不活动 进程终止 即使终端断开连接 我是否也可以使进程保持活动状态 Edit 1 事实
  • 为什么同一个curl命令在windows和linux下输出不同的东西?

    为什么同样的curl o file https www link com 命令输出不同的东西 例如 如果我运行命令curl o source txt https www youtube com playlist list PLIx6Fwnp
  • 无法通过节点应用程序连接到redis,两者都在docker中

    我正在尝试将我的应用程序连接到 redis 但我得到 ioredis Unhandled error event Error connect ECONNREFUSED 127 0 0 1 6379 当我做 docker exec it ed
  • 复制目录内容

    我想将目录 tmp1 的内容复制到另一个目录 tmp2 tmp1 可能包含文件和其他目录 我想使用C C 复制tmp1的内容 包括模式 如果 tmp1 包含目录树 我想递归复制它们 最简单的解决方案是什么 我找到了一个解决方案来打开目录并读
  • 如何将音量挂载到应用程序的源代码中?

    我有 kubernetes pod 我将应用程序源代码安装为 git 卷 我尝试了各种设置来将源代码放入 pod 中 而 git Volume 是我最终得到的设置 但现在我遇到了数据问题 我的应用程序中有一个文件目录 空 我需要在其中安装一
  • 在运行时检查 GCC 版本

    我需要找出 C 程序执行过程中 运行时 可用的 系统中安装的 GCC 版本 主要版本和次要版本 意思是 以编程方式提取可用 gcc 的版本 就像我在 shell 中输入 gcc version 一样 但在 c 程序中 The GNUC an
  • 将 LetsEncrypt 文件复制到 docker 容器

    我不是 docker 专家 我只是在习惯它 我想将主机上生成的 ssl 证书复制到我的 docker 容器 我读到它应该能够与volumesdocker compose 文件中的参数 但启动我的服务器时它总是令人兴奋 因为它无法在工作目录中
  • 如何wget目录中最新的文件

    我想编写一个 bash 脚本来下载并安装最新的每日构建程序 RStudio 是否有可能使wget仅下载目录中最新的文件http www rstudio org download daily desktop http www rstudio
  • Docker 容器在运行或重新启动 PostgreSQL 镜像后立即退出

    我是 docker 的初学者 由于容器重新启动问题 我陷入困境 当我尝试重新启动现有退出的容器或创建新容器 删除旧容器后 运行时 会出现问题 docker run d name mempostgres v home lukasz lc pg
  • 为 OpenWrt 编写和编译程序

    我有一个在 OpenWRT 下运行的具有 MIPS 架构的嵌入式设备 系统类型 MediaTek MT7628AN ver 1 eco 2机器 WRTnode2P 处理器 0CPU型号 MIPS 24KEc V5 5 我想通过我的电脑 ub

随机推荐

  • 抓蓝牙数据包_蓝牙协议分析工具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