最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

DockerCE之執(zhí)行docker info出現(xiàn)兩條警告信息及解決方案

 更新時間:2024年02月04日 17:02:21   作者:cnskylee  
這篇文章主要介紹了DockerCE之執(zhí)行docker info出現(xiàn)兩條警告信息及解決方案,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教

DockerCE之執(zhí)行docker info出現(xiàn)兩條警告信息

安裝完docker-ce 20.10.12版本后,執(zhí)行docker info的時候出現(xiàn)下面的警告信息。

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

[root@node-1 docker-ce]# systemctl start docker.service
[root@node-1 docker-ce]# systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since 四 2021-12-16 07:13:27 CST; 1s ago
     Docs: https://docs.docker.com
 Main PID: 96606 (dockerd)
    Tasks: 8
   Memory: 27.5M
   CGroup: /system.slice/docker.service
           └─96606 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
 
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.284939882+08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.284958321+08:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.284970554+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.347482341+08:00" level=info msg="Loading containers: start."
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.733612330+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"
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.820102802+08:00" level=info msg="Loading containers: done."
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.867156288+08:00" level=info msg="Docker daemon" commit=459d0df graphdriver(s)=overlay2 version=20.10.12
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.867280919+08:00" level=info msg="Daemon has completed initialization"
12月 16 07:13:27 node-1 systemd[1]: Started Docker Application Container Engine.
12月 16 07:13:27 node-1 dockerd[96606]: time="2021-12-16T07:13:27.928730639+08:00" level=info msg="API listen on /var/run/docker.sock"
[root@node-1 docker-ce]# docker info
Client:
 Debug Mode: false
 Plugins:
  scan: Docker Scan (Docker Inc., v0.9.0)
 
Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 3.10.0-1160.el7.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.777GiB
 Name: node-1
 ID: D4T7:EWDQ:JKDN:REHH:ODYZ:LPEV:YQU4:FWAE:FSKF:ATUQ:5IV6:GAFL
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

解決

在/etc/sysctl.info文件中增加下面兩行配置,保存后執(zhí)行sysctl -p即可。

net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1

[root@node-1 docker-ce]# vi /etc/sysctl.conf 
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
 
vm.max_map_count=262145
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
 
[root@node-1 docker-ce]# sysctl -p
vm.max_map_count = 262145
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
 
[root@node-1 docker-ce]# docker info
Client:
 Debug Mode: false
 Plugins:
  scan: Docker Scan (Docker Inc., v0.9.0)
 
Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 3.10.0-1160.el7.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.777GiB
 Name: node-1
 ID: D4T7:EWDQ:JKDN:REHH:ODYZ:LPEV:YQU4:FWAE:FSKF:ATUQ:5IV6:GAFL
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 
[root@node-1 docker-ce]# 

總結

以上為個人經(jīng)驗,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關文章

  • Docker安裝配置MySQL的實現(xiàn)步驟

    Docker安裝配置MySQL的實現(xiàn)步驟

    MySQL 是最流行的關系型數(shù)據(jù)庫管理系統(tǒng),在 WEB 應用方面 MySQL 是最好的 RDBMS(Relational Database Management System:關系數(shù)據(jù)庫管理系統(tǒng))應用軟件之一。在本教程中,會帶大家正確安裝配置MySQL在Docker
    2021-11-11
  • Docker容器無法連接Docker Hub下載鏡像的詳細排查與解決方案

    Docker容器無法連接Docker Hub下載鏡像的詳細排查與解決方案

    在使用Docker時,可能會遇到容器無法從Docker Hub下載鏡像的情況,這種問題可能由多種原因引起,例如網(wǎng)絡問題、Docker配置問題或鏡像源問題等,本文將詳細分析如何排查和解決這些問題,并通過表格、圖示和示例代碼提供清晰、實用的解決方案,需要的朋友可以參考下
    2025-06-06
  • 解決docker啟動失敗Failed?to?start?containerd?container?runtime

    解決docker啟動失敗Failed?to?start?containerd?container?runtim

    這篇文章主要介紹了解決docker啟動失敗Failed?to?start?containerd?container?runtime問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2024-05-05
  • 詳解使用docker搭建hadoop分布式集群

    詳解使用docker搭建hadoop分布式集群

    本篇文章主要介紹了詳解使用docker搭建hadoop分布式集群,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2017-02-02
  • Docker自動部署Apache Tomcat的方法

    Docker自動部署Apache Tomcat的方法

    這篇文章主要介紹了Docker自動部署Apache Tomcat的方法,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧
    2018-04-04
  • 清理docker容器里的nacos日志方式

    清理docker容器里的nacos日志方式

    文章提供了一個用于清理Docker容器中Nacos日志的腳本,并建議將其設置為每天計劃任務,作者分享個人經(jīng)驗,希望對大家有所幫助
    2026-01-01
  • 通過Docker安裝啟動DB2在Spring?Boot整合DB2的方法

    通過Docker安裝啟動DB2在Spring?Boot整合DB2的方法

    DB2是IBM的一款優(yōu)秀的關系型數(shù)據(jù)庫,這篇文章主要介紹了通過Docker啟動DB2,并在Spring?Boot整合DB2,需要的朋友可以參考下
    2023-01-01
  • Docker搭建Minio容器的流程步驟(完整詳細版)

    Docker搭建Minio容器的流程步驟(完整詳細版)

    Minio 是一個基于Apache License v2.0開源協(xié)議的對象存儲服務,雖然輕量,卻擁有著不錯的性能,它兼容亞馬遜S3云存儲服務接口,非常適合于存儲大容量非結構化的數(shù)據(jù),本文將給大家介紹Docker搭建Minio容器的流程步驟,需要的朋友可以參考下
    2024-08-08
  • docker-compose啟動的容器一直處于restarting狀態(tài)的問題解決

    docker-compose啟動的容器一直處于restarting狀態(tài)的問題解決

    本文主要介紹了docker-compose啟動的容器一直處于restarting狀態(tài)的問題解決,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧
    2024-11-11
  • docker compose鏡像如何更新

    docker compose鏡像如何更新

    這篇文章主要介紹了docker compose鏡像更新方式,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2025-06-06

最新評論

龙井市| 清远市| 辉南县| 社旗县| 大冶市| 类乌齐县| 华宁县| 古丈县| 龙胜| 上饶县| 湾仔区| 峡江县| 常山县| 廊坊市| 泰顺县| 都江堰市| 清徐县| 安新县| 鲁山县| 山丹县| 盐池县| 丰顺县| 仙居县| 通海县| 长子县| 洪江市| 绵竹市| 宝清县| 山丹县| 疏勒县| 闻喜县| 长垣县| 贵州省| 中阳县| 穆棱市| 高安市| 英山县| 绥宁县| 本溪市| 方正县| 河北省|