Skip to content

Feature Request: Create images for podman?Β #214

@stevleibelt

Description

@stevleibelt

Podman aims to be the alternative for docker with lots of benefits.

Is there any plan to support description or images (if needed) for podman to?

If I am calling:

podman run -p 80:80 --rm --name pc-inventory -v source:/var/www/html thecodingmachine/php:7.4-v3-apache

Under an arch linux 5.9.1-arch1-1, I get the following error message.

#... 
Writing manifest to image destination
Storing signatures
  Error processing tar file(exit status 1): there might not be enough IDs available in the namespace (requested 0:42 for /etc/gshadow): lchown /etc/gshadow: invalid argument
Trying to pull registry.fedoraproject.org/thecodingmachine/php:7.4-v3-apache...
  manifest unknown: manifest unknown
Trying to pull quay.io/thecodingmachine/php:7.4-v3-apache...
  unauthorized: access to the requested resource is not authorized
Trying to pull registry.access.redhat.com/thecodingmachine/php:7.4-v3-apache...
  name unknown: Repo not found
Trying to pull registry.centos.org/thecodingmachine/php:7.4-v3-apache...
  manifest unknown: manifest unknown
Error: unable to pull thecodingmachine/php:7.4-v3-apache: 5 errors occurred:
        * Error committing the finished image: error adding layer with blob "sha256:f08d8e2a3ba11bea23cf5c17e8e1c620057412ed05c32d1114640e18d6dd0a43": Error processing tar file(exit status 1): there might not be enough IDs available in the namespace (requested 0:42 for /etc/gshadow): lchown /etc/gshadow: invalid argument
        * Error initializing source docker://registry.fedoraproject.org/thecodingmachine/php:7.4-v3-apache: Error reading manifest 7.4-v3-apache in registry.fedoraproject.org/thecodingmachine/php: manifest unknown: manifest unknown
        * Error initializing source docker://quay.io/thecodingmachine/php:7.4-v3-apache: Error reading manifest 7.4-v3-apache in quay.io/thecodingmachine/php: unauthorized: access to the requested resource is not authorized
        * Error initializing source docker://registry.access.redhat.com/thecodingmachine/php:7.4-v3-apache: Error reading manifest 7.4-v3-apache in registry.access.redhat.com/thecodingmachine/php: name unknown: Repo not found
        * Error initializing source docker://registry.centos.org/thecodingmachine/php:7.4-v3-apache: Error reading manifest 7.4-v3-apache in registry.centos.org/thecodingmachine/php: manifest unknown: manifest unknown

RedHat explained the issue Error committing the finished image: error adding layer with blob.

Update - 2020-10-22 14:43

My current workaround is:

sudo -c "echo '<username>:100000:65536' >> /etc/subuid"
sudo -c "echo '<username>:100000:65536' >> /etc/subgid"
sudo reboot

podman run -p 8080:80 --rm --name php-bazzline -v "$PWD":/var/www/html thecodingmachine/php:7.4-v3-apach

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues inactives for a while (automatically)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions