docker-nginx
podman-nginx-socket-activation
docker-nginx | podman-nginx-socket-activation | |
---|---|---|
14 | 10 | |
3,110 | 19 | |
0.8% | - | |
7.7 | 7.8 | |
11 days ago | 5 months ago | |
Shell | Shell | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-nginx
-
Nginx exit (1) when using podman-compose
Add a brief sleep to the Nginx container's CMD. The default is CMD ["nginx", "-g", "daemon off;"], so something like command: ["sleep", "4", "&&", "nginx", "-g", "daemon off;"]. Didn't try this so not sure whether it'll work or not. Glancing at their docker-entrypoint.sh this will disable autoconfiguration from /docker-entrypoint.d/ (sigh).
-
The standard ENTRYPOINT behavior of official docker images.
A few time ago, I created the this post about nginx official image ENTRYPOINT "issue": https://github.com/nginxinc/docker-nginx/pull/752 .
- Issue in official nginx docker image with custom CMD
-
Creating multiple docker images from one dockerfile with a Github Action
An alternative to this approach, you could also write a template Dockerfile and then write some shell script that you would run locally to take that template and then write/generate Dockerfiles for each. Many of the official Docker images are setup and built this way. Here is an easy example of the nginx Docker image repository. https://github.com/nginxinc/docker-nginx It has three different templates in the root of the repository and has the update.sh script that is run to take those and write them out to a directory and essentially do a find and replace on the templates in the template. Those generated directories are then committed to the repository and pushed up to be built and published as Docker images.
-
Signal TLS Proxy
It's a bit odd to use a custom docker image, rather than the one maintained by nginx Inc though:
https://github.com/signalapp/Signal-TLS-Proxy/blob/main/ngin...
Vs
https://github.com/nginxinc/docker-nginx
For one, this is 5 versions behind (1.18 vs 1.23).
In general seems caddy or haproxy might be a better fit - but nginx is a perfectly fine choice I suppose.
-
docker Vs podman - Which one is worth doing a dive in?
The container image docker.io/library/nginx will hopefully soon have support for socket activation. My PR got merged 9 days ago but the current image does not yet have the funcationality.
- How to run an Nginx container with socket activation and rootless Podman? (I only got it working with a simplified Nginx container image)
- Beginner Docker questions
-
Epic Bug in Nginx for Docker
} ``` I have fixed the templates at https://github.com/nginxinc/docker-nginx/pull/533
podman-nginx-socket-activation
-
Show HN: Obligator – An OpenID Connect server for self-hosters
https://github.com/eriksjolund/podman-nginx-socket-activatio...
-
Which alternative for slirp4netns in rootless containers is better?
I wrote an nginx socket activation example https://github.com/eriksjolund/podman-nginx-socket-activation (The example does not show nginx working as HTTP reverse proxy but I think tried that out before and it worked)
-
Systemd and Podman: When to use User= instead of user session?
(I wrote a demo: https://github.com/eriksjolund/podman-nginx-socket-activation)
-
Rootless docker vs podman: pros and cons?
The difference is that with Podman its possible to create a systemd socket unit for the service (for example nginx.socket).
- Combine host and podman network
- Show HN: Run Nginx with Podman and socket activation
- docker Vs podman - Which one is worth doing a dive in?
-
How to run an Nginx container with socket activation and rootless Podman? (I only got it working with a simplified Nginx container image)
The problem when running rootless Podman with socket activation and docker.io/library/nginx is caused by the closing of file descriptor 3 in /entrypoint.sh.
What are some alternatives?
httpd - Docker Official Image packaging for Apache HTTP Server
magento2-warden-aliases - Magento 2 Warden Aliases for Productivity
bypass4netns - [Experimental] Accelerates slirp4netns using SECCOMP_IOCTL_NOTIF_ADDFD. As fast as `--net=host`.
Signal-TLS-Proxy
podman-networking-docs - rootless Podman networking documentation with examples
podman - Management of podman, including systemd services that use podman
resolve - Container scripts to build and run DaVinci Resolve [Studio] for Linux using Docker or Podman
podman-compose - a script to run docker-compose.yml using podman
restic-automatic-backup-scheduler - Automatic restic backup using Backblaze B2 storage and either Linux systemd timers, macOS LaunchAgent, Windows ScheduledTask or simply cron.
redis-docker - Docker Official Image packaging for Redis
traefik-forward-auth - Minimal forward authentication service that provides Google/OpenID oauth based login and authentication for the traefik reverse proxy