201 Commits

Author SHA1 Message Date
Max Goltzsche
f5acdcdbfd Add GitHub workflows for PRs and releases 2020-12-24 01:50:59 +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
9e854e5c38 Update to fuse-overlayfs 1.2.0.
Includes musl compatibility fix.
2020-10-10 01:35:33 +02:00
Max Goltzsche
af27b99c91 Update readme 2020-09-26 00:59:58 +02:00
Max Goltzsche
b62b0fc9d5 Allow to run with any uid/gid 2020-09-25 19:22:59 +02:00
Max Goltzsche
5dbfeea7fd Update to podman 2.1.0 2020-09-25 02:29:49 +02:00
Max Goltzsche
dc8ec320f6 Remove tuning and firewall CNI plugins 2020-09-25 00:53:28 +02:00
Max Goltzsche
5c23f21235 Use latest fuse-overlayfs 2020-09-25 00:43:07 +02:00
Max Goltzsche
6499a529ce Update readme 2020-08-26 21:57:47 +02:00
Max Goltzsche
ac5be9a4bb Update fuse-overlayfs patch ref 2020-08-26 21:44:25 +02:00
Max Goltzsche
e4fc2f1081 Update slirp4netns, add rootless storage.conf.
Build slirp4netns 1.1.4 with libslirp 4.3.1.
storage.conf is optional but added here for clarification and future
usage of `additionalimagestores` for distributed caching.
2020-08-26 21:23:58 +02:00
Max Goltzsche
aa9db39298 Using own fuse-overlayfs musl patch 2020-08-24 23:30:14 +02:00
Max Goltzsche
8b8c9db958 Remove buildah, add patched fuse-overlayfs.
* Removed separate buildah binary since it is part of podman now.
* Update fuse-overlayfs since latest buildah requires newer version.
  However it required a separate patch to make the alpine build work:
  https://github.com/containers/fuse-overlayfs/issues/174
  This patch is going to be removed with the next release.
* Enable previously failed `podman build` tests.
2020-08-22 20:33:57 +02:00
Max Goltzsche
b8cdbdd06c Add disabled podman build test & bug comments 2020-08-09 21:17:53 +02:00
Max Goltzsche
f0093d8f5c Add ssh experiment 2020-08-09 19:51:31 +02:00
Max Goltzsche
4a3fefe332 Let runc & crun variants to share other layers 2020-08-08 19:55:32 +02:00
Max Goltzsche
fa727fe47d Add podman-remote Dockerfile 2020-08-08 19:38:56 +02:00
Max Goltzsche
3c4f286dcc Add CMD sh, fix home dir perms 2020-08-08 03:34:20 +02:00
Max Goltzsche
dea2e0b487 Add Makefile 2020-08-08 02:11:55 +02:00
Max Goltzsche
16ec36df23 Remove unused CNI plugins.
Only CNI plugins required by the default configuration are kept:
* host-local
* loopback
* bridge
* portmap
* firewall
* tuning

Additional plugins may be added when required.
2020-08-08 01:33:50 +02:00
Max Goltzsche
745bc7c474 Providing containers.conf instead of libpod.conf 2020-08-07 23:23:15 +02:00
Max Goltzsche
91cb4c8f99 bump podman 2.0.4 2020-08-02 00:13:44 +02:00
Max Goltzsche
74321ca3f7 bump podman 2.0.3, buildah 1.14.10, conmon 2.0.18 2020-07-23 21:40:59 +02:00
Max Goltzsche
1e6125cf28 bump podman 2.0.2 2020-07-09 21:10:50 +02:00
Max Goltzsche
52042c34f5 Removed entrypoint cgroup workaround 2020-06-25 21:04:32 +02:00
Max Goltzsche
3a5ee2d343 bump podman 2.0.0 2020-06-25 20:57:50 +02:00
Max Goltzsche
7cad45db46 bump podman 1.9.3 2020-06-01 19:43:39 +02:00
Max Goltzsche
2e375d5819 Fixed port mapping test 2020-05-13 22:53:51 +02:00
Max Goltzsche
da8f72058b Update podman 1.9.2, buildah 1.14.9, conmon 2.0.16 2020-05-13 22:24:29 +02:00
Max Goltzsche
948bf6f840 Add port mapping test. 2020-04-16 20:45:10 +02:00
Max Goltzsche
f5e77ebc51 Update podman 1.9.0, buildah 1.14.8, conmon 2.0.15.
Also linked fusermount3 statically.
Closes #3.
2020-04-15 20:11:58 +02:00
Max Goltzsche
56fc8b4f28 Update to podman 1.8.2, buildah 1.14.5 2020-03-28 00:31:32 +01:00
Max Goltzsche
4aa92a17bd Update to podman 1.8.1, buildah 1.14.2 2020-03-13 17:06:01 +01:00
Max Goltzsche
583d2f2a41 Add workaround to generate varlink code on alpine. 2020-02-09 20:51:26 +01:00
Max Goltzsche
2f93fa2ec1 Update to podman 1.8.0, buildah 1.14.0, runc rc10 2020-02-07 22:04:31 +01:00
Max Goltzsche
daf7f99f00 Update to podman 1.7.0, buildah 1.12.0, conmon 2.0.7 2020-01-18 17:09:42 +01:00
Max Goltzsche
79dd49e450 Update to podman 1.6.4, buildah 1.11.6, conmon 2.0.5. 2019-12-11 20:59:44 +01:00
Max Goltzsche
3e9e128e86 Update to podman 1.6.3, buildah 1.11.5. 2019-11-25 00:11:55 +01: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
4f90909d48 WIP: Attempt to upgrade to podman 1.6.
Problems:
* Rootless nested container fails due to different/invisible cgroup hierarchy within docker container.
* When mounting the host's /sys into the docker container network cleanup and fuse-overlayfs fail with "invalid argument".

Problems also appear with podman 1.6.1-rc1.
-> Rootless operations seem to be broken since 1.6.0.
2019-10-13 01:23:18 +02:00
Max Goltzsche
757b7e6b9a Link CNI plugin binaries statically. 2019-08-28 20:03:29 +02:00
Max Goltzsche
90f7b123ee Statically linked conmon.
Was linked to musl libc dynamically before.
On alpine:3.10 somehow musl is still linked dynamically which is why podmanbuildbase has been downgraded to alpine:3.9.
2019-08-27 21:23:57 +02:00
Max Goltzsche
48682a59c4 Update to podman 1.5.1, buildah 1.10.1. 2019-08-24 04:39:44 +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
4ea21481bf Update to podman 1.3.2 and conmon 0.2.0 2019-05-30 18:30:47 +02:00
Max Goltzsche
17a0a84e00 Update to podman 1.3.1 + dependencies 2019-05-24 00:07:28 +02:00
Max Goltzsche
d4f8adff6d Added SLIRP4NETNS_VERSION to make build deterministic. 2019-05-23 22:10:12 +02:00
Max Goltzsche
88964052c5 Cleaned up 2019-02-14 19:08:59 +01:00
Max Goltzsche
9566fef418 Fixed rootless podman setup + added slirp4netns & buildah 2019-02-09 15:13:23 +01:00