Skip to content

Restarting socket unit fails when other podman containers are running. #38

@michaelmedellin

Description

@michaelmedellin

Upfront, socket activation is new to me but I'm experimenting with it for my caddy proxy to other containers running in podman.

I am using a nearly identical configuration to example 4 for testing, but I noticed that if I stop caddy.service and restart the socket systemctl --user restart caddy.socket it fails if other containers in podman are still running. It looks like aardvark and slirp4netns somehow end up binding to port 80 and the socket cannot bind on restart.

Obviously, don't plan to restart a socket often. But I noticed the issue and want to better understand if this expected behavior with sockets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions