podmanManage Pods, Containers and Container Images
5.8.9_3sysutilsΣ=8 5.8.6_5Version of this port present on the latest quarterly branch.upstream: v6.2.0A newer version was found upstream by portscout, first on 2026-11-11.
Podman (Pod Manager) is a fully featured container engine that is a
simple daemonless tool. Podman provides a Docker-CLI comparable
command line that eases the transition from other container engines
and allows the management of pods, containers and images. Simply put:
alias docker=podman.
Podman uses Buildah(1) internally to create container images. Both
tools share image (not container) storage, hence each can use or
manipulate images (but not containers) created by the other.
The FreeBSD port of the Podman container engine is experimental and should be
used for evaluation and testing purposes only.
$ sudo podman run --rm quay.io/dougrabson/hello
Podman can restart containers after a host is rebooted. To enable this, use:
$ sudo sysrc podman_enable=YES
and start the container with a restart policy:
$ sudo podman run -d --restart=always myimage
It is possible to run many Linux container images using FreeBSD's Linux emulation:
$ sudo sysrc linux_enable=YES
$ sudo service linux start
$ sudo podman run --rm --os=linux alpine cat /etc/os-release | head -1
NAME="Alpine Linux"
If upgrading from < 4.7.1:
In Podman-4.7.0 and later, registry authentication creds moved from
/run/containers/0/auth.json to /root/.config/containers/auth.json. Either move
the file to the new location or just re-authenticate to the required registries.
sysutils/podman: Fix build by blocking fetching newer go over network
Go insists on trying to download a newer toolchain, as the default is currently
1.24,
and this version of podman requires 1.25 or newer. The MAKE_ENV flag is
described
here in nauseating detail https://go.dev/doc/toolchain .
sysutils/podman: Fix panic when using network=host
If using host-based networking, instead of default VNET, some podman commands
including inspect could fail:
podman run -d --network=host ghcr.io/freebsd/freebsd-notoolchain:15.0 /bin/sh
podman inspect --latest
See https://github.com/containers/podman/issues/28289 for details.
While here, appease portclippy & portfmt
Reviewed by: dfr
Obtained from: dfr
Sponsored by: SkunkWerks, GmbH
sysutils/podman: Allow setting ownership on auto-created socket
The podman_service daemon auto-creates a socket on startup, along with
parent directory, and is always run as root. It is often useful to have
another proxy like haproxy or nginx provide more sophisticed security,
and these daemons do not need root privileges.
Approved by: dfr
Reported by: pat@patmaddox.com
Tested by: arrowd
Differential Revision: https://reviews.freebsd.org/D55455
sysutils/podman: Revert "Allow setting ownership on auto-created socket"
This works functionally, but is being managed by the incorrect daemon.
Podman alone simply ensures auto-start of containers; podman_service
provides the API. This will be corrected in an upcoming commit.
This reverts commit 2c53428ae117108d41eb4e19935ed98b478f4f7f.
sysutils/podman: Allow setting ownership on auto-created socket
The podman daemon auto-creates a socket on startup, along with parent
directory, and is always run as root. It is often useful to have another
proxy like haproxy or nginx provide more sophisticed security, and these
daemons do not need root privileges.
Differential Revision: https://reviews.freebsd.org/D55339
Reviewed by: arrowd
Approved by: dfr
many: Unpin Go ports
Unpin Go ports that I missed the first time around because the version
number was not the first argument.
Fixes: 75d873b56a74 ("many: Unpin Go ports")
sysutils/podman-suite: update to 20250820
This update contains updates of the following components:
- sysutils/buildah from 1.40.1 to 1.41.3
- sysutils/containers-common from 0.63.1 to 0.64.1
- systutils/podman from 5.5.2 to 5.6.0
- systutils/skopeo from 1.19.0 to 1.20.0
PR: 288990
Approved by: dfr (maintainer)
sysutils/*: update podman-suite to the 20250618
These components have been updated:
- buildah from 1.38.1 to 1.40.1
- podman from 5.3.2 to 5.5.1
- skopeo from 1.17.0 to 1.19.0
PR: 287607
Approved by: dfr (maintainer)
Differential Revision: https://reviews.freebsd.org/D49184
sysutils/podman: reduce the number of warnings during the build time
... by updating the list of dependencies.
Bump PORTREVISION.
Differential Revision: https://reviews.freebsd.org/D47926
*/*: update licences for podman-related infra
Most of of the products, except ocijail, are under Apache 2.0.
Add licence files.
Bump PORTREVISIONs.
Approved by: dfr (maintainer)
Differential Revision: https://reviews.freebsd.org/D47924
sysutils/podman: minor fix to the output of 'podman inspect'
The HostConfig.Devices field was set to null which confused some code in
ansible's podman_container module which expects this field to be an
array of srtings.
sysutils/podman: fix support for 'podman image load' and 'podman image save'
The code assumed that the faccessat syscall supports AT_SYMLINK_NOFOLLOW
which is not the case in FreeBSD before 15.0.
sysutils/podman: fix nil pointer dereference in 'podman build'
This copies over fixes for a similar problem in Buildah - Podman shares
Buildah code to implement 'podman build'.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
sysutils/podman: new port
podman (Pod Manager) is a fully featured container engine that is a simple
daemonless tool. podman provides a Docker-CLI comparable command line
that eases the transition from other container engines and allows the
management of pods, containers and images. Simply put: alias docker=podman.
podman uses Buildah(1) internally to create container images. Both tools
share image (not container) storage, hence each can use or manipulate
images (but not containers) created by the other.
PR: 267184
Reviewed by: arrowd
Reviewed by: dch
Sponsored by: SkunkWerks, GmbH
Differential Revision: https://reviews.freebsd.org/D37324