docker-nginx
redis-docker
docker-nginx | redis-docker | |
---|---|---|
14 | 4 | |
3,110 | 1,100 | |
0.8% | 0.8% | |
7.7 | 6.6 | |
11 days ago | 29 days ago | |
Shell | Shell | |
BSD 2-clause "Simplified" License | BSD 3-clause "New" or "Revised" 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
redis-docker
-
CI/CD using GitHub Actions for Rails and Docker
version: "3.7" services: postgres: image: "postgres:14-alpine" environment: POSTGRES_USER: "example" POSTGRES_PASSWORD: "example" ports: - "5432:5432" volumes: - "postgres:/var/lib/postgresql/data" redis: image: "redis:5-alpine" command: ["redis-server", "--requirepass", "yourpassword", "--appendonly", "yes"] healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 10s timeout: 5s retries: 5 ports: - "6379:6379" volumes: - redis:/data sysctls: # https://github.com/docker-library/redis/issues/35 net.core.somaxconn: "511" sidekiq: depends_on: - "postgres" - "redis" - "elasticsearch" build: context: . args: environment: development image: you/yourapp command: bundle exec sidekiq -C config/sidekiq.yml.erb volumes: - ".:/app" # don"t mount tmp directory - /app/tmp env_file: - ".env" web: build: context: . args: environment: development image: you/yourapp command: bundle exec rspec depends_on: elasticsearch: condition: service_healthy postgres: condition: service_started redis: condition: service_healthy tty: true stdin_open: true ports: - "3000:3000" env_file: - ".env" elasticsearch: container_name: elasticsearch image: docker.elastic.co/elasticsearch/elasticsearch:7.4.2 environment: - discovery.type=single-node - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m" - "logger.org.elasticsearch=error" healthcheck: test: curl --fail elasticsearch:9200/_cat/health >/dev/null || exit 1 interval: 30s timeout: 10s retries: 5 ulimits: memlock: soft: -1 hard: -1 volumes: - esdata:/usr/share/elasticsearch/data ports: - 9200:9200 volumes: redis: postgres: esdata:
- An unexpected Redis sandbox escape affecting only Debian, Ubuntu, and other derivatives
-
Hacker deleted all of NewsBlur’s mongo data and is now holding the data hostage
I was caught out by this too[0]. I now have a fw script which runs automatically for demos etc.
[0] https://github.com/docker-library/redis/issues/259#issuecomm...
-
Hack: Forcing Puppet to apt update
Short hack: As seen in m a n y Dockerfiles, the apt cache is located at /var/lib/apt/lists.
What are some alternatives?
httpd - Docker Official Image packaging for Apache HTTP Server
masscan - TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
bypass4netns - [Experimental] Accelerates slirp4netns using SECCOMP_IOCTL_NOTIF_ADDFD. As fast as `--net=host`.
AttackSurfaceAnalyzer - Attack Surface Analyzer can help you analyze your operating system's security configuration for changes during software installation.
podman-nginx-socket-activation - Demo of how to run socket-activated nginx with Podman
docker-ce - :warning: This repository is deprecated and will be archived (Docker CE itself is NOT deprecated) see the https://github.com/docker/docker-ce/blob/master/README.md :warning:
Signal-TLS-Proxy
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
podman - Management of podman, including systemd services that use podman
Moby - The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
podman-compose - a script to run docker-compose.yml using podman
postgres - Docker Official Image packaging for Postgres