podman-quadlet-install(1)
π podman-quadlet-install(1) β General Commands Manual
okay so bestie, welcome to the podman-quadlet-install page from the General Commands Manual π this one's literally all about dropping quadlets into place, and honestly? it ate.
β¨ NAME β¨
podman-quadlet-install β install a quadlet file or a quadlet application π«Ά
πΈ SYNOPSIS πΈ
podman quadlet install [options] quadlet-path-or-url [files-path-or-url]...
π¦ DESCRIPTION π¦
So basically: this installs a Quadlet file, or a whole application (which can have multiple Quadlet files in it), for the current user. And the way you feed it stuff? local files or web URLs, your choice, no cap. π₯
Here's everything this command lets you do, bestie:
- Install a single Quadlet file, and optionally tack on extra non-Quadlet files after it.
- Point it at a directory that has multiple Quadlet files plus other non-Quadlet files, and install the whole thing (like, say, a config file for a quadlet container π).
- Install multiple Quadlets out of a single file with the
.quadletsextension, where each Quadlet is separated by a---delimiter. Heads up though: when you're doing multiple quadlets in one.quadletsfile, each quadlet section has to include a# FileName=<name>comment so it knows what to name that quadlet. periodt.
π Note: an application is a collection of files β quadlet and non-quadlet β that need to live together. Which means: if you remove a quadlet that's part of an application, you remove the entire application. gone, bestie. And when a quadlet gets installed from a directory, all the files installed from that directory (both quadlet and non-quadlet files) count as part of a single application.
π Note: when multiple quadlets come out of one.quadletsfile, they're all considered part of the same application only when you provide an application name with the--applicationoption. iykyk.
β OPTIONS β
π --application=string
You can give an application name, and all the files get installed under a directory with that application name. This one's required when you're specifying a directory path, so don't forget it π Also: an application name can't have a quadlet extension as a suffix β like, foo.container isn't a valid application name, sorry babe.
π --reload-systemd
Reloads systemd after the operation completes (default true). To turn it off you have to manually set the value of this flag to false β it doesn't just flip itself, okay?
π --replace, -r
Replaces the Quadlet installation even if the generated unit file already exists (default false). To turn it on, you have to manually set the value of this flag to true. This flag is used primarily to update an existing unit. slay π₯
π EXAMPLES π
Install quadlet from a file. π
$ podman quadlet install test-service-quadlet.container
/home/user/.config/containers/systemd/test-service-quadlet.container
Install quadlet from a dir. π
$ podman quadlet install --application=foo /home/user/work/quadlet-app/
/home/user/.config/containers/systemd/myquadlet1.container
/home/user/.config/containers/systemd/myquadlet2.container
/install/path/myquadlet1.container
/install/path/myquadlet2.container
Install quadlet from a url π
$ podman quadlet install https://github.com/containers/podman/blob/main/test/e2e/quadlet/basic.container
/home/user/.config/containers/systemd/basic.container
Install multiple quadlets from a single .quadlets file π§
$ cat webapp.quadlets
# FileName=web-server
[Container]
Image=nginx:latest
ContainerName=web-server
PublishPort=8080:80
---
# FileName=app-storage
[Volume]
Label=app=webapp
---
# FileName=app-network
[Network]
Subnet=10.0.0.0/24
$ podman quadlet install webapp.quadlets
/home/user/.config/containers/systemd/web-server.container
/home/user/.config/containers/systemd/app-storage.volume
/home/user/.config/containers/systemd/app-network.network
β οΈ Note: the multi-quadlet functionality requires the .quadlets file extension. Files with other extensions only get processed as single quadlets or asset files. no exceptions, bestie π
π SEE ALSO π
podman(1), podman-quadlet(1), podman-systemd.unit(5)
and that's the whole page, bestie π this was podman-quadlet-install(1) from the General Commands Manual β go forth and install your quadlets, you've got this π«Άβ¨
π¦ where this page comes from
- arch rolling: podman 6.1.4-1 Β· Apache-2.0
- centos-stream 10: podman 7:6.1.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- nixpkgs unstable: podman 6.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms