Skip to content
Search AlmaLinux

This page uses Chinese content. Search opens the Chinese documentation.

    Browse this documentation

    Podman Web

    This content is not available in your language yet.

    Podman 5.8.2 在 EL10 AppStream(almalinux 打包版本),rootless 模式默认启用(podman info 实测 rootless: true)。

    Quadlet 5.8.2 属 podman 主包(dnf provides 实测),是 generate systemd 的官方替代(后者已标 DEPRECATED)。

    EL10 的 net.ipv4.ip_unprivileged_port_start 默认为 0——rootless 容器可直接绑定 <1024 端口(实测 sysctl 输出),无需额外 sysctl 调整。

    Web 服务部署命令面:podman run -d -p 8080:80 nginx(文献口径,实际部署需网络+端口绑定,容器嵌套未实测)。

    Quadlet .container 文件示例(文献口径):/etc/containers/systemd/web.container 写 [Container] Image=nginx PublishPort=8080:80——由 systemd 自动生成 service 单元。

    见各节标注「文献口径」「未实测」的内容。