Essential Docker Container Operations and Management Commands
Launching Containers
# Basic syntax
docker run [OPTIONS] IMAGE [COMMAND]
# Lifecycle on first run
# 1. Local image lookup → download if missing
# 2. Container creation → default or supplied command
# 3. Container ID returned
docker run -d nginx
Frequently-used run flags
Short / Long
Purpose
-d
Detached / daemon mode
-p host:ctr
Publ ...
Posted on Wed, 04 Nov 2026 16:31:45 +0000 by Cbrams
Essential Linux Commands: Navigation, File Management, and System Inspection
Linux systems rely on a powerful command-line interface for file management, navigation, and system inspection. Unlike graphical operating systems, Linux uses a hierarchical directory tree rooted at /. Mastering core commands enables efficient interaction with the system.
Filesystem Structure Overview
The root directory (/) contains key subdire ...
Posted on Wed, 04 Nov 2026 16:20:47 +0000 by OttoBufonto
Publishing a .NET Library to NuGet.org via CLI
To publish a .NET class library to NuGet.org, follow this streamlined workflow using the nuget.exe CLI tool. While modern .NET SDKs support dotnet pack and dotnet nuget push, this guide focuses on the classic nuget.exe approach for clarity and compatibility with older projects.
Create and Prepare the Library
Start by creating a standard .NET Cl ...
Posted on Sat, 17 Oct 2026 16:29:46 +0000 by parboy
Essential Docker CLI Operations and Container Management
System Information and Access ConfigurationVerify the environment setup and retrieve engine details using foundational commands:docker system ver
docker system info
docker <command> --help
To operate Docker without root privileges, add the target user to the docker group and refresh the session:sudo usermod -aG docker admin_user
newgrp do ...
Posted on Mon, 12 Oct 2026 16:40:47 +0000 by guitarlvr
Essential Techniques for Bash Shell Scripting
Handling Arrays and File Input
Reading external data into an array is a fundamental task in shell scripting. This allows for batch processing of file paths or configuration entries.
Reading File Lines into an Array
The following example demonstrates how to read a file line by line and store the contents into a Bash array for subsequent iteratio ...
Posted on Wed, 07 Oct 2026 16:54:44 +0000 by POG1
Building Modern CLI Tools with Cobra in Go
Cobra is a powerful library for building modern command-line interfaces in Go. While the standard flag package handles basic CLI requirements, Cobra provides additional convenience features that make complex CLI development significantly easier. Created by spf13—a Go project member and the author of Hugo—Cobra has been adopted by many prominent ...
Posted on Wed, 07 Oct 2026 16:09:55 +0000 by RedRasper
Understanding Linux File System Hierarchy and Configuration
The Linux file system hierarchy standard (FHS) defines the main directories and their contents.
/bin: Essential user command binaries.
/boot: Boot loader files and the Linux kernel.
/dev: Device files.
/etc: System-wide configuration files.
/home: User home directories.
/lib: Essential shared libraries and kernel modules.
/lib64: Essential 64- ...
Posted on Tue, 06 Oct 2026 16:23:43 +0000 by mordeith
Accessing Different Redis Databases via Docker Commands
To interact with specific Redis databases within a Docker environment, follow these steps to connect directly using containerized tools.
Begin by launching a Redis instance in a detached container:
docker run -d --name redis-instance redis
Once the container is runing, access its shell using the exec comand:
docker exec -it redis-instance sh
...
Posted on Sun, 04 Oct 2026 16:10:21 +0000 by PABobo
Comprehensive Guide to Git Command Line Operations
Environment Setup & Configuration
# Retrieve current configurations
git config --list
git config --global --list
# Define user identity (mandatory)
git config --global user.name "Jane Doe"
git config --global user.email "jane.doe@domain.com"
# Specify default text editor
git config --global core.editor "nano" # Nano
git config --global ...
Posted on Tue, 29 Sep 2026 16:56:47 +0000 by djetaine
Daily Network Device Inspection Command Reference for Cisco & H3C Hardware
Cisco Catalyst & Integrated Services Router Checks
Core System & Inventory Overview
transport preferred ssh
terminal no length
display running-config! Displays full active device configuration
show inventory! Displays system diagnostic details
show module status
show env temp
show env fan
show env power
show processes cpu sorted 1min
sh ...
Posted on Fri, 18 Sep 2026 16:39:49 +0000 by jkohns