Esposizione delle porte

Esposizione delle porte


Per esporre le porte all'host digita nel terminale il comando:

podman run -d -p 8080:80 nginx
  • Porta Host: 8080
  • Porta container: 80

Ora puoi accedere al contenitore tramite http://localhost:8080.