DEJAVUBLOG Telegram 2300
#GitHub #Linux

▎ufw-docker

解决 UFW 与 Docker 一起使用的问题

UFW 是 iptables 的管理前端,#Docker 默认情况下也有操作网络的能力。

比如,如果您的某个 Docker 容器映射端口 8080:8080,Docker 会操作 iptables,将 8080 绑定到 0.0.0.0,这时,您的防火墙上就被打了个洞😂

项目地址引申阅读

建议 Docker 容器端口只绑定 localhost,比如:

- 127.0.0.1:8080:8080
- [::1]:8080:8080

看看您的 iptables 被 Docker 打洞了没🤨

sudo iptables -L -n -v --line-numbers

或者,让 Docker 使用 nftables

频道 @dejavuBlog
群组 @dejavuGroup



tgoop.com/dejavuBlog/2300
Create:
Last Update:

#GitHub #Linux

▎ufw-docker

解决 UFW 与 Docker 一起使用的问题

UFW 是 iptables 的管理前端,#Docker 默认情况下也有操作网络的能力。

比如,如果您的某个 Docker 容器映射端口 8080:8080,Docker 会操作 iptables,将 8080 绑定到 0.0.0.0,这时,您的防火墙上就被打了个洞😂

项目地址引申阅读

建议 Docker 容器端口只绑定 localhost,比如:

- 127.0.0.1:8080:8080
- [::1]:8080:8080

看看您的 iptables 被 Docker 打洞了没🤨

sudo iptables -L -n -v --line-numbers

或者,让 Docker 使用 nftables

频道 @dejavuBlog
群组 @dejavuGroup

BY Dejavu's Blog




Share with your friend now:
tgoop.com/dejavuBlog/2300

View MORE
Open in Telegram


Telegram News

Date: |

Among the requests, the Brazilian electoral Court wanted to know if they could obtain data on the origins of malicious content posted on the platform. According to the TSE, this would enable the authorities to track false content and identify the user responsible for publishing it in the first place. 1What is Telegram Channels? How to Create a Private or Public Channel on Telegram? In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. Just as the Bitcoin turmoil continues, crypto traders have taken to Telegram to voice their feelings. Crypto investors can reduce their anxiety about losses by joining the “Bear Market Screaming Therapy Group” on Telegram.
from us


Telegram Dejavu's Blog
FROM American