Internet speed prioritization in containers

How can I prioritize a container with regards to internet speed? Let’s assume I’ve got two podman (docker) containers and both upload stuff.

Reasoning

My upload bandwidth is limited. One container needs to reliably upload stuff and the other doesn’t. Thus, I want to prioritize one container over the over in order to deliver content in this container reliably.

Example

Syncthing can sync over a long time period but jellyfin can’t.

@Lem453@lemmy.ca
link
fedilink
English
97M

https://github.com/lukaszlach/docker-tc

This is probably the way to go

@GravitySpoiled@lemmy.ml
creator
link
fedilink
English
27M

thx. If I read it correctly, you can set a bandwidth limit to a container, e.g. busybox. Can you prioritize as well?

@Lem453@lemmy.ca
link
fedilink
English
27M

I don’t know. This docker allows you to use the standard Linux command tc on a docker container. Perhaps check to see if tc allows you to prioritize traffic like you. This isbgenerall called “quality of service”. That search term may help as well.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 190 users / day
  • 407 users / week
  • 1.08K users / month
  • 3.98K users / 6 months
  • 1 subscriber
  • 3.56K Posts
  • 71.5K Comments
  • Modlog