Building Docker Images with Dockerfiles

Building Docker Images with Dockerfiles A Dockerfile serves as a text document containing all the commands required to assemble a Docker image. The docker build command processes these instructions to create an executable image. You can specify a Dockerfile from any location in your filesystem using the -f flag with the docker build command. ...

Posted on Fri, 17 Jul 2026 17:27:25 +0000 by Naez

Configuring and Using the obsutil CLI for Huawei Cloud Object Storage

obsutil is a command-line interface engineered for direct interaction with Huawei Cloud Object Storage Service (OBS). It enables developers and infrastructure engineers to manage storage buckets and manipulate object data without relying on web consoles or SDK implementations. The utility supports a wide range of operations, including bulk file ...

Posted on Fri, 17 Jul 2026 17:10:26 +0000 by JayFM

Pushing Docker Images to DockerHub and Alibaba Cloud Container Registry

Pushing Images to Alibaba Cloud Container Registry Authentication Authenticate with your Alibaba Cloud registry endpoint: sudo docker login --username=your_account_name registry.cn-hangzhou.aliyuncs.com The username should be your full Alibaba Cloud account ID, and the password is the one you configured when creating the namespace. You can mod ...

Posted on Thu, 16 Jul 2026 16:39:48 +0000 by lush_pierre

Installing Docker on Ubuntu 22.04 Systems

Docker enables containerization of applications with their dependencies, providing a standardized deployment environment. This guide covers the installation process on Ubuntu 22.04. System Update Begin by updating the package repository and upgrading existing packages: sudo apt update sudo apt full-upgrade -y Install Required Dependencies Add ...

Posted on Sun, 12 Jul 2026 16:20:15 +0000 by nca

Practical Linux Shell Scripting Scenarios

This script gathers essential server metrics, including the hostname, network details, OS version, kernel data, CPU specifications, and memory capacity. It utilizes color codes to improve output readability. #!/bin/bash # Filename: server_status.sh # Define color variables for terminal output COLOR_RESET='\033[0m' COLOR_HEADER='\033[1;36m' COL ...

Posted on Fri, 10 Jul 2026 17:07:34 +0000 by w4seem

Crafting Custom Docker Images for a Node.js Service

A Node.js application can be packaged into a self-contained Docker image by defining a Dockerfile and building it with standard commands. The following steps walk through the process using a lightweight Express-based service. First, scaffold a minimal server. Create a file named server.js with the following logic: const express = require('expre ...

Posted on Tue, 07 Jul 2026 16:41:17 +0000 by greenberry

:Creating and Exporting a Customized Ubuntu Docker Container

Setting Up the Base Environment Begin by retrieving the latest Ubuntu image from Docker Hub: docker pull ubuntu:latest Confirm the image is available locally: docker images | grep ubuntu Initialzie a new container in detached mode with interactive terminal support: docker run -d -it --name dev_ubuntu ubuntu:latest /bin/bash Access the runnin ...

Posted on Sun, 05 Jul 2026 17:12:10 +0000 by WhiteShade6

Working with Docker Images: Search, Pull, Inspect, and Manage

An image is a packaged, executable artifact containing the application code, libraries, environment variables, and configuration files needed to run a container. Searching for Images The docker search command queries Docker Hub for available images. docker search [OPTIONS] TERM Useful options: -f, --filter apply a filter condition --format cu ...

Posted on Sat, 04 Jul 2026 18:03:54 +0000 by asifkamalzahid

Deploying Kubernetes 1.17 on Ubuntu 18.04 Using Kubeadm

Configuring the Container RuntimeTo begin, configure the Docker daemon to utilize a registry mirror, which accelerates image downloads. Create the necessary configuration file:sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon. <<-'EOF' { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } EOFApply the changes by reloading t ...

Posted on Thu, 02 Jul 2026 17:14:38 +0000 by gijs

Deploying a Browser-Based Development Environment with Code-Server

Code-server brings the full power of Visual Studio Code to any machine accessible via a web browser. By shifting the IDE from a local desktop client to a server-side instance, it enables developers to maintain a consistent coding environment regardless of their local hardware or operating system. Key Advantages Portability: By decoupling the e ...

Posted on Thu, 02 Jul 2026 16:55:44 +0000 by ungovernable