ufw-docker icon indicating copy to clipboard operation
ufw-docker copied to clipboard

This fix not working for me

Open iamdonwong opened this issue 2 years ago • 3 comments

This results in a very unpredictable behavior.

I am just trying to block a port that is published by a docker container, supposed to be a very simple task.

Seems docker, ufw, iptables are all messed up together.

Any better solution?

iamdonwong avatar Jun 01 '22 05:06 iamdonwong

yeah, it doesnt work un ubutnu 22.04

itiligent avatar Aug 18 '22 08:08 itiligent

@itiligent I made a fix for it: https://github.com/chaifeng/ufw-docker/pull/78. If you build the ufw-docker-agent image by yourself, this will work with Ubuntu 22.04. You will probably also have to modify the ufw-docker file, to make it use your local image.

rklos avatar Aug 23 '22 22:08 rklos

Just fix it, auto-select the correct docker image for iptables (legacy/nf_tables)

chaifeng avatar Sep 20 '22 14:09 chaifeng