Skip to content
Discussion options

You must be logged in to vote

I got a minimal demo working:

https://github.com/eriksjolund/podman-nginx-socket-activation

The demo shows that it is possible to run a socket-activated nginx container with rootless Podman.

Note
The Containerfile in the demo builds nginx with many features disabled. Hopefully the demo could be modified to instead use an official nginx container image.

Update 22 October 2022:

The container image docker.io/library/nginx now supports socket activation!
(nginx still has no support for the systemd environment variables LISTEN_FDS, LISTEN_FDNAMES, LISTEN_PID but the environment variable NGINX lets you combine a systemd socket unit with nginx)

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by eriksjolund
Comment options

You must be logged in to vote
9 replies
@emansom
Comment options

@eriksjolund
Comment options

@emansom
Comment options

@emansom
Comment options

@eriksjolund
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants