• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: August 3rd, 2023

help-circle

  • excitingburp@lemmy.worldtoSelfhosted@lemmy.worldWhat's the deal with Docker?
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    1
    ·
    edit-2
    8 months ago

    For your use case, consider it to be a packaging format (like AppImage, Flatpak, Deb, RPM, etc.) that includes all the dependencies (including services, not just libraries) for the app in question.

    Should I change this?

    If it’s not broken don’t fix it.

    Use Podman (my preferred - the SystemD approach is awesome), containerd, or Incus. Docker is a graveyard of half-finished pet projects that have no reason for existing. Podman has a Docker-compatible socket, so 100% of Docker tooling will work with it.








  • I had a really bad experience with a $30 hand scanner and Brother support (they included the wrong size calibration sheet in the packaging and refused to replace it, and were assholes/user blaming about it). I definitely did not want to deal with that for a $400 printer/scanner combo. I went with Xerox 6515 instead, which has been going solid for 4 years - black toner is at 25%, the rest are mostly full. I have never used it with USB, only Ethernet (plugged in network). Works great with Windows, Linux, and Mac. The scanner does great work.

    Cheap printers are cheap because they make up the cost with ink. If you want something decent then bite the bullet and fork over more cash upfront. A printer designed for corporate/office work will typically be more durable - but buyer beware, may have “features” that only look good on a sales presentation. Do your research, avoid cloud storage/fax/etc.

    I also got my godmother an Epson Ecotank, due to simplicity. It has been going swimmingly. Their “innovation” is (massive, mind you) refillable tanks in the printer, you must buy bottles of ink. That makes ink DRM impossible, but their ink is cheap enough that bootleg ink is unnecessary.

    If you can’t afford a more expensive printer right now then take trips to your local FedEx/whatever and put some money each time you do towards a decent printer. DO NOT get a temporary cheap printer, ink will easily cost you the same as a decent printer over a short period of time.



  • Don’t learn Docker, learn containers. Docker is merely one of the first runtimes, and a rather shit one at that (it’s a bunch of half-baked projects - container signing as one major example).

    Learn Kubernetes, k3s is probably a good place to start. Docker-compose is simply a proprietary and poorly designed version of it. If you know Kubernetes, you’ll quickly be able to pick up docker-compose if you ever need to.

    You can use buildah bud (part of the Podman ecosystem) to build containerfiles (exactly the same thing as dockerfiles without the trademark). Buildah can also be used without containerfiles (your containerfiles simply becomes a script in the language of your choice - e.g. bash), which is far more versatile. Speaking of Podman, if you want to keep things really simple you can manually create a bunch of containers in a pod and then ask Podman to create a set of systemd units for you. Podman supports nearly all of what docker does (with exception to docker’s bjorked signing) and has identical command line syntax. Podman can also host a docker-compatible socket if you need to use it with something that really wants docker.

    I’m personally a big fan of Podman, but I’m also a fan of anything that isn’t Docker: LXD is another popular runtime, and containerd is (IIRC) the runtime underpinning docker. There’s also firecracker or kubevirt, which go full circle and let you manage tiny VMs like containers.