7 Integration with systemd

This chapter covers

  • Running systemd within the container as the primary process
  • Generating systemd unit files from existing containers
  • Socket-activated containerized services
  • Using sd-notify containerized services
  • The advantages of using journald as a logging driver and events backend
  • Using Podman and systemd to manage containerized services’ life cycles on edge devices

Systemd is the de facto init system for Linux. Almost every distribution of Linux defaults to systemd as the first process launched after the kernel, which then launches all of the services, including the login sessions for the user. Podman embraces the power of systemd and uses it for starting up lots of its services. When starting containerized services ...

Get Podman in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.