Docker 镜像常用命令总结

news2024/9/22 17:16:59

目录

1. Docker镜像相关命令(重点掌握)

1.1 docker pull 镜像名称 [:tag] 拉取镜像

1.2 docker search 镜向名称  (查询某个镜像)

1.3 docker images 列出当前主机上所有镜像

1.4 docker rmi 镜像ID 删除镜像

1.5 docker system df 查看所有镜像容器所占空间

2. Docker 虚悬镜像是什么?

3. 启动Docker

4. 查看Docker运行状态

5. 重启Docker

6. 停止Dokcer

7. 配置开机启动docker

8. 查看 docker 所有命令


1. Docker镜像相关命令(重点掌握)

1.1 docker pull 镜像名称 [:tag] 拉取镜像

可以看到我在后面加上了[:tag],这个是版本号的意思,因为同一个镜像也许会有多种不同的版本,如果你加,默认就是给你拉取 latest最新版的,这一点要记住哦!

如下所示,我拉取 redis 镜像,它默认就是下载的最新的。

[root@localhost docker]# docker pull redis
Using default tag: latest
latest: Pulling from library/redis
a378f10b3218: Pull complete 
b266cd8112a6: Pull complete 
7ba86e6448de: Pull complete 
3aeb7c9e9a5f: Pull complete 
de3be2a98bda: Pull complete 
4f4fb700ef54: Pull complete 
98e18d21aa3b: Pull complete 
Digest: sha256:1f1bd4adf5dabf173b235ba373faef55f3ad53394791d1473763bf5a2181780d
Status: Downloaded newer image for redis:latest
docker.io/library/redis:latest

1.2 docker search 镜向名称  (查询某个镜像)

如下,我运行此命令查询 nginx 镜像都有哪些,返回了一大堆

[root@localhost ~]# docker search nginx
NAME                               DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
nginx                              Official build of Nginx.                        19145     [OK]       
unit                               Official build of NGINX Unit: Universal Web …   15        [OK]       
nginxinc/nginx-unprivileged        Unprivileged NGINX Dockerfiles                  127                  
nginx/nginx-ingress                NGINX and  NGINX Plus Ingress Controllers fo…   82                   
nginx/nginx-prometheus-exporter    NGINX Prometheus Exporter for NGINX and NGIN…   33                   
nginxinc/nginx-s3-gateway          Authenticating and caching gateway based on …   2                    
nginx/unit                         This repository is retired, use the Docker o…   64                   
nginx/nginx-ingress-operator       NGINX Ingress Operator for NGINX and NGINX P…   1                    
nginxinc/amplify-agent             NGINX Amplify Agent docker repository           1                    
nginx/nginx-quic-qns               NGINX QUIC interop                              1                    
nginxinc/ingress-demo              Ingress Demo                                    4                    
nginxproxy/nginx-proxy             Automated Nginx reverse proxy for docker con…   115                  
nginxproxy/acme-companion          Automated ACME SSL certificate generation fo…   125                  
bitnami/nginx                      Bitnami nginx Docker Image                      176                  [OK]
bitnami/nginx-ingress-controller   Bitnami Docker Image for NGINX Ingress Contr…   30                   [OK]
ubuntu/nginx                       Nginx, a high-performance reverse proxy & we…   102                  
nginxinc/nginmesh_proxy_debug                                                      0                    
nginxproxy/docker-gen              Generate files from docker container meta-da…   12                   
nginxinc/mra-fakes3                                                                0                    
kasmweb/nginx                      An Nginx image based off nginx:alpine and in…   6                    
rancher/nginx-ingress-controller                                                   11                   
nginxinc/ngx-rust-tool                                                             0                    
nginxinc/mra_python_base                                                           0                    
nginxinc/nginmesh_proxy_init                                                       0

如果有同学觉得比较多,我们可以在 search 后面加后缀 --limit N 显示几个,如下 --limit 5 表示显示排行榜前5个。

[root@localhost ~]# docker search --limit 5 redis
NAME                       DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
redis                      Redis is an open source key-value store that…   12425     [OK]       
redislabs/redisearch       Redis With the RedisSearch module pre-loaded…   59                   
redislabs/redisinsight     RedisInsight - The GUI for Redis                91                   
redis/redis-stack-server   redis-stack-server installs a Redis server w…   57                   
redislabs/rebloom          A probablistic datatypes module for Redis       24                   [OK]

最上面的NAME,DESCRIPT,STARTS,OFFICIAL,AUTOMATED是参数,这些参数的含义如下图中所示,一般情况下选择第一个镜像就可以了,第一个通常是官方镜像。

1.3 docker images 列出当前主机上所有镜像

刚才我已经拉取了一个 redis 镜像,下面我们使用这个命令查看一下,可以看到已经查询到了

TAG:镜像版本;

IMAGE ID:镜像ID;

SIZE:镜像大小;

[root@localhost docker]# docker images
REPOSITORY   TAG       IMAGE ID       CREATED      SIZE
redis        latest    e579380d4317   6 days ago   138MB
1.4 docker rmi 镜像ID 删除镜像

我将刚才拉取下来的 redis 镜像再删除,然后 docker images 重新查看,可以看到,此时已经没有镜像了,redis 镜像已经没有了。

还有一点需要注意,后面的镜像ID可以写多个,表示删除多个。

[root@localhost docker]# docker rmi e579380d4317
Untagged: redis:latest
Untagged: redis@sha256:1f1bd4adf5dabf173b235ba373faef55f3ad53394791d1473763bf5a2181780d
Deleted: sha256:e579380d43178bcee8c8b219063605f45e035238335db5d3b3e95c5e38145700
Deleted: sha256:b1f68d2cfdde30e7bfe3002347c37bf6b872216fa8faaa612d06c9ec59668021
Deleted: sha256:562c06f2b95aea14af2496f9d4b9206efd39680b547232a7d4077137eb615d04
Deleted: sha256:28a572fe2e73a8bf90e92ed1a072c9227d019cdc202c2c88cd34c44f7ab45eee
Deleted: sha256:02b286a9390e2cd90268def73af145e1d09ac52aaa664d83bd0930373b2d62e2
Deleted: sha256:3d1901f414d075be1012ec6ba638b0b2005c79d414f677e8317f3fb7a1cab474
Deleted: sha256:3441e2762aa905a8939c32d5ac0d80e7f7222773fa1095825bfe9da360859be9
Deleted: sha256:cb4596cc145400fb1f2aa56d41516b39a366ecdee7bf3f9191116444aacd8c90

[root@localhost docker]# docker images
REPOSITORY   TAG       IMAGE ID   CREATED   SIZE
1.5 docker system df 查看所有镜像容器所占空间

上面我说到了 docker images 可以查看所有镜像,而 docker system df 则可以帮助我们查看所有镜像/容器/数据卷占用的空间(这里补充一句,各个镜像独立运行,相互隔离,每个运行的镜像就是一个容器)

刚才我拉取了三个镜像,如下所示,运行命令之后,docker 就会把容器,镜像,数据卷各自占用的比例列出,这里我一个都没有运行,全都只是拉取下来的景象,所以占比为100%

[root@localhost docker]# docker images
REPOSITORY   TAG       IMAGE ID       CREATED        SIZE
nginx        latest    593aee2afb64   6 hours ago    187MB
redis        latest    e579380d4317   6 days ago     138MB
mysql        latest    ae2502152260   2 months ago   574MB
[root@localhost docker]# 
[root@localhost docker]# docker system df
TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
Images          3         0         823.7MB   823.7MB (100%)
Containers      0         0         0B        0B
Local Volumes   0         0         0B        0B
Build Cache     0         0         0B        0B

2. Docker 虚悬镜像是什么?

这也算是一个小的面试题,通过上面的学习,我们学会了使用 docker images 查看当前所有已有的docker 镜像。

但有些时候,查询出来的镜像的名字和版本都是none,只有镜像ID和大小,如下图。也就是说这个镜像我们不知道它是什么东西,不能确定,这种镜像称之为虚悬镜像。

这种镜像通常没什么用,建议删除,有时候是因为镜像下载过程中出现了问题,有时候是因为构建镜像时出现了问题。

3. 启动Docker

systemctl start docker

如下,在 Linux 操作系统中,只要没有报错就代表启动成功

[zhangsir@localhost ~]$ systemctl start docker

4. 查看Docker运行状态

systemctl status docker

