You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ufw-docker allow traefik 80/tcp from anywhere
Fail to add rule(s), cannot find the published port 80/tcp of instance "traefik" or cannot update outdated rule(s).
However the instance is running and has its ports exposed:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd70cfc47204 traefik "/entrypoint.sh trae…" 12 minutes ago Up 12 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp traefik
What might cause this?
The text was updated successfully, but these errors were encountered:
Hmm, it seems that when I remove the from anywhere part the rules get added:
# ufw-docker allow traefik
allow traefik 443/tcp traefik
ufw route allow proto tcp from any to 172.18.0.2 port 443 comment allow traefik 443/tcp traefik
Rule added
allow traefik 80/tcp traefik
ufw route allow proto tcp from any to 172.18.0.2 port 80 comment allow traefik 80/tcp traefik
Rule added
allow traefik 8080/tcp traefik
ufw route allow proto tcp from any to 172.18.0.2 port 8080 comment allow traefik 8080/tcp traefik
Rule added
The from anywhere used to work under Ubuntu 18.04.
I run into this issue under Ubuntu 22.04 using the latest version of this script:
When I try exposing one container:
However the instance is running and has its ports exposed:
What might cause this?
The text was updated successfully, but these errors were encountered: