netshoot
Dokku
netshoot | Dokku | |
---|---|---|
25 | 194 | |
8,951 | 29,849 | |
1.4% | 1.0% | |
2.5 | 9.9 | |
2 months ago | 4 days ago | |
Shell | Shell | |
Apache License 2.0 | 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.
netshoot
-
The Kubernetes Troubleshooting Handbook
For more complex issues, consider using a debug container with pre-installed tools. There are a lot of good docker images with tooling and scripts for debugging, one that stands out to me is https://github.com/nicolaka/netshoot. It can quickly be created using:
- Docker Container Can't Ping
- Vaultwarden docker container with internal network
- Internet not working inside any Kubernetes pod
-
Docker Networking: A Step-by-Step Guide for Developers
Now, let's use netshoot, a Docker image equipped with a set of networking troubleshooting tools that can be used for Docker networking.
- Has the image netshoot the Alpine/musl DNS issues?
-
What's your favourite Docker Image, and why?
nicolaka/netshoot for sure. having a preloaded array of networking troubleshooting tools in an image for kubernetes debugging is a godsend.
- k8s docker image with basic troubleshooting tools
-
Networking lab for learning using containers?
First off, it seems like getting tcpdump or Wireshark to capture from the container network and dumping to a file will take some extra steps. (A lot of blog posts seem to recommend this Github project - https://github.com/nicolaka/netshoot)
- qBittorrent "Error" after putting the container through a Gluetun container
Dokku
-
Deploy a NestJS Application with Dokku
In this article, we will deploy a NestJS application using Dokku (https://dokku.com).
-
Hosting your own PaaS: Open-Source Tools to Help You Exit the Cloud!
# download the installation script wget -NP . https://dokku.com/bootstrap.sh # run the installer sudo DOKKU_TAG=v0.35.10 bash bootstrap.sh # configure your server domain dokku domains:set-global your-domain.com # add your ssh key to the dokku user PUBLIC_KEY="your-public-key-contents-here" echo "$PUBLIC_KEY" | dokku ssh-keys:add admin # create your first app dokku apps:create test-app
-
Stop Paying Vercel: Self-Host Unlimited NextJS Apps for $19/month
Use GitHub Actions, GitLab CI, Dokku or any CI/CD tool you prefer
-
Ask HN: What selfhosted PaaS would you recommend?
I recently acquired a decently large server (512 GB ram, 64 cores), and am looking into self-hosting some web applications -- Invidious, file server, proxy, to name a few.
I was recommended Dokku[1], and after searching I also found several more similar products, like Coolify, DokDeploy, CapRover. I'm pretty new to doing this, so I would like to ask what experience you've had with these.
[1]: https://dokku.com/
- Deploying a Rails 7 + React app to AWS via Dokku
-
Deploy multiple apps on a single VPS with Docker
Dokku is open source. Its focus lies on making deployments easy with a simple "git push". The user interface is a CLI.
-
Show HN: A CLI tool I made to self-host any app with two commands and a VPS
I don't think that's true. I opened https://github.com/dokku/dokku/issues/5008 a while back and Jose didn't seem to disagree.
Addressing your argument directly though: you know that if you spin up a Postgres database for your app, you need to dump the database to disk to back it up (or if you wanna get fancy, you can do a delta from the last backup + a full backup periodically). Anytime a Postgres database exists, you know the steps you need to take to backup that service.
Same with persistent file storage on disk: if you have a directory of files, you need a snapshot of all of those files.
Each _service_ can know how to back itself up. If you tell a Dokku _app_ to back itself up, what you really mean is that each _service_ attached to that app should do whatever it needs to do to create a backup. Then, dokku only needs to collate all of the various backup outputs, include a copy of the git repository that drives the app, tar/zstd it, and write it to disk.
As you pointed out, the user should probably be able to control the backup cadence, where those backups are shipped off to, the retention period, whether or not they are encrypted, etc, but the actual mechanics of performing a backup aren't exactly rocket science. All of the user configurable values can have reasonable defaults too -- they can/should Just Work (tm). There's value in having that work OOTB even if the backups are just being written to disk on the actual Dokku machine somewhere.
-
Does Your Startup Need Complex Cloud Infrastructure?
> For all the people who are saying you don’t need X and Y - what is the simplest way to deploy a web app using TLS on a VPS/VM?
Depends on your defintion of simplest. In terms of set-up probably someting like https://dokku.com/ . It's a simple self-hosted version of herokku, you can be up and running in literally minutes and because its compatable with herokku you can re-use lots of github action/ other build scripts.
In terms of simple (low complexity and small sized components) just install caddy as your reverse-proxy which will do ssl certs and reverse proxy for you with extremely little, if any config. Then just have your github action push your containers there using whatever container set-up you prefer. This is usually a simple script on your build process like "build container -> push container to registry -> tell machine to get new image and run it" or even simpler just have your server check for updated images routinely if you don't want to handle communication between build script and server. That's the bare minimum needed. This takes a bit longer than a few minutes but you can still be done within an hour or two.
Regardless of your choice it shouldn't take more than 1 working day, and will save you a lot of money compared to the big cloud providers. You can run as low as €4.51/month with hetzner and that includes a static IP and basically unlimited traffic. An EC2 instance with the same hardware costs about $23 a month for comparison (yes shared vs dedicated vCPU, but even the dedicated offer at hetzner is cheaper, and this is compared to a serverless set-up where loads are spikey, which is exactly how we can benefit from a shared vCPU situation).
-
Reclaim the Stack
It seems like a nice Kubernetes setup! But I don’t see how this is comparable to something like Heroku – the complexity is way higher from what I see.
If you’re looking for something simpler, try https://dokku.com/ (the OG self-hosted Heroku) or https://lunni.dev/ (which I’ve been working on for a while, with a docker-compose based workflow instead). (I've also heard good things about coolify.io!)
-
dokploy VS Dokku - a user suggested alternative
2 projects | 26 Aug 2024
A good alternative as recommended on Hacker News https://news.ycombinator.com/item?id=41358020
What are some alternatives?
ksniff - Kubectl plugin to ease sniffing on kubernetes pods using tcpdump and wireshark
coolify - An open-source & self-hostable Heroku / Netlify / Vercel alternative.
containers-roadmap - This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
container_builder - This project builds containers images using Ansible. The containers are defined as hosts in the Ansible inventory. They are generated using host and group variables, templates and local connection.
Portainer - Making Docker and Kubernetes management easy.
geodesic - 🚀 Geodesic is a DevOps Linux Toolbox in Docker
Docker Compose - Define and run multi-container applications with Docker
swarmprom - Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
piku - The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.
example-voting-app - Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
Docker Swarm - Source repo for Docker's Documentation