/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
I ditched Docker for Podman
(codesmash.dev)
1101 points
codesmash
| 1 comments |
05 Sep 25 11:56 UTC
|
HN request time: 0.248s
|
source
Show context
dev_l1x_be
◴[
05 Sep 25 15:58 UTC
]
No.
45140036
[source]
▶
>>45137525 (OP)
#
What is the current way of running a dokcer container as a systemd service? Is it podman?
replies(1):
>>45140121
#
ethagnawl
◴[
05 Sep 25 16:05 UTC
]
No.
45140121
[source]
▶
>>45140036
#
Just create a unit file that starts/stops/restarts/etc. the container.
replies(1):
>>45140426
#
dev_l1x_be
◴[
05 Sep 25 16:28 UTC
]
No.
45140426
[source]
▶
>>45140121
#
what do you mean exactly? What is the tool that you invoke? Or you use systemd's container executing ability?
replies(1):
>>45142967
#
1.
ethagnawl
◴[
05 Sep 25 20:01 UTC
]
No.
45142967
[source]
▶
>>45140426
#
Whenever I've done this, I've used the system service's ExecStart|Stop directives to run a Bash script which handles starting/stopping the container (e.g. `docker run ...`) and any other setup teardown behavior that's appropriate.
ID:
GO
↑