ufw-docker
ufw-docker copied to clipboard
This fix not working for me
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?
yeah, it doesnt work un ubutnu 22.04
@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.
Just fix it, auto-select the correct docker image for iptables (legacy/nf_tables)