close
  • Li chevron_right

    Useful Examples of the Docker ps Command

    pubsub.slavino.sk / linuxhandbook.com · Monday, 9 May - 07:42 edit

The most common Docker command is also a versatile command. Learn a few usages of the docker ps command.

Značky: #Linux, #Docker

  • Sl chevron_right

    How to use multi-stage build to compile an application

    pubsub.slavino.sk / sleeplessbestie · Wednesday, 23 March - 12:00 edit

Use Docker or Pod Manager multi-stage build to compile Nginx from source code with additional headers-more-nginx-module module using Debian Bullseye image. The idea is quite simple. The first step is to download source code. The second step is use source code regardless of the used revision control system to build an application and divert installation […]

Značky: #Bullseye, #DevOps, #Docker, #Debian, #Linux, #Podman, #nginx

  • Ga chevron_right

    Docker Punching Holes Through Your VPS Firewall? This Is How I Solved It

    Danie van der Merwe · news.movim.eu / gadgeteerza-tech-blog · Tuesday, 22 March - 14:27

Yes, Docker containers automatically reconfigure the IPTable rules, and do not show up under UFW status as opened ports in your VPS firewall. This can leave your management containers wide open. Most docker container tutorials only use examples of how to do basic port mapping, and this is what exposes those ports.

I explain what is happening with this, and which of the three options I found easiest to make sure only the essential ports are open.

See https://youtu.be/Kr-3WKA1_fI

#technology #selfhosting #docker #VPS #security

  • Ga chevron_right

    3 Ways to Define Docker Volumes Explained in 6 Minutes

    Danie van der Merwe · news.movim.eu / gadgeteerza-tech-blog · Monday, 21 March - 18:27

Docker containers are great (my opinion) due to their ease of deployment and updating, as well as better resource usage for multiple concurrent services on a server. One could also argue they offer better security due to the potential ways you can isolate them from each other, and even your network (see an upcoming video of mine about this point).

A docker container on its own though does not retain any transactional data (persistence) if it is destroyed or updated. To achieve persistence, one creates volumes, which essentially map locations out to the OS side. Destroy or update the container, and it can still read that data from the volume.

This video explains quite clearly the 3 different ways to define such volumes.

Watch https://youtu.be/p2PH_YPCsis

#technology #docker #container #volume #storage

  • In chevron_right

    13 tools that make Kubernetes better

    pubsub.slavino.sk / infoworldcom · Wednesday, 16 March - 10:00 edit

Few computing platforms—even those of great power and scale—satisfy every need out of the box. While Kubernetes is useful out of the box, it’s far from complete. You can always find a use case or a need where the default Kubernetes feature set falls short, such as database support, or simply ignores, such as continuous delivery.

To read this article in full, please click here

(Insider Story)

Značky: #Containers, #Rozne, #Devops, #Kubernetes, #Docker

  • Ga chevron_right

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

    Danie van der Merwe · news.movim.eu / gadgeteerza-tech-blog · Tuesday, 15 March - 11:45

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

  • Ga chevron_right

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

    Danie van der Merwe · news.movim.eu / gadgeteerza-tech-blog · Saturday, 26 February - 18:19

https://upload.movim.eu/files/62f168f3fbecac605d21a105beda461820293db1/gcCdPZnIaHPr/dockstarter.jpg

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

  • Ga chevron_right

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

    Danie van der Merwe · news.movim.eu / gadgeteerza-tech-blog · Monday, 21 February - 09:00

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

  • 3 steps to start running containers today

    Whether you're interested in them as part of your job, for future job opportunities, or just out of interest in new technology, containers can seem pretty overwhelming to even an experienced systems administrator. So how do you actually get started with containers? And what's the path from containers to Kubernetes? Also, why is there a path from one to the other at all? As you might expect, the best place to start is the beginning. [OS_EMBEDDED_MENU_RIGHT:]

  • Pictures 1 image

  • visibility