docker-gen VS Docker Compose

Compare docker-gen vs Docker Compose and see what are their differences.

docker-gen

Generate files from docker container meta-data (by nginx-proxy)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
docker-gen Docker Compose
7 388
4,370 32,417
0.3% 0.8%
8.3 9.6
4 days ago 5 days ago
Go Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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-gen

Posts with mentions or reviews of docker-gen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-25.
  • Hosting Wiki.js behind a jwilder/nginx-proxy
    1 project | /r/selfhosted | 18 May 2023
    Yeah, I usually do if I pass URLs to container. But again, the nginx config is completely auto-generated by docker-gen. Not sure why they don't use the container name, maybe duplicate container names? (if that's possible)
  • Going to reinstall.. need ideas.
    5 projects | /r/selfhosted | 25 Feb 2023
    I've not got around to it, but I've always fancied creating a nice landing page that automatically updates as services come up/down, using the system jwilder created to make nginx-proxy, docker-gen. Could be a fun little project, anyway!
  • Tools for automation and daily tasks
    12 projects | /r/automation | 31 Oct 2022
    https://github.com/nginx-proxy/acme-companion https://github.com/nginx-proxy/docker-gen https://github.com/projectdiscovery/dnsx https://github.com/projectdiscovery/httpx https://github.com/projectdiscovery/mapcidr https://github.com/debauchee/barrier https://github.com/stedolan/jq https://github.com/ddosify/ddosify https://github.com/kubernetes-sigs/kind https://github.com/mailcow/mailcow-dockerized https://github.com/motiv-labs/janus
  • Easiest solution for local deployment?
    5 projects | /r/docker | 18 Sep 2022
    Then to make deployment super easy we're using nginx-proxy which uses docker-gen (and the acme-companion for automatic SSL cert generation) to automatically re-configure an nginx reverse proxy to point to your containers.
  • Need help with a flexible configuration for Node and Nginx
    3 projects | /r/node | 14 Sep 2022
    I've now got a setup using docker where the reverse proxy configuration is within the container's configuration (using nginx-proxy, which uses docker-gen). That way I just set the host, path, etc. in my container config, deploy, and the nginx servers are re-configured accordingly. No need to worry about ports and IPs then either.
  • How do you manage and maintain the order of your container ports? It's a bit of a mess on my personal server
    4 projects | /r/selfhosted | 10 Sep 2022
    I use an automated nginx reverse proxy. What this does is setup an nginx reverse proxy which uses docker-gen (follow the advice of setting it up separately). docker-gen listens for docker events such as a container being run, inspects that container for the details it needs (port, host, etc.) then configures the nginx accordingly.
  • docker-gen
    1 project | /r/devopskhan | 26 Oct 2021

Docker Compose

Posts with mentions or reviews of Docker Compose. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • Docker Compose: `version` is obsolete
    1 project | news.ycombinator.com | 29 Apr 2024
  • 12 Factor: 13 years later
    3 projects | dev.to | 26 Apr 2024
    Solutions are many, and could include Docker Compose, VS Code dev containers, Telepresence, Localstack or setting up temporary AWS accounts as a development environment for serverless applications.
  • Let's write a simple microservice in Clojure
    7 projects | dev.to | 26 Apr 2024
    Using Docker Compose to run Postgres and any third-party services locally provides a streamlined and consistent development environment. Developers can define services in a docker-compose.yml file, which enables them to configure and launch an entire stack with a single command. In this case, Postgres is encapsulated within a container with predefined configurations. Docker Compose also facilitates easy scaling, updates, and isolation of services, enhancing development efficiency and reducing the setup time for new team members or transitioning between projects. It encapsulates complex configurations, such as Postgres' performance monitoring and logging settings, in a manageable, version-controlled file, simplifying and replicating the service setup across different environments.
  • Live reload em Go com docker e compile daemon
    4 projects | dev.to | 25 Apr 2024
  • Docker compose, orchestrating and automating services
    3 projects | dev.to | 21 Apr 2024
    “Compose simplifies the control of your entire application stack, making it easy to manage services, networks, and volumes in a single, comprehensible YAML configuration file. Then, with a single command, you create and start all the services from your configuration file.” - Docker documentation
  • Hosting a simple docker-compose app with Nginx and generate a SSL with certbot on digitalocean droplet
    2 projects | dev.to | 8 Apr 2024
    curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh # Install docker compose sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose # Apply executable permissions to the binary sudo chmod +x /usr/local/bin/docker-compose # Run Project docker-compose up -d
  • One Minute: Compose
    4 projects | dev.to | 30 Mar 2024
    Docker,
  • How to Set Up a Docker Container
    3 projects | dev.to | 13 Mar 2024
    This foundation now opens the door to even more powerful concepts. You can explore more advanced concepts such as container networking, streamlining the management of complex applications with Docker Compose, and how to make your application data persistent using volumes.
  • Use same Dockerfile for Dev & Production
    1 project | dev.to | 8 Feb 2024
    In many projects that are containerized, especially in cases where development is also done locally with docker-compose, teams often have two Dockerfiles, 1 for Development, the other for Production. If you happen to have multiple environments like pre-prod, staging and so on, some teams could have different Dockerfiles for these environments.
  • How to Dockerise a NodeJS - TypeScript API || A Comprehensive Guide from Environment Setup to Deployment with a CI/CD Pipeline
    5 projects | dev.to | 18 Jan 2024
    sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

What are some alternatives?

When comparing docker-gen and Docker Compose you can also consider the following projects:

nginx-proxy - Automated nginx proxy for Docker containers using docker-gen

supervisor - Supervisor process control system for Unix (supervisord)

Moby - The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

LibreNMS-docker - LibreNMS Docker image

janus - An API Gateway written in Go

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

traefik - The Cloud Native Application Proxy

Portainer - Making Docker and Kubernetes management easy.

acme-companion - Automated ACME SSL certificate generation for nginx-proxy

Cloud-Init - unofficial mirror of Ubuntu's cloud-init

awesome-sysadmin - MOVED/ARCHIVED A curated list of amazingly awesome open source sysadmin resources.

k3s - Lightweight Kubernetes