View Issue Details

IDProjectCategoryView StatusLast Update
0016570CentOS-8-OTHERpublic2019-11-14 16:09
Reporteresys.steven 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version8.0.1905
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016570: Podman port bindings are not yet supported by rootless containers
DescriptionStart container error message with Podman by rootless user.

port bindings are not yet supported by rootless containers

Steps To Reproduceeys.steven$ mkdir /home/esys.steven/container/httpd
eys.steven$cat run
#!/bin/bash
php-fpm
httpd -D FOREGROUND

eys.steven$ cat Dockerfile
from centos:8

RUN yum install -y httpd php-fpm php-json php-gd php-mbstring php-pdo php-mysqli php-xml && yum clean all

ADD run /usr/local/bin/

RUN mkdir /run/php-fpm && echo '<?php phpinfo(); ?>' > /var/www/html/index.php

ENTRYPOINT ["/usr/local/bin/run"]

eys.steven$ podman build -t c8-httpd-php .
podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/c8-httpd-php latest 69255cd56579 5 minutes ago 282 MB
docker.io/library/centos 8 0f3e07c0138f 8 days ago 227 MB

eys.steven$ podman run -td -p 8081:80 --name apache 69255cd56579
port bindings are not yet supported by rootless containers
Additional Informationroot# rpm -qa | grep podman
podman-1.0.0-2.git921f98f.module_el8.0.0+58+91b614e7.x86_64

root# rpm -qa | grep slirp4netns
slirp4netns-0.1-2.dev.gitc4e1bc5.module_el8.0.0+58+91b614e7.x86_64
TagsNo tags attached.

Activities

giuseppe

giuseppe

2019-11-14 16:09

reporter   ~0035694

that is fixed in newer versions of Podman. The next upgrade will get this feature for rootless containers.

Port bindings with Podman 1.0 is supported only when running as root

Issue History

Date Modified Username Field Change
2019-10-10 17:09 esys.steven New Issue
2019-11-14 16:09 giuseppe Note Added: 0035694