How to manage and troubleshoot Kubernetes logs

How to manage and troubleshoot Kubernetes logs

Kubernetes is open source software that allows us to manage containerized applications across node systems. When it comes to managing a Kubernetes cluster, one of the most important aspects of administration is to keep constant tabs on the logs. These logs give us valuable information about the performance and overall health of our Kubernetes cluster. In this tutorial, we will see how to manage and troubleshooting Kubernetes logs on a Linux system.

Read more

How to Install Kubernetes on All Linux Distros

How to Install Kubernetes on All Linux Distros

Kubernetes is container orchestration software that allows us to deploy, manage, and scale containerized applications across any number of node systems. It is a powerful and open source technology which makes it far more efficient to run applications at scale, and supersedes the traditional way of running applications directly on the operating system or in a virtual machine. A Kubernetes cluster also introduces self healing, load balancing, and a way to manage hundreds or thousands of containerized application from a single command prompt.

Read more

How to Manage Kubernetes Clusters With kubectl

How to Manage Kubernetes Clusters With kubectl

The kubectl command is how administrators interact with and manage a Kubernetes cluster on a Linux system. It is an essential command line tool that works with all Kubernetes cluster envrionments like Amazon Web Services, Google Cloud Platform, or a cluster on your own hardware (e.g., kubeadm). Managing Kubernetes clusters at scale can be a challenge at first, but mastering the kubectl command will make it much easier.

Read more

How to Deploy an Application in Kubernetes

How to Deploy an Application in Kubernetes

Kubernetes gives system administrators the means to manage containerized applications. To get started, we need to deploy an application inside of our Kubernetes cluster. From there, Kubernetes will manage many aspects of our application, plus give us tools to interact with it as needed. In this tutorial, we will go through the step by step instructions to deploy an application in Kubernetes on a Linux system.

Read more

Instant privacy with tor, privoxy and docker

Instant privacy with tor, privoxy and docker

We have created a Docker container linuxconfig/instantprivacy that you can deploy for instant privacy. It utilizes Tor (anonymity network) and Privoxy (non-caching web-proxy) to deliver instant privacy, and is based on GNU/Linux Debian 11 Bullseye. We’re also open to feedback or feature requests that you would like to see in the container. In this tutorial, we will explain how Tor and Privoxy combine to make your web browsing private, and how to download and run the instant-privacy Docker container.

Read more

Deploying Kubernetes on Ubuntu 22.04 Jammy Jellyfish Linux

How to install Kubernetes on Ubuntu 22.04 Jammy Jellyfish Linux

Kubernetes is leading software in container orchestration. Kubernetes works by managing clusters, which is simply a set of hosts meant for running containerized applications. In order to have a Kubernetes cluster, you need a minimum of two nodes – a master node and a worker node. Of course, you can expand the cluster by adding as many worker nodes as you need.

Read more

Connecting to a running Docker container via SSH on Linux

How to connect to Docker container via ssh

After installing Docker on Fedora, AlmaLinux, Manjaro, or some other distro, it’s time to install more containers. Once you have a Docker container up and running on a Linux system, one of the things you’ll likely need to do is run commands inside the container. This allows you to use the container similarly to how you would a physical machine, except that Docker has done most of the setup legwork for us already.

There are already two commands available that allow us to run commands on a Docker container. The first one is docker exec, and the second command, which allows us to attach to a running container, is docker attach. These commands usually suffice, but you may find yourself in a scenario where you’d prefer to use SSH to connect to the Docker container and manage it.

Not all Docker containers are provisioned to run SSH. Normally, Docker containers are very lightweight and only programmed to do one thing. However, some Docker containers will allow SSH, and this can make management of the container much easier. In this guide, we’ll see how to connect to a Docker container via SSH from the host system on Linux command line.

In this tutorial you will learn:

  • How to connect to a running Docker container via SSH

Read more

Sharing data from the host system to a Docker container

How to share data between a Docker container and host system using volumes

The easiest way to share data between a Docker container and the host system is to use Docker’s volumes. In this guide, we will go through the step by step instructions of sharing files between a Docker container and host system using Docker volumes via the command line on Linux.

DID YOU KNOW?
Docker volumes work similarly to bind mounts, but are the preferred method for sharing data between a host system and Docker container because outside applications are not able to access the files and modify them.

In this tutorial you will learn:

  • How to use volumes to share data between a Docker container and host system

Read more

Backing up a Docker container on Linux

Docker container: Backup and Restore

The purpose of this guide is to go over the step by step instructions of how to back up a Docker container on the Linux command line. We’ll also show how to restore a Docker container from backup. This can be done on any Linux system where Docker is installed, and will work on any Linux distribution.

To understand the Docker container backup and recovery process we first need to understand the difference between a Docker image and a Docker container. A Docker image contains an operating system with possibly one or more preconfigured applications, whereas a Docker container is a running instance created from an image.

In this tutorial you will learn:

  • How to back up a Docker container on Linux
  • How to restore a Docker container on Linux

Read more