docker-flask-example VS dagger

Compare docker-flask-example vs dagger and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
docker-flask-example dagger
31 92
545 10,228
- 4.1%
8.0 9.9
10 days ago about 1 hour ago
Python 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-flask-example

Posts with mentions or reviews of docker-flask-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-19.
  • We Have to Talk About Flask
    4 projects | news.ycombinator.com | 19 Oct 2023
    I've been maintaining my Build a SAAS App with Flask video course[0] for 8 years. It has gone from pre-1.0 to 2.3 and has been recorded twice with tons of incremental updates added over the years to keep things current.

    In my opinion tutorial creators should pin their versions so that anyone taking the course or going through the tutorial will have a working version that matches the video or written material.

    I'm all for keeping things up to date and do update things every few months but rolling updates don't tend to work well for tutorials because sometimes a minor version requires a code change or covering new concepts. As a tutorial consumer it's frustrating when the content doesn't match the source code unless it's nothing but a version bump.

    I've held off upgrading Flask to 3.0 and Python 3.12 due to these open issues with 3rd party dependencies https://github.com/nickjj/docker-flask-example/issues/17.

    [0]: https://buildasaasappwithflask.com/

  • Working with Docker Containers Made Easy with the Dexec Bash Script
    5 projects | news.ycombinator.com | 26 Jun 2023
    I usually end up with project specific "run" scripts which are just shell scripts so I can do things like `./run shell` to drop into the shell of a container, or `./run rails db:migrate` to run a command in a container.

    Here's a few project specific examples. They all have similar run scripts:

        - https://github.com/nickjj/docker-flask-example
  • Looking to use Docker & Docker Compose in production and need advice.
    6 projects | /r/docker | 10 Mar 2023
  • Docker Compose Examples
    14 projects | news.ycombinator.com | 25 Feb 2023
    There's a lot of "tool" selections in that repo.

    If anyone is looking for ready to go web app examples aimed at both development and production, I maintain:

        - https://github.com/nickjj/docker-flask-example
  • starter project?
    5 projects | /r/flask | 15 Feb 2023
    Personally I maintain https://github.com/nickjj/docker-flask-example. There's also https://github.com/nickjj/build-a-saas-app-with-flask if you want more opinions.
  • Act: Run your GitHub Actions locally
    14 projects | news.ycombinator.com | 25 Nov 2022
    This is what I do except I use a shell script instead of a Makefile.

    A working example of this is at: https://github.com/nickjj/docker-flask-example/blob/912388f3...

    Those ./run ci:XXX commands are in: https://github.com/nickjj/docker-flask-example/blob/912388f3...

    I like it because if CI ever happens to be down I can still run that shell script locally.

  • docker-compose file repository?
    8 projects | /r/docker | 20 Oct 2022
  • How boring should your team be
    11 projects | news.ycombinator.com | 15 Oct 2022
    > I've encountered a code written in the 12factor style of using environment variables for configuration, and in that particular case there was no validation nor documentation of the configuration options. Is this typical?

    I don't know about typical, it comes down to how your team values the code they write.

    You can have a .env.example file commit to version control which explains every option in as much or as little detail as you'd like. For my own personal projects, I tend to document this file like this https://github.com/nickjj/docker-flask-example/blob/main/.en....

  • The Unreasonable Effectiveness of Makefiles
    12 projects | news.ycombinator.com | 12 Aug 2022
    I did this for a while but make isn't well suited for this use case. What I end up doing is have a shell script with a bunch of functions in it. Functions automatically becomes a callable a command (with a way to make private functions if you want) with pretty much no boiler plate.

    The benefit of this is it's just shell scripting so you can use shell features like $@ to pass args to another command or easily source and deal with env vars.

    I've written about this process at https://nickjanetakis.com/blog/replacing-make-with-a-shell-s... and an example file is here https://github.com/nickjj/docker-flask-example/blob/main/run.

  • Flask boilerplate project recommendation?
    5 projects | /r/flask | 1 Aug 2022
    There's: https://github.com/nickjj/docker-flask-example

dagger

Posts with mentions or reviews of dagger. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-15.
  • Nix is a better Docker image builder than Docker's image builder
    21 projects | news.ycombinator.com | 15 Mar 2024
    The fact that I couldn't point to one page on the docs that shows the tl;dr or the what problem is this solving

    https://docs.dagger.io/quickstart/562821/hello just emits "Hello, world!" which is fantastic if you're writing a programming language but less helpful if you're trying to replace a CI/CD pipeline. Then, https://docs.dagger.io/quickstart/292472/arguments doubles down on that fallacy by going whole hog into "if you need printf in your pipline, dagger's got your back". The subsequent pages have a lot of english with little concrete examples of what's being shown.

    I summarized my complaint in the linked thread as "less cowsay in the examples" but to be honest there are upteen bazillion GitHub Actions out in the world, not the very least of which your GHA pipelines use some https://github.com/dagger/dagger/blob/v0.10.2/.github/workfl... https://github.com/dagger/dagger/blob/v0.10.2/.github/workfl... so demonstrate to a potential user how they'd run any such pipeline in dagger, locally, or in Jenkins, or whatever by leveraging reusable CI functions that setup go or run trivy

    Related to that, I was going to say "try incorporating some of the dagger that builds dagger" but while digging up an example, it seems that dagger doesn't make use of the functions yet <https://github.com/dagger/dagger/tree/v0.10.2/ci#readme> which is made worse by the perpetual reference to them as their internal codename of Zenith. So, even if it's not invoked by CI yet, pointing to a WIP PR or branch or something to give folks who have CI/CD problems in their head something concrete to map into how GHA or GitLabCI or Jenkins or something would go a long way

  • Testcontainers
    16 projects | news.ycombinator.com | 27 Feb 2024
    > GHA has "service containers", but unfortunately the feature is too basic to address real-world use cases: it assumes a container image can just … boot! … and only talk to the code via the network. Real world use cases often require serialized steps between the test & the dependencies, e.g., to create or init database dirs, set up certs, etc.)

    My biased recommendation is to write a custom Dagger function, and run it in your GHA workflow. https://dagger.io

    If you find me on the Dagger discord, I will gladly write a code snippet summarizing what I have in mind, based on what you explained of your CI stack. We use GHA ourselves and use this pattern to great effect.

    Disclaimer: I work there :)

  • BuildKit in depth: Docker's build engine explained
    8 projects | news.ycombinator.com | 6 Feb 2024
    Dagger (https://dagger.io) is a great way to use BuildKit through language SDKs. It's such a better paradigm, I cannot imagine going back.

    Dagger is by the same folks that brought us Docker. This is their fresh take on solving the problem of container building and much more. BuildKit can more than build images and Dagger unlocks it for you.

  • Cloud, why so difficult? πŸ€·β€β™€οΈ
    3 projects | dev.to | 24 Jan 2024
    And suddenly, it's almost painfully obvious where all the pain came from. Cloud applications today are simply a patchwork of disconnected pieces. I have a compiler for my infrastructure, another for my functions, another for my containers, another for my CI/CD pipelines. Each one takes its job super seriously, and keeps me safe and happy inside each of these machines, but my application is not running on a single machine anymore, my application is running on the cloud.
  • Share your DevOps setups
    6 projects | /r/selfhosted | 7 Dec 2023
    That said I've been moving my CI/CD to https://dagger.io/ which has been FANTASTIC. It's code based so you can define all your pipelines in Go, Python, or Javascript and they all run on containers so I can run actions locally without any special setup. Highly recommended.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    You are right make is arcane. But it gets the job done. There are new exciting things happening in this area. Check out https://dagger.io.
  • Shellcheck finds bugs in your shell scripts
    11 projects | news.ycombinator.com | 23 Nov 2023
    > but I'm not convinced it's ready to replace Gitlab CI.

    The purpose of Dagger it's not to replace your entire CI (Gitlab in your case). As you can see from our website (https://dagger.io/engine), it works and integrates with all the current CI providers. Where Dagger really shines is to help you and your teams move all the artisanal scripts encoded in YAML into actual code and run them in containers through a fluent SDK which can be written in your language of choice. This unlocks a lot of benefits which are detailed in our docs (https://docs.dagger.io/).

    > Dagger has one very big downside IMO: It does not have native integration with Gitlab, so you end up having to use Docker-in-Docker and just running dagger as a job in your pipeline.

    This is not correct. Dagger doesn't depend on Docker. We're just conveniently using Docker (and other container runtimes) as it's generally available pretty much everywhere by default as a way to bootstrap the Dagger Engine. You can read more about the Dagger architecture here: https://github.com/dagger/dagger/blob/main/core/docs/d7yxc-o...

    As you can see from our docs (https://docs.dagger.io/759201/gitlab-google-cloud/#step-5-cr...), we're leveraging the *default* Gitlab CI `docker` service to bootstrap the engine. There's no `docker-in-docker` happening there.

    > It clumps all your previously separated steps into a single step in the Gitlab pipeline.

    This is also not the case, we should definitely improve our docs to reflect that. You can organize your dagger pipelines in multiple functions and call them in separate Gitlab jobs as you're currently doing. For example, you can do the following:

    ```.gitlab-ci.yml

  • Cicada – A FOSS, Cross-Platform Version of GitHub Actions and Gitlab CI
    8 projects | news.ycombinator.com | 6 Nov 2023
    Check out https://dagger.io/. Write declarative pipelines in code, reproducibly run anywhere.
  • Show HN: Togomak – declarative pipeline orchestrator based on HCL and Terraform
    12 projects | news.ycombinator.com | 24 Oct 2023
    Is this similar to Dagger[1] ?

    [1] https://dagger.io

  • Ask HN: What's the fastest platform for deploying code with CI/CD?
    1 project | news.ycombinator.com | 6 Oct 2023
    Hey, https://dagger.io employee here. We can help with this. I'd recommend taking a look at out Python SDK (https://docs.dagger.io/sdk/python) to build your pipelines and then leverage Dagger Cloud (https://dagger.io/blog/dagger-cloud) for fast production deployments.

What are some alternatives?

When comparing docker-flask-example and dagger you can also consider the following projects:

mangum - AWS Lambda support for ASGI applications

earthly - Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.

build-a-saas-app-with-flask - Learn how to build a production ready web app with Flask and Docker.

pipeline - A cloud-native Pipeline resource.

gitlab-ci-local - Tired of pushing to test your .gitlab-ci.yml?

full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

act - Run your GitHub Actions locally πŸš€

postgres-and-redis - πŸ—„ PostgreSQL + Redis. Self-Hosted. Docker + Traefik + HTTPS.

aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code

cookiecutter-flask - A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.

dagster - An orchestration platform for the development, production, and observation of data assets.