Hi,
would it be possible to integrated Podman as a replacement to docker docker into the build system?
Thanks
As you might know it , there is a way to install podman to Ubuntu .
Here is the Travis example to use podman in .travis.yml
.
But as far as know, podman deb package does not exist on the Debian and Ubuntu’s package repositories. It exists only on the project’s ppa repository right now.
I wonder that Travis people want to support the software that deb package does not exist on Ubuntu deb package repositories.
There are also some issues related to Ubuntu in podman.
would it be possible to integrated Podman as a replacement to docker docker into the build system?
I thought @tbugfinder asked about podman pre-installed like docker.
When users install podman by the apt addon or commands, it is possible.
By the way, please note that podman does not work on arch: arm64
, arch: ppc64le
and arch: s390x
environment.
I reported it in the past.
opened 04:55PM - 26 Nov 19 UTC
closed 01:25PM - 04 Dec 19 UTC
kind/bug
locked - please file new issue/PR
<!--
---------------------------------------------------
BUG REPORT INFORMATIO… N
---------------------------------------------------
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
**NOTE** A large number of issues reported against Podman are often found to already be fixed
in more current versions of the project. Before reporting an issue, please verify the
version you are running with `podman version` and compare it to the latest release
documented on the top of Podman's [README.md](../README.md). If they differ, please
update your version of Podman to the latest possible and retry your command before creating
an issue.
If you are filing a bug against `podman build`, please instead file a bug
against Buildah (https://github.com/containers/buildah/issues). Podman build
executes Buildah to perform container builds, and as such the Buildah
maintainers are best equipped to handle these bugs.
-->
**Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)**
/kind bug
**Description**
`podman info` and `podman version` shows a following error in Travis Ubuntu xenial native CPU architecture: `arm64`, `ppc64le` and `s390x` environments. This does not happen in the Travis Ubuntu `amd64` (x86_64) environment. This issue is related to https://github.com/containers/libpod/issues/3679 .
```
$ podman info
Error: could not get runtime: error setting up the process: open /tmp/run-1000/libpod/pause.pid: no such file or directory
```
<!--
Briefly describe the problem you are having in a few paragraphs.
-->
**Steps to reproduce the issue:**
1. Fork https://github.com/junaruga/ci-multi-arch-native-container-test , run it on your forked repository's master branch enabling the repository's Travis CI.
Or just see https://travis-ci.org/junaruga/ci-multi-arch-native-container-test/builds/617312487 the case: `aarch64-fedora`, `ppc64le-fedora` or `s390x-fedora`.
**Describe the results you received:**
In case of `46.6: aarch64-fedora`,
https://travis-ci.org/junaruga/ci-multi-arch-native-container-test/jobs/617259570#L126
```
$ $PODMAN info
Error: could not get runtime: error setting up the process: open /tmp/run-1000/libpod/pause.pid: no such file or directory
```
**Describe the results you expected:**
```
$ $PODMAN info
host:
...
```
**Additional information you deem important (e.g. issue happens only occasionally):**
**Output of `podman version`:**
```
$ podman version
Error: could not get runtime: error setting up the process: open /tmp/run-1000/libpod/pause.pid: no such file or directory
```
`podman --version` works to show the version.
```
$ podman --version
podman version 1.6.2
time="2019-11-26T16:24:31Z" level=warning msg="unable to find /home/travis/.config/containers/registries.conf. some podman (image shortnames) commands may be limited"
```
**Output of `podman info --debug`:**
```
Error: could not get runtime: error setting up the process: open /tmp/run-1000/libpod/pause.pid: no such file or directory
```
**Package info (e.g. output of `rpm -q podman` or `apt list podman`):**
```
$ apt list podman
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Listing...
podman/xenial,now 1.6.2-1~ubuntu16.04~ppa1 arm64 [installed]
```
See https://travis-ci.org/junaruga/ci-multi-arch-native-container-test/jobs/617303586#L323
**Additional environment details (AWS, VirtualBox, physical, etc.):**
And it seems that it was fixed on following commit, and the new version podman version 1.7.0 including the commit.
committed 09:30AM - 04 Dec 19 UTC
the renameat2 syscall might be defined in the C library but lacking
support in t… he kernel.
In such case, let it fallback to open(O_CREAT)+rename as it does on
systems lacking the definition for renameat2.
Closes: https://github.com/containers/libpod/issues/4570
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
But the ppa’s deb package’s version is right now 1.6.2.
So, maybe we need to wait the 1.7.0 if we want to use it on arm64, ppc64le and s390x.
lsm5
March 10, 2020, 10:11pm
5
@junaruga I’ll try and resurrect the ppa for arches that OBS can’t currently support soon as I find the chance. In case anyone reading this is familiar with deb/ubuntu packaging and would be willing to help, please let me know and I can work with you on re-enablement.
Also, the link to packaging source in https://github.com/containers/libpod/issues/5447#issuecomment-597223483 can probably be of use to someone in case they can get to this before me.
HTH.
Podman is now available on Debian unstable branch!
https://tracker.debian.org/pkg/libpod
opened 12:17AM - 01 Nov 18 UTC
closed 02:11PM - 18 Feb 20 UTC
This is separate from the PPA work that's already being done. This issue will track efforts towards getting podman in vanilla...
Packaging
We can wait it will be updated to the latest version, and will be available on non-x86_64 (amd64) CPU architectures. And it will be picked up by Ubuntu.
For your information: The podman package is available on Ubuntu groovy (20.10). https://packages.ubuntu.com/groovy/podman