#containers

danie10@squeet.me

4 reasons why you should use Docker containers on your PC

Computer desktop showing a window open. The window title says docker.desktop. It shows search results for "calibre", with some docker image names listed. To the left is a navigation pane showing Containers, Images, Volumes, Builds, Docker Scout, and Extensions.
I use Docker containers exclusively on my servers, but have yet to explore using them on my desktop computer or a Raspberry Pi. I do use Flatpaks quite a bit, and there seems to be a case for Docker containers being lighter than Flatpaks even (not sure about this yet).

But certainly, Docker containers are ultra-lightweight (just think also how quickly they spin up).

And yes, they do isolate their environment and prevent any chance of conflicting packages.

If you use Docker containers on your desktop, let me know which you are finding useful for a desktop environment.

See xda-developers.com/reasons-why…
#Blog, #containers, #docker, #technology

danie10@squeet.me

Distrobox lets you start any Linux distribution inside your terminal, and even run GUI apps for that distro on your host machine

A brown cardboard box with top open, and inside is logos of various Linux distos
Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Distrobox uses podman or docker to create containers using the Linux distribution of your choice. The created container will be tightly integrated with the host, allowing sharing of the HOME directory of the user, external storage, external USB devices and graphical apps (X11/Wayland), and audio.

Ideally, you would probably use a Flatpak or Appimage application for your main computer, if they’re available. But if they’re not, this is an amazingly easy alternative. The apps boot as quickly as if they are the native apps for your host machine. You could probably also manually install these containers, but why, if Distrobox largely automates this for you and integrates them so tightly with your computer, that all your home directories are already integrated and visible.

It’s also a great way to learn a different distro and how its package manager and syntax works.

It is like a Linux Subsystem for Linux (like Windows has a Linux Subsystem for Windows).

Their site has extensive documentation as well as a good video giving an overview of how this works.

See https://distrobox.privatedns.org/
#Blog, #containers, #distrobox, #linux, #opensource, #technology

faab64@diasp.org

Turning an empty 2L juice box into a holder for plant seedlings.

The 2L juice boxes are pretty common in #Europe and #US and most of them come in similar shape to maximize shipping of them from distances.

I drink a #box every 3-4 weeks or so and had saved a few of them to see what I can do with them.

Decided to make a quick test to see if I can put 3 small plastic #containers that I use for growing plants into the and it was a good fit.

Marking 3 squares on the side of the box with the lid facing up in the size of the top inner section of the #plastic pots. Cut each square diagonally and bend up the triangles to fit the pot inside.

Because of their format, it is easy to add water to them and I keep the lid on to prevent mosquitoes and bugseti go in there.

It's not perfect, but it works to prepare the plants for their final home. And it doesn't cost anything. And when I am done, I cut and clean them before putting them in #recycling.

#Gardening #BalconyGarden #ContainerGarden #France #Hydroponics #GrowYourOwn #Plants #ReUse

anonymiss@despora.de

The Hidden #Fees Making Your Bananas, and Everything Else, #Cost More

source: https://www.msn.com/en-us/travel/news/the-hidden-fees-making-your-bananas-and-everything-else-cost-more/ar-AAYxrNt

#Hapag had made it “extremely difficult” to return empty #containers, the trucking company said, and it was often left holding them for a month, all while Hapag continued to charge the firm $400 a day for each container that wasn’t returned on time. One trucking company that the importer contacted said it almost had to shut down temporarily because all the chassis — the steel frames with wheels that attach to trucks — that it needed to pull new loads from the ports were sitting under 70 empty containers that Hapag refused to take back.

#inflation #profit #capitalism #economy #trade #problem #news #truck #transport #container

danie10@squeet.me

How to easily manage Docker Containers using Portainer graphical user interface on Ubuntu

Bild/Foto
Portainer is an open-source management UI for Docker, including Docker Swarm environment. Portainer makes it easier for you to manage your Docker containers, it allows you to manage containers, images, networks, and volumes from the web-based Portainer dashboard.

I started out with docker containers using Portainer, and I still use Portainer today. In the beginning, I used the quick-click install of existing App Templates to quickly get many popular types of web service up and running. It was this ease of use that helped me migrate away from cPanel hosting. Today I tend to use App Templates, where I have taken existing scripts and tweaked them for my use to store data on specific external volumes, specify ports to be used, etc.

If you want to get into using Docker Containers to host services, I’d suggest looking at a few videos about using Portainer to get the feel of it. Of course, everything in Portainer can be done from the command line too (and often quicker) but using a graphical interface that basically does everything needed, is a lot more friendly for most average users.

See https://www.howtoforge.com/tutorial/ubuntu-docker-portainer/

#technology #docker #containers #portainer #selfhosting
#Blog, ##containers, ##docker, ##portainer, ##selfhosting, ##technology

danie10@squeet.me

DockSTARTer is a way to make it quick and easy to get up and running with Docker

Bild/Foto
You may choose to rely on DockSTARTer for various changes to your Docker system, or use DockSTARTer as a stepping stone and learn to do more advanced configurations.

It is a bit like having a cPanel script installer for your self-hosting at home to quickly install services to host, but using Docker underneath. I’d suggest though reading through the website a bit first, and I see at least two YouTube videos also on using DockSTARTer.

See https://dockstarter.com/

#technology #containers #docker #dockstarter #selfhosting
#Blog, ##containers, ##docker, ##dockstarter, ##selfhosting, ##technology

danie10@squeet.me

3 steps to start running containers today – Learn how to run two containers in a pod to host a WordPress site

Bild/Foto
I know I’ve posted recently about containers, but I still regret not starting to use them earlier. It was because my hosting was ‘working’ and I did not see the need. But once I started getting more issues with upgrading some applications, I realised the benefits of containers.

Pre-made containers get distributed with just what’s necessary to run the application it contains. With a container engine, like Podman, Docker, or CRI-O, you can run a containerized application without installing it in any traditional sense. Container engines are often cross-platform, so even though containers run Linux, you can launch containers on Linux, macOS, or Windows.

One thing I had to get to grips with, was depending on the image you use to create your container, some just require pulling a new image to update the application, and some require the upgrade to be run as normal within the running application. You also want to be sure to do regular backups of any external volumes, as these contain user data that is not recreated by the container.

See https://opensource.com/article/22/2/start-running-containers

#technology #containers #docker #podman #hosting
#Blog, ##containers, ##docker, ##hosting, ##podman, ##technology

danie10@squeet.me

Buildah is an open source tool for building your own container from scratch

Bild/Foto
Containers are run in the cloud. That’s because container technology allows websites and web apps to spawn fresh copies of themselves as demand increases. They’re the reason hundreds of millions of people can use popular sites without those sites buckling under the pressure of global traffic.

Containers are a Linux technology, meaning that they rely on code (specifically cgroups and namespaces) unique to the Linux kernel, so when you run a container, you’re running Linux. Using container images from sites like quay.io and dockerhub.io, most people build new containers specific to their application or use case.

But that makes some people wonder: If my container comes from a developer building on top of another developer’s container, where do those containers come from? Don’t worry, it’s not turtles all the way down. You can build a container from scratch, and there’s a great open source tool called Buildah to help you do it.

See https://opensource.com/article/22/2/build-your-own-container-linux-buildah

#technology #opensource #linux #containers #cloud
#Blog, ##cloudstorage, ##containers, ##linux, ##opensource, ##technology

danie10@squeet.me

Run containers on Linux without sudo in Podman, it is also Docker compatible

Podman has two main advantages over Docker:
* Does not require root privileges to run Docker containers
* Has no single running daemon as a single point of failure

And although it is compatible with running and creating Docker containers, it cannot use Watchtower for automated checking of updates for containers. But with systemd managed containers there is an auto-update option for Podman which is worth looking at.

See https://opensource.com/article/22/1/run-containers-without-sudo-podman

#technology #containers #docker #podman
#Blog, ##containers, ##docker, ##podman, ##technology

danie10@squeet.me

Docker Containers and Images explained Simply

OK, this can be a rather technical subject, but give this video a chance without worrying too much about the details. Hopefully it conveys the concepts, because for me, it certainly slotted a few missing pieces together and the light started to shine. I was not clear on why and how volumes worked, and this cleared it up for me (to create persistent data to survive the container being recreated).

With Docker, you can, in theory, create a web application ready for use with just one or two commands. It is easy to update an application by re-pulling the latest image, or even move your apps and data to another server. This channel also has an excellent video unpacking how the docker-compose file actually works.

Using the command line is often the most precise way of doing this, but there are also graphical UI's like Portainer that will achieve the same container creation and management.

I'm using this, and a few other videos, to prepare to migrate my whole web hosting away from legacy installs, to all being docker containers on a different hosting platform. This will also make it easier to move again in the future if I need to.

See Bild/Foto

Docker explained simply
by The Digital Life on YouTube

#technology #docker #containers #selfhosting #howto


https://gadgeteer.co.za/docker-containers-and-images-explained-simply