Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Unable to autostart podman container systemd service

    Posted on

    Hello,
    I generated systemd service file for my container using this command:

    "podman generate systemd --new --files --name mydb"

    Then enabled the service and enabled linger for user. Starting the service starts the conaitner without problem. However, after restarting the host and running podman ps, I get this error:

    Error: current system boot ID differs from cached boot ID: an unhandled reboot has occurred. Please delete directories "/tmp/storage-run-1234/containers" and "/
    tmp/storage-run-1234/libpod/tmp" and re-run Podman

    Deleting those tmp files solves the problem and I am able to manually start service. But I need it to start automatically.

    How can I fix this problem??

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat