Fading Coder

One Final Commit for the Last Sprint

Installing Docker CE on CentOS 7 via YUM Repository Configuration

System Prerequisites Verification Prior to installation, verify the operating system release to ensure compatibility, as Docker requires a CentOS 7 environment or newer. This can be checked using the following command: lsb_release -a Additionally, the system architecture must be 64-bit with a kernel...

Copying Files from Docker Containers to the Host

When building Docker images, there are scenarios where you need to copy files from a Docker container to the host machine's external enviroment. This is commonly required for extracting data, configuraton files, or other artifacts produced inside a container. This article explains how to copy files...

Deploying and Configuring Nacos Using Docker

Pull Nacos Image Retrieve the official Nacos server image from Docker Hub. podman pull nacos/nacos-server Run Nacos Container Launch a standalone instance mapped to host port 8848: podman run -d -p 8848:8848 -e MODE=standalone --name nacos_svr nacos/nacos-server:latest To connect Nacos to an externa...

Building a Log Management System with Elastic Stack

Elastic Stack Components The Elastic Stack (commonly referred to as ELK) consists of three core components: Elasticsearch: Distributed search and analytics engine for storing and querying log data Logstash: Data processing pipeline for collecting, parsing, and transforming logs Kibana: Visualization...

Essential Docker Commands and Concepts

Installation Before using Docker, you need to install it on your system. For Debian-based distributions like Ubuntu, you can use the official installation script. curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh Core Container Operations Listing Containers To view currently r...

Docker Runtime Installation and Image Management on Linux

Containers represent a OS-level virtualization method enabling isolated application environments. Unlike hardware virtualization, containers share the host kernel while maintaining process isolation through kernel features. Key differentiators from hypervisor-based virtualization: Initialization tim...

Building and Customizing Docker Images with Dockerfile

A Dockerfile is a script comprising commands and parameters used to assemble a Docker image. The creation workflow involves: Writing a Dockerfile. Using docker build to produce an image. Running the image via docker run. Optionally distributing it with docker push to a registry such as DockerHub or...

Docker Installation on Ubuntu and Essential Commands Guide

Installing Docker on Ubuntu Updating apt package index sudo apt-get update Installing dependencies for HTTPS-based repositories sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common Adding Docker's official GPG key curl -fsSL https://download.docker.com/lin...

Building a Custom Alpine-Based LNP Stack Docker Image

To create a lightweight Docker image based on Alpine Linux that includes Nginx and PHP-FPM (an LNP stack), start by defining a base PHP layer. For compatibility with legacy applications, use PHP 5.6 on Alpine 3.3: # php5.dockerfile FROM alpine:3.3 ENV TIMEZONE=Asia/Shanghai \ PHP_MEMORY_LIMIT=512M \...

Deploying and Managing Local Large Language Models with Ollama

Ollama functions as a streamlined framework designed to facilitate the deployment of Large Language Models (LLMs) within containerized environments. By bundling model weights, configuration parameters, and data into a unified package known as a Modelfile, it abstracts away complex setup procedures i...