Hi everyone,
This would seem to be a basic question (I've been on this for a few hours and can't seem to get it working).
This is my file for my pod:
$ cat backup.pod
[Unit]
Description=backup pod
[Pod]
Network=slirp4netns:port_handler=slirp4netns
PodmanArgs=--userns=auto:size=10000
PodName=backup
And this is the file for my container which is supposed to be part of the pod:
$ cat backup.container
[Unit]
Description=backup container
[Container]
Image=docker.io/debian/debian:latest
ContainerName=backup-container
Entrypoint=/bin/bash
Exec=/bin/bash -c "apt-get update -y && apt-get upgrade -y && apt-get install rclone vim -y && exec bash"
Pod=backup
GlobalArgs=-d -t
[Service]
Restart=always
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target
- Podman's
systemd-generator
doesn't seem to create any service file for backup.pod
in /run/user/$(id -u user)
. I do see a service file for backup.container
, backup.service
.
- Regardless,
systemctl start backup.service
errors out anyway.
I'm unable to understand how to use quadlet
from the documentation. AFAIK I did everything they asked (https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html).
The primary reason why I tried this was because I couldn't figure out how to create a pod using compose.yaml
either. If someone has answers to these questions, they would be much appreciated!
Thanks!
I wouldn't be worried about buying AMD in terms of thermals, their laptop CPUs are fine. Usually, it's the WiFi card that poses the biggest problem in terms of driver availability, in which case you can purchase an Intel WiFi card from Amazon for $15-$20. Battery and "optimizations" depend on your config and distro. Most plug-and-play distros should be fine OOTB, if you're setting up Arch from scratch I assume you don't have a problem in looking for drivers/compiling code.
Edit: I personally do not suggest that anyone buys a new laptop unless they do not have a choice (horrible used market or the like). There is a heavy mark-up on new devices and the used market in the West (especially in the US) is excellent if you're OK with fiddling with some parts of your laptop (or not - sometimes you don't even need to do that). But being in c/linux that's about granted, eh?