JIYIK CN >

Latest article

Exposing multiple ports in a Docker container

Publish Date:2025/03/24 Author:JIYIK Category:Docker

There are different types of communication on the Internet, the most common ones include file transfers, sending emails, and serving web pages. To make this communication possible, we make use of port numbers that help identify the type of

View

Difference between COPY and ADD commands in Dockerfile

Publish Date:2025/03/24 Author:JIYIK Category:Docker

A Dockerfile is a text document that contains all the commands used to build a Docker image. Recently, we have seen Docker being widely used as the default tool for managing configurations and automating deployments. Advanced features such

View

View logs for a specific Docker Compose service

Publish Date:2025/03/24 Author:JIYIK Category:Docker

When using docker-compose up, we can see the logs of all containers in the YAML file; however, if we specify a specific container service, the output will not show any service dependencies in the log. Therefore, this article will explore ho

View

Creating a database user with Docker Postgres

Publish Date:2025/03/24 Author:JIYIK Category:Docker

When developing applications, we usually use database management systems such as PostgreSQL, MySQL, MongoDB, etc. to record application data. Docker helps us run an instance of these application database management systems. This helps save

View

Using Docker network host commands

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Docker containers work by leveraging network drivers that are created during the installation of Docker. The default drivers available to us include bridge and host networking. When we create containers without specifying a network, they ar

View

The --rm flag in Docker

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Typically, when most developers start using docker, after going through all the processes of pulling images, building them, and running containers, removing a container defeats the purpose of doing so. However, for experienced developers, t

View

Differences between Docker and Docker Compose

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Both docker and docker compose docker run Docker containers. The two Docker constructs are comparable, but that's about it. This article will discuss docker compose the main differences between docker and . Differences between Docker and Do

View

Adding unsafe registry keys in Docker

Publish Date:2025/03/24 Author:JIYIK Category:Docker

While it is highly recommended to secure your registry using a Transport Layer Security (TLS) certificate issued by a known Certificate Authority (CA), we have the option of using our insecure registry over an unencrypted Hypertext Transfer

View

Clear Docker container logs

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Logs are information recorded by the application when a specific event or state occurs. They help us monitor the application and take necessary actions. For example, when we deploy an application to a production environment, logs can help u

View

List all images in Docker Registry V2

Publish Date:2025/03/24 Author:JIYIK Category:Docker

After several iterations, Docker Registry was upgraded from version 1 to version 2. Especially being new, some commands needed to be included or adequately documented on its official documentation website. An example is getting a list of im

View

Setting environment variables in Docker

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Environment variables are used to add additional configuration or metadata to aid in the development of an application, and can exist in different forms. For example, when developing a Java application, we usually set an environment variabl

View

Recreate the container from the new image using Docker-Compose

Publish Date:2025/03/24 Author:JIYIK Category:Docker

As we develop our applications, we often make changes or add more features to make the application more effective for the different users who interact with the application. When using Docker, we need to ensure that the changes or features w

View

Docker daemon log location

Publish Date:2025/03/24 Author:JIYIK Category:Docker

The Docker daemon provides essential information about the general state of your microservices architecture. Unfortunately, container-centric logging techniques allow you to collect relevant data from your services but provide little inform

View

Executing multiple commands in Docker-Compose

Publish Date:2025/03/24 Author:JIYIK Category:Docker

Docker makes it easier for developers to build, test, and deploy applications without worrying about dependencies by packaging them in standardized units called containers. Docker-compose is an advanced, must-have tool for managing multi-co

View

String comparison operators in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will explain string comparison in Bash using if statement. The shell program that runs in Linux and provides a command line interface for users to execute different commands is called Bash shell. It is also used as the d

View

Hosting Docker Internal in Linux

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

Docker allows developers to efficiently build, test, and deploy applications by packaging them in standardized units called containers. When working with Docker containers, you may encounter scenarios where you need to connect a container t

View

Splitting a string into variables in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

This article will discuss different ways to split a string into variables in Bash. We will start our discussion with a brief introduction to strings. Later, we will discuss various ways to split a string using Bash examples. Strings in Bash

View

Bash variable scope

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

In this article, we will learn about bash variable scope in Linux. We also learned how to declare variables in bash scripts in Linux operating system. Furthermore, we will see different types of variables and how to access local and global

View

Sorting Arrays in Bash

Publish Date:2025/03/23 Author:JIYIK Category:OPERATING SYSTEM

Sorting an array is a very common task in any programming language. In Bash scripting, we can also accomplish this task in two different ways. The first one uses any sorting algorithm and the second one uses a built-in keyword in Bash scrip

View

Recommended

Last modified

Hottest

Tags

Scan the Code
Easier Access Tutorial