Comments (6)
I just download podman-4.3.1-1.1.x86_64.rpm or podman-4.2.1-150500.1.2.x86_64.rpm
, there's already /usr/lib/systemd/system/podman-restart.service
in the package.
So it seems 4.2.1 already include podman-restart
, but I didn't find it in our static repo. maybe just add this service will help ?
from podman-static.
@panpan0000 so as I understand you want the podman-restart
systemd service to be redistributed by this repository.
Currently this does not make sense to me because the container image and binaries shipped by this repository explicitly don't support systemd and are built primarily to run on systems without systemd.
Also, it looks like restarting a podman container is the caller's responsibility, not the responsibility of podman itself. (This makes sense since podman is not designed as a daemon like containerd/dockerd.)
If you want to make podman containers restart on boot, you have to run those additonal commands somehow on boot or, if you're using systemd as init system, simply download the podman-restart.service
template.
Regarding the update: podman 4.4.0 is not stable yet but the latest stable podman update 4.3.1 should also be shipped by this repo indeed.
from podman-static.
I am closing this issue now. In case you have strong argument for redistributing the systemd unit with the tar within this repo, please feel free to reopen the issue.
from podman-static.
got you @mgoltzsche . Thank you for your response !
from podman-static.
I see now it would be convenient for users to have the systemd unit shipped with the tar archive. After all it does not increase the archive's size significantly and users could still decide whether or not they want to enable it.
(Also, I noticed podman supports the podman generate systemd
command now.)
Feel free to create a pull request. Otherwise I might be able to add it to the next release myself.
from podman-static.
Release v4.4.4 provides /usr/lib/systemd/system/podman-restart.service
with the tar archive (f82c88f and c909610).
from podman-static.
Related Issues (20)
- can not access container ports outside host HOT 1
- option for setting up podman without sudo HOT 2
- container-init binary not found on the host: stat /usr/libexec/podman/catatonit: no such file or directory HOT 14
- Include journald in compilation path to log to systemd journal HOT 1
- setting /etc/subuid and /etc/subgid doesn't work well on enterprise systems that use FreeIPA HOT 6
- podman in podman without privileged not work HOT 2
- podman v4.5.1 released HOT 3
- podman v4.6.0 released HOT 2
- Can't limit memory for nested container HOT 1
- cannot clone: Operation not permitted HOT 3
- Is the above version of podman consistent with this link(https://github.com/containers/podman/tree/v4.8.2) HOT 1
- about crun/catatonit HOT 4
- about crun-linux-amd64-disable-systemd HOT 1
- about storage.conf HOT 2
- Deploying ceph, using podman4.8.2, error messag HOT 2
- Add netavark and aardvark-dns HOT 4
- Missing default seccomp profile? HOT 3
- missing the crun binary HOT 5
- nonroot binary install HOT 4
- Newest release does not contain binaries HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from podman-static.