运行Docker图像时会遇到问题

发布于 2025-02-11 16:02:05 字数 1858 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北城半夏 2025-02-18 16:02:05

-i(忽略案例)

描述命令的输出与此相似:

Name:                   multitool
Namespace:              codewizard
CreationTimestamp:      Tue, 28 Jun 2022 02:28:35 +0300
Labels:                 app=multitool
Annotations:            deployment.kubernetes.io/revision: 1
Selector:               app=multitool
Replicas:               1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:  app=multitool
  Containers:
   network-multitool:
    Image:        praqma/network-multitool
    Port:         <none>
    Host Port:    <none>
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Progressing    True    NewReplicaSetAvailable
  Available      True    MinimumReplicasAvailable
OldReplicaSets:  <none>
NewReplicaSet:   multitool-546689b6bb (1/1 replicas created)
Events:          <none>

输出中的相关部分是:

Pod Template:
  Labels:  app=multitool
  Containers:
   network-multitool:
    Image:        praqma/network-multitool
  • image此示例中的条目是映像:praqma/network- MultiTool带有资本i,因此,为了获得它,您需要忽略案例或以其他方式使用GREP Image

-i (ignore case)

The output of the describe command is similar to this one:

Name:                   multitool
Namespace:              codewizard
CreationTimestamp:      Tue, 28 Jun 2022 02:28:35 +0300
Labels:                 app=multitool
Annotations:            deployment.kubernetes.io/revision: 1
Selector:               app=multitool
Replicas:               1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:  app=multitool
  Containers:
   network-multitool:
    Image:        praqma/network-multitool
    Port:         <none>
    Host Port:    <none>
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Progressing    True    NewReplicaSetAvailable
  Available      True    MinimumReplicasAvailable
OldReplicaSets:  <none>
NewReplicaSet:   multitool-546689b6bb (1/1 replicas created)
Events:          <none>

The relevant section in the output is this:

Pod Template:
  Labels:  app=multitool
  Containers:
   network-multitool:
    Image:        praqma/network-multitool
  • The Image entry in this sample is Image: praqma/network-multitool with a capital I, so in order to get it you want to ignore the case or otherwise use the grep Image
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文