zoukankan      html  css  js  c++  java
  • Docker Compose报错Failed to Setup IP tables

    详细信息如下:

    [root@hecg docker-gitlab]# docker-compose up -d
    Creating network "docker-gitlab_bridge" with driver "bridge"
    ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:  (iptables failed: iptables --wait -t nat -I DOCKER -i br-1b0d89adb807 -j RETURN: iptables: No chain/target/match by that name.
     (exit status 1))
    

    查了资料,是因为防火墙修改后没有重启Docker服务,重启Docker服务后就好了:

    ## 重启docker
    [root@hecg docker-gitlab]# systemctl restart docker
    
    ## 再次运行 ok
    [root@hecg docker-gitlab]# docker-compose up -d
    Creating network "docker-gitlab_bridge" with driver "bridge"
    Creating docker-gitlab_gitlab_1 ... done
    
  • 相关阅读:
    selenium
    selenium
    selenium
    selenium-控制浏览器操作
    selenium元素定位
    selenium测试-open chrome
    selenium环境搭建
    selenium简介
    74 计算机图形学开源处理库
    73 QT编程入门
  • 原文地址:https://www.cnblogs.com/HeCG95/p/12221877.html
Copyright © 2011-2022 走看看