31 Commits

Author SHA1 Message Date
cyqsimon
2f01c38146 feat: install shell completions 2026-02-11 20:23:39 +01:00
cyqsimon
014c576535 Install systemd unit files to /usr/local/lib/systemd instead (#124)
* Tidy up install & uninstall script

- Also fixed a minor mistake in the uninstall script:
  `podman-system-generator` -> `podman-*-generator`

* Install systemd files to `/usr/local/`

* Force bash shell in `Makefile` to allow brace expansion
2025-03-27 22:58:49 +01:00
V
71922828f8 Add quadlet (#119)
Add quadlet binary and register it as systemd unit generator.
When the tar archive is installed on a systemd-enabled host, the quadlet is called by systemd on `systemctl daemon-reload` to generate unit files based on *.container files within `/etc/containers/systemd`.

The quadlet binary is not contained within the minimal image (because it is actually meant to be published with the tar archive only since systemd is not used inside the container).
2025-03-13 03:09:45 +01:00
Max Goltzsche
57079cd646 docs: fix apparmor info & restart on boot headline 2025-02-08 01:21:14 +01:00
Max Goltzsche
0b92bba1fd docs: mention podman apparmor profile adjustment 2025-02-07 03:20:46 +01:00
Peter Szilvasi
2c02852e01 docs: add uninstallation steps to readme (#102)
* Add uninstallation steps in the README.md file
* Add `sudo` to the storage cleanup
2024-09-05 22:51:16 +02:00
Max Goltzsche
75f5141513 fix: upgrade podman 5.1.1, drop CNI support
* podman 5.1.1
* drop CNI networking and slirp4netns in favour of netavark + pasta
* build statically linked netavark, pasta and aardvark
* conmon 2.1.11
* crun 1.15
* crun is also shipped with the normal (non-minimal) image now.
* build using golang 1.22, use alpine 3.19 base container

Co-authored-by: Trent Apple <trentapple@users.noreply.github.com>
2024-06-16 23:24:14 +02:00
Max Goltzsche
9c937b09a0 fix: add catatonit binary
Fixes #54
2023-04-08 01:07:33 +02:00
Max Goltzsche
f82c88fb03 feat: add podman-restart systemd service 2023-04-08 00:59:45 +02:00
Max Goltzsche
6da2f56c0d document rootless installation
Relates to #52
2023-03-24 01:48:37 +01:00
Max Goltzsche
56ad486a91 docs: how to download specific version 2022-06-24 00:51:53 +02:00
Tom Davidson
bdcdd06033 include iptables 2021-09-30 02:15:03 +02:00
Tom Davidson
d1c55e222e doc dependencies in installation section 2021-09-30 02:15:03 +02:00
Max Goltzsche
d6ec937077 align ghcr image name, update readme 2021-09-28 02:45:52 +02:00
Max Goltzsche
4241925f7e Migrate tests to bats.
Turns the scripted tests into bats tests.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2021-08-21 02:51:07 +02:00
Bala Raman
a630bb6d8a GPG Key server update 2021-07-01 10:34:04 -04:00
Max Goltzsche
c8937e7c00 Downgrade podman dependencies.
because with the latest containers get stuck during initialization and
build caching doesn't work.
2021-02-21 00:45:57 +01:00
Max Goltzsche
c316901ad4 Update readme 2020-12-27 00:22:58 +01:00
Max Goltzsche
b1442ad3ef Fix build when run by podman.
libfuse installer had to be prevented from creating /dev/fuse which is not allowed within unprivileged podman
2020-12-26 00:37:39 +01:00
Max Goltzsche
76cb4c494f Support minimal tag, change uid/gid, remove stuff
Changes:
* Builds a `minimal` image (without slirp4netns) instead of `rootless`.
* `podman` uid/gid changed from 100000 to 1000/1000 (to avoid exceeding the sub*id range).
* Default USER is root now.
* No ENTRYPOINT script provided that changes the user when container is run as root.
* The HOME env var is not specified anymore in order to use the home dir specified for the user in /etc/passwd.
* Default WORKDIR has changed from /podman to / since /podman is only relevant when running as `podman` user.
2020-12-25 22:57:19 +01:00
Max Goltzsche
4a6f17bb70 Update readme 2020-12-24 03:58:28 +01:00
Max Goltzsche
8a3b93c110 Update readme, release archive on tag only 2020-12-24 03:10:47 +01:00
Max Goltzsche
4ba1329988 Build rootless image and export tar archive.
* rootless image contains only binaries needed for rootless operations and crun.
* the tar archive contains all binaries and meant to be used for quick installation on any linux-amd64 host.
2020-12-24 01:12:44 +01:00
Max Goltzsche
9d94f5389f Make home dir agnostic, bump to podman 2.2.1.
Removes unnecessary explicit storage dir configuration.

Additional changes:
* Reorganizes project dir structure.
* Use unprivileged user by default in podman-remote image.
2020-12-21 18:25:21 +01:00
Max Goltzsche
af27b99c91 Update readme 2020-09-26 00:59:58 +02:00
Max Goltzsche
6499a529ce Update readme 2020-08-26 21:57:47 +02:00
Max Goltzsche
fa727fe47d Add podman-remote Dockerfile 2020-08-08 19:38:56 +02:00
Max Goltzsche
928bb9552f Update to podman 1.6.2, downgrade fuse-overlayfs.
fuse-overlayfs 0.4.1 used now since 0.5+ causes "invalid argument" error.

rootless podman 1.6 within a container reads the current cgroup from
/proc/self/cgroup which contains the host path that is the cgroup root
within a container.
As a workaround the entrypoint script now creates the cgroup hierarchy
from /proc/self/cgroup within /sys/fs/cgroup if it does not exist.
2019-10-26 00:19:01 +02:00
Max Goltzsche
3f801271e8 Update to podman 1.4.0, buildah 1.8.3 2019-06-10 18:55:39 +02:00
Max Goltzsche
17a0a84e00 Update to podman 1.3.1 + dependencies 2019-05-24 00:07:28 +02:00
Max Goltzsche
88964052c5 Cleaned up 2019-02-14 19:08:59 +01:00