docker-nginx
podman
docker-nginx | podman | |
---|---|---|
14 | 2 | |
3,110 | 46 | |
0.8% | - | |
7.7 | 8.3 | |
10 days ago | 7 days ago | |
Shell | HTML | |
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
-
Make systemd better for Podman with Quadlet
You are correct. And there is an Ansible role for automated management: https://github.com/linux-system-roles/podman/
-
docker Vs podman - Which one is worth doing a dive in?
My opinion, yes, and RHEL are sure aiming for that. Whether they will succeed and whether it's better than Docker/ Kubernetes is down to personal opinion at least for now. Podman is trying to make it easy to work with it and to scale - there's an Ansible role under development. At the end of the day, Podman is made to be compatible with both Docker and Kubernetes syntax and general way of work, so I think if you know it well it shouldn't be too hard to learn the other technologies if needed.
What are some alternatives?
httpd - Docker Official Image packaging for Apache HTTP Server
podman-nginx-socket-activation - Demo of how to run socket-activated nginx with Podman
bypass4netns - [Experimental] Accelerates slirp4netns using SECCOMP_IOCTL_NOTIF_ADDFD. As fast as `--net=host`.
patchew - A patch email tracking and testing system
config - configuration library for JVM languages using HOCON files
Signal-TLS-Proxy
podman - Podman: A tool for managing OCI containers and pods.
podman-compose - a script to run docker-compose.yml using podman
ansible-podman-collections - Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool
redis-docker - Docker Official Image packaging for Redis
postgres - Docker Official Image packaging for Postgres