Docker Porting Guide for OpenHarmony Systems
Docker Overview
Virtualization technology has evolved significantly since the inception of operating systems. In the context of cloud-native computing, containers play a critical role in modern deployment architectures.
Docker is an open-source project that provides an additional abstraction layer on Linux operating systems, enabling users to d ...
Posted on Tue, 16 Jun 2026 16:45:43 +0000 by Okami
Implementing a Vector Container in C++ and Understanding Iterator Invalidation
Vector Container Definition
In C++, a vector is a sequence container that encapsulates dynamic arrays. Its usage typically follows this pattern:
template<typename T>
class MyVector;
// Or in practice
std::vector<int> numbers;
Here, T represents the template parameter, which can be any built-in or user-defined type.
Initialization a ...
Posted on Sun, 17 May 2026 05:01:08 +0000 by adrianuk29
Essential Docker Command Reference
Essential Docker Command Reference1. Searching for Imagesdocker search openjdk2. Pulling Imagesdocker pull docker.io/library/openjdk:8docker pull centos:7 is equivalent to docker pull registry.hub.docker.com/centos:73. Inspecting Image Detailsdocker inspect centos:74. Viewing Image Historydocker history centos:75. Removing Imagesdocker rmi alpi ...
Posted on Fri, 15 May 2026 01:36:31 +0000 by dagee
Docker Basics: Data Volumes, Custom Images, and Compose
Understanding the MySQL Deployment Command
Introduction
When using Docker to install applications, Docker automatically searches for and downloads the application image. An image includes not only the application itself but also the environment, configuration, and system libraries required to run it. When running an image, Docker creates an iso ...
Posted on Wed, 13 May 2026 03:45:33 +0000 by healthnut
Configuring Docker Container Subnets and Disabling Auto-Restart
Assigning Specific Subnets to Docker Containers via Compose
When using docker-compose, containers may encounter IP conflicts with the host's internal network, particularly if both use similar address renges like 192.x.x.x. To avoid such issues, you can define custom subnets for container networks in your YAML configuration.
In the example below ...
Posted on Sun, 10 May 2026 12:51:23 +0000 by rahuul