---
title: "docker 与 iptables"
author: "Perrin Yong"
author_profile: https://www.pystone.net/profile/
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/docker-iptables-networking/
type: note
content_role: unspecified
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/03-软件工程与质量保障/CI-CD与质量保障/CI-CD工具链/docker 与 iptables.md"
content_hash: 3f1df82ebd61a2bb98e91878a457c03849a4672bb3833bdeb41660284107037a
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# docker 与 iptables

> 创建时间：2022/7/19 16:05

在Linux上，Docker操作iptables规则以提供网络隔离。

可以在Docker引擎的配置文件/etc/docker.daemon.json的中将iptables键设置为false。

<https://www.liyaxiaomishu.com/docker/docker-guides/docker-and-iptables>

## Problems found with Jenkins and docker-compose： <https://kelvinsblog.com/2021/01/problems-found-with-jenkins-and-docker-compose/>

IPTABLES 一些配置指令：<https://upcloud.com/resources/tutorials/configure-iptables-centos>