刚才启动成功,查看一下运行状态,如下所示,Active为running表示正在运行中

[root@localhost ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2023-10-25 11:33:51 CST; 6s ago
     Docs: https://docs.docker.com
 Main PID: 9895 (dockerd)
    Tasks: 7
   Memory: 71.2M
   CGroup: /system.slice/docker.service
           └─9895 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Oct 25 11:33:50 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
Oct 25 11:33:50 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:50.961478252+08:00" level=info msg="Starting up"
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.003124975+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.003454992+08:00" level=info msg="Loading containers: start."
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.063846884+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.086338615+08:00" level=info msg="Loading containers: done."
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.109714791+08:00" level=info msg="Docker daemon" commit=a61e2b4 graphdriver=overlay2 version=24.0.5
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.109756158+08:00" level=info msg="Daemon has completed initialization"
Oct 25 11:33:51 localhost.localdomain dockerd[9895]: time="2023-10-25T11:33:51.129061470+08:00" level=info msg="API listen on /run/docker.sock"
Oct 25 11:33:51 localhost.localdomain systemd[1]: Started Docker Application Container Engine.

5. 重启Docker

systemctl restart docker

重启 docker,命令与启动docker相似,加了一个前缀 "re",只要没有报错就代表重启成功,在查询一下状态,也显示正在运行中

[root@localhost ~]# systemctl restart docker
[root@localhost ~]# 
[root@localhost ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2023-10-25 11:35:37 CST; 1min 21s ago
     Docs: https://docs.docker.com
 Main PID: 10094 (dockerd)
    Tasks: 7
   Memory: 30.2M
   CGroup: /system.slice/docker.service
           └─10094 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Oct 25 11:35:36 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.065508073+08:00" level=info msg="Starting up"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.082201618+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.082323526+08:00" level=info msg="Loading containers: start."
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.136339904+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.153493234+08:00" level=info msg="Loading containers: done."
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.161727804+08:00" level=info msg="Docker daemon" commit=a61e2b4 graphdriver=overlay2 version=24.0.5
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.161762409+08:00" level=info msg="Daemon has completed initialization"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.175532811+08:00" level=info msg="API listen on /run/docker.sock"
Oct 25 11:35:37 localhost.localdomain systemd[1]: Started Docker Application Container Engine.

6. 停止Dokcer

systemctl stop docker

在停止之后,它给了一个警告 "Stopping docker.service, but it can still be activated by:
  docker.socket"

翻译过来就是 "停止docker.service,但它仍然可以由docker.socket激活"。

查看状态,此时docker已经停止,处于 dead 死亡状态。

[root@localhost ~]# systemctl stop docker
Warning: Stopping docker.service, but it can still be activated by:
  docker.socket
[root@localhost ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2023-10-25 11:38:17 CST; 1min 20s ago
     Docs: https://docs.docker.com
  Process: 10094 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=0/SUCCESS)
 Main PID: 10094 (code=exited, status=0/SUCCESS)

Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.136339904+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.153493234+08:00" level=info msg="Loading containers: done."
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.161727804+08:00" level=info msg="Docker daemon" commit=a61e2b4 graphdriver=overlay2 version=24.0.5
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.161762409+08:00" level=info msg="Daemon has completed initialization"
Oct 25 11:35:37 localhost.localdomain dockerd[10094]: time="2023-10-25T11:35:37.175532811+08:00" level=info msg="API listen on /run/docker.sock"
Oct 25 11:35:37 localhost.localdomain systemd[1]: Started Docker Application Container Engine.
Oct 25 11:38:17 localhost.localdomain systemd[1]: Stopping Docker Application Container Engine...
Oct 25 11:38:17 localhost.localdomain dockerd[10094]: time="2023-10-25T11:38:17.418003207+08:00" level=info msg="Processing signal 'terminated'"
Oct 25 11:38:17 localhost.localdomain dockerd[10094]: time="2023-10-25T11:38:17.418822780+08:00" level=info msg="Daemon shutdown complete"
Oct 25 11:38:17 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.

7. 配置开机启动docker

systemctl enable docker

运行这个命令之后,以后只要你启动了 Linux 服务器,Doker就会跟着启动,不需要每次都使用上面的启动命令

[root@localhost ~]# systemctl enable docker
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.

8. 查看 docker 所有命令

docker --help

运行该命令,docker会给我们返回所有可执行命令,后面还有它的英文解释,大多也都不常用,同学们可以用到哪个查哪个。

[root@localhost ~]# docker --help

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
  run         Create and run a new container from an image
  exec        Execute a command in a running container
  ps          List containers
  build       Build an image from a Dockerfile
  pull        Download an image from a registry
  push        Upload an image to a registry
  images      List images
  login       Log in to a registry
  logout      Log out from a registry
  search      Search Docker Hub for images
  version     Show the Docker version information
  info        Display system-wide information

Management Commands:
  builder     Manage builds
  buildx*     Docker Buildx (Docker Inc., v0.11.2)
  compose*    Docker Compose (Docker Inc., v2.20.2)
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  plugin      Manage plugins
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Swarm Commands:
  swarm       Manage Swarm

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  import      Import the contents from a tarball to create a filesystem image
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  wait        Block until one or more containers stop, then print their exit codes

Global Options:
      --config string      Location of client config files (default "/root/.docker")
  -c, --context string     Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket to connect to
  -l, --log-level string   Set the logging level ("debug", "info", "warn", "error", "fatal") (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default "/root/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default "/root/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default "/root/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Run 'docker COMMAND --help' for more information on a command.

For more help on how to use Docker, head to https://docs.docker.com/go/guides/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1134968.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

每日一练——快速合并2个有序数组

每日一练来喽~~~ 今天up主为大家分享一个,快速合并2个有序数组的法子,注意听哟! 题目: 给你两个按 非递减顺序 排列的整数数组 nums1 和 nums2,另有两个整数 m 和 n ,分别表示 nums1 和 nums2 中的元素数…

2、TB6600驱动器介绍【51单片机控制步进电机-TB6600系列】

摘要:本节介绍TB6600驱动器界面及关键参数设置 一、驱动器功能界面 二、关键参数 输入电压:DC9-42V 输出电流:0.5-4A 最大功耗:160W 细分设置:1,2/A,2/B,4,8,16,32 工作温度:-10~45C 信号口驱动电流&…

用ST-LINK 出现连接失败【已解决】

出现的问题:not connect to target! 13:33:39 : Can not connect to target! Please select "Connect Under Reset" mode from Target->Settings menu and try again. If youre trying to connect to a low frequ…

【Java集合类面试二十七】、谈谈CopyOnWriteArrayList的原理

文章底部有个人公众号:热爱技术的小郑。主要分享开发知识、学习资料、毕业设计指导等。有兴趣的可以关注一下。为何分享? 踩过的坑没必要让别人在再踩,自己复盘也能加深记忆。利己利人、所谓双赢。 面试官:谈谈CopyOnWriteArrayLi…

FlutterUnit 周边 | 收录排序算法可视化

theme: cyanosis 1. FlutterUnit 更新:排序算法可视化 排序算法可视化是用视图层表现出算法执行过程中排序的过程,感谢 编程的平行世界 在 《十几种排序算法的可视化效果,快来看看!👀》》 一文中提供的算法支持。我进行…

【Proteus仿真】【Arduino单片机】继电器和按键

文章目录 一、功能简介二、软件设计三、实验现象联系作者 一、功能简介 本项目使用Proteus8仿真Arduino单片机控制器,使用蜂鸣器、按键、继电器、电机等。 主要功能: 系统运行后,K1键控制蜂鸣器发声,K2键控制LED开关,…

计算机图形学——二维变换

二维变换 概念 应用于对象几何描述并改变其位置、方向或者大小的变换叫做几何变换,有时候也被叫做建模变换。而本文仅讨论平面中的几何变换,即二维变换。 矩阵表示和齐次坐标 对于普通的2x2矩阵,我们总是要将平移项与其它变换对应的矩阵写…

MYSQL表的连接方式

mysql表连接方式可以分为 1、内连接 2、外连接 3、全连接 4、交叉连接 t1表 t2表 1、内连接,包括自然连接,等值连接,不等值连接 1.1、自然连接,根据相同字段进行连接匹配…

容联七陌百度营销通BCP解决方案,让营销更精准

百度营销通作为一个快速迭代、满足客户多元化营销需求的高效率营销工具成为众多企业的选择,通过百度营销通BCP对接,企业就可以在百度咨询页接入会话,收集百度来源的访客搜索关键词,通过百度推广获取更多的精准客户,从而…

基于JAVA的天猫商场系统设计与实现,springboot+jsp,MySQL数据库,前台用户+后台管理,完美运行,有一万五千字论文

目录 演示视频 基本介绍 论文目录 系统截图 演示视频 基本介绍 基于JAVA的天猫商场系统设计与实现,springbootjsp,MySQL数据库,前台用户后台管理,完美运行,有一万五千字论文。 本系统在HTML和CSS的基础上&#xf…

计算机起源(二)

一、前言 冯诺依曼奠定了计算机体系结构后,早期的计算机是没有操作系统的,还是需要大量的人为参与,比如纸卡打孔。通过纸卡上的方格,打孔来表示二进制数。那么如果能使计算机自动能够进行计算,就需要一个模拟人工的操…

Node学习笔记之使用Express框架开发接口

我们利用nodeexpressmysql开发接口,对数据库数据进行简单增、删、查改等操作。 工具 数据库可视化 接口测试工具Postman 1、初始化 我们这里利用nodeexpressmysql开发一个简单的书城商店API。后面会使用result API规范接口 1、创建项目 新建文件夹server 安装依…

记:2023香山杯-Ez加密器-题目复现和学习记录““

文章目录 前言题目分析and调试过程完整exp 前言 前段时间的比赛,那会刚入门o(╥﹏╥)o都不会写,现在复现一下。 题目分析and调试过程 查壳nie 进入IDA,shiftF12查找下字符串看看,定位过去 先用N重命名一下函数,方便…

GPDB7-新特性-角色创建

GPDB7-新特性-角色创建 9月GPDB7发布了release版本,新增了很多新特性及性能改进,对GPDB用户带来福音。业务在调研GPDB6升级到GPDB7的过程中,生产环境会创建用户,利用这些用户进行迁移。但是出现问题了,竟然会报&#x…

如何使用Linux编写STM32程序并且烧录

前言 (1)如果有嵌入式企业需要招聘湖南区域日常实习生,任何区域的暑假Linux驱动实习岗位,可C站直接私聊,或者邮件:zhangyixu02gmail.com,此消息至2025年1月1日前均有效 (2&#xff0…

Z41H-64C高压闸阀型号解析

Z41H-64C型号字母含义 Z41H-64C型号是德特森阀门常用的高压闸阀型号字母分别代表的意思是: Z——代表阀门类别《闸阀》 4——代表连接方式《法兰》 1——代表结构形式《明杆》 H——代表密封堆焊《硬质合金》 -《分隔键》 64——代表公称压力《6.4MPA》 C——代表阀体材…

RT-Thread 6. ENV增加组件(从服务器下载得到)

键入“Y”、或者空格选中 保存 保存之后,自动修改这个文件 退回到ENV界面,输入:pkgs --update 多了 如果用keil4编译的话,输入:scons --targetmdk4,重新生成keil4工程,双击“project.uvpro…

10-类加载器

类加载器 类与类加载器 判断类是否“相等” 任意一个类,都由加载它的类加载器和这个类本身一同确立其在 Java 虚拟机中的唯一性,每一个类加载器,都有一个独立的类名称空间。 因此,比较两个类是否“相等”,只有在这…

北邮22级信通院数电:Verilog-FPGA(6)第六周实验:全加器(关注我的uu们加群咯~)

北邮22信通一枚~ 跟随课程进度更新北邮信通院数字系统设计的笔记、代码和文章 持续关注作者 迎接数电实验学习~ 获取更多文章,请访问专栏: 北邮22级信通院数电实验_青山如墨雨如画的博客-CSDN博客 作者建群啦!!!欢…

【计网 P2P】计算机网络 P2P(Peer to Peer)详解:中科大郑烇老师笔记 (七)

目录 0 引言1 C/S 模式 VS P2P模式2 P2P 概述2.1 纯P2P架构2.2 非结构化P2P和结构化(DHT)P2P2.2.1 非结构化P2P2.2.1 结构化P2P 2.3 P2P需要解决的问题及解决方案2.3.1 集中式目录2.3.2 完全分布式2.3.3 混合体 🙋‍♂️ 作者:海码…