<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>docker - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/docker/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Fri, 28 Nov 2025 10:04:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>让Docker兼容firewalld防火墙</title>
		<link>https://www.coder4.com/archives/8583</link>
					<comments>https://www.coder4.com/archives/8583#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 28 Nov 2025 10:04:11 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[firewalld防火墙]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=8583</guid>

					<description><![CDATA[docker与ufw是不兼容的，一个方案是用三方的docker_ufw 今天换一个方案，可以简单配置以兼容firewalld 1 安装firewalld sudo apt-get install firewalld 2 配置firewalld sudo firewall-cmd --add-port={22/tcp,443/tcp} --permanent sudo firewall-cmd --remove-port=3306/tcp --permanent sudo[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/8583/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Docker源最新列表</title>
		<link>https://www.coder4.com/archives/8250</link>
					<comments>https://www.coder4.com/archives/8250#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 26 Nov 2024 08:39:00 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[源]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=8250</guid>

					<description><![CDATA[https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/8250/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>podman docker配置镜像</title>
		<link>https://www.coder4.com/archives/8177</link>
					<comments>https://www.coder4.com/archives/8177#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 19 Jun 2024 04:18:51 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[配置镜像]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=8177</guid>

					<description><![CDATA[备份 cp ./registries.conf ./registries.conf.bk 配置 /etc/containers/registries.conf unqualified-search-registries = ["docker.io"] [[registry]] prefix = "docker.io" location = "docker.m.daocloud.io" insecure = true 当前可用镜像： docker.m.daocl[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/8177/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>在x86上模拟raspberry pi</title>
		<link>https://www.coder4.com/archives/8033</link>
					<comments>https://www.coder4.com/archives/8033#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 29 Jan 2024 08:09:25 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[raspberry pi os]]></category>
		<category><![CDATA[树莓派]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=8033</guid>

					<description><![CDATA[除了常见的直接QEmu方法外，也可以使用这个Docker镜像，里面内置了QEmu + 树莓派的镜像 docker run -it ghcr.io/carlosperate/qemu-rpi-os-lite:bullseye-2023-05-03 更多版本镜像可以参考repo：https://github.com/carlosperate/docker-qemu-rpi-os/tree/main[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/8033/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>30秒上手firewalld防火墙配置</title>
		<link>https://www.coder4.com/archives/7878</link>
					<comments>https://www.coder4.com/archives/7878#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 07 Aug 2023 11:17:49 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[firewalld]]></category>
		<category><![CDATA[防火墙]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7878</guid>

					<description><![CDATA[1 安装、启用 # 启动防火墙 systemctl start firewalld # 加入开机自自动 systemctl enable firewalld # 停止防火墙 systemctl stop firewalld 2 基本查看 # 查看状态 / 端口 firewall-cmd --state firewall-cmd --list-all 3 禁用 / 放行 # 添加端口(记得reload) firewall-cmd --zone=public --[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7878/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>私有化部署bitwarden</title>
		<link>https://www.coder4.com/archives/7327</link>
					<comments>https://www.coder4.com/archives/7327#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 07 Sep 2021 11:12:12 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bitwarden]]></category>
		<category><![CDATA[docker]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7327</guid>

					<description><![CDATA[docker部分 #!/bin/bash NAME="bitwarden" PUID="1000" PGID="1000" PORT1="10080" PORT2="13012" VOLUME="yourpath" mkdir -p $VOLUME docker ps -q -a --filter "name=$NAME" &#124; xargs -I {} docker rm -f {} docker run \ --env PUID=$PUID \[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7327/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>性能压测时通过docker突破nofile / 端口数量的限制</title>
		<link>https://www.coder4.com/archives/7223</link>
					<comments>https://www.coder4.com/archives/7223#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 24 Feb 2021 12:32:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[压测]]></category>
		<category><![CDATA[性能]]></category>
		<category><![CDATA[限制]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7223</guid>

					<description><![CDATA[服务端性能压测时，在客户端侧经常遇到两个问题： nofile超限额，对于Linux尚可调整，但是对于Mac系统调整非常难。 tcp端口数限制(3w左右，放开限制也只能到6w），这个没法调整 可以通过docker的方式，突破这两个限制 #!/bin/bash docker run -v $(pwd):/benchmark-client.bin -it ubuntu:20.04 /app/benchmark-client.bin 如上，我们启用若干个个docker，每个都[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7223/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>让Docker和UFW和平相处</title>
		<link>https://www.coder4.com/archives/6739</link>
					<comments>https://www.coder4.com/archives/6739#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 31 Aug 2019 15:23:51 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[ufw]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=6739</guid>

					<description><![CDATA[同时使用Docker和UFW(或者其他基于iptables得防火墙)会存在一些问题， 传统搞法是禁止docker更改iptables，但是这样docker得网路基本就废了。 根据最新得社区讨论，可以使用下面得工具进行解决 1 安装 https://github.com/chaifeng/ufw-docker 就是个脚本，clone下来就好 sudo ./ufw-docker install 2 启用某个docker得外网访问 上面工具安装完毕后，UFW就生[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/6739/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>建立加密的Docker私有仓库</title>
		<link>https://www.coder4.com/archives/6147</link>
					<comments>https://www.coder4.com/archives/6147#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 30 Aug 2018 07:46:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[加密]]></category>
		<category><![CDATA[私有仓库]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=6147</guid>

					<description><![CDATA[1 生成Docker私有仓库所需要的密钥 #!/bin/bash NAME="docker_registry_certs" VOLUME="$HOME/docker_data/docker_registry_certs" SSL_IP="10.1.64.72" # make sure volume valid sudo mkdir -p $VOLUME &#38;&#38; sudo chmod -R 777 $VOLUME # submit to swarm mas[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/6147/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>docker宿主机的防火墙配置</title>
		<link>https://www.coder4.com/archives/5912</link>
					<comments>https://www.coder4.com/archives/5912#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sun, 21 Jan 2018 11:57:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[素主机]]></category>
		<category><![CDATA[防火墙]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=5912</guid>

					<description><![CDATA[以ufw为例： sudo ufw allow 22/tcp sudo ufw allow 2376/tcp sudo ufw allow 2377/tcp sudo ufw allow 7946/tcp sudo ufw allow 7946/udp sudo ufw allow 4789/udp &#160;[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/5912/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
