Tagged articles

Port Mapping

16 articles · Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Aug 11, 2026 · Cloud Native

Docker Container Network Configuration Explained with 6 Diagrams

This article walks through Docker's built‑in networks, the four network modes (bridge, host, container, none), how to create and manage Linux network namespaces and veth pairs, and provides practical commands for configuring bridges, port mapping, DNS, and custom network settings.

Bridge ModeContainer NetworkingDocker
0 likes · 27 min read
Docker Container Network Configuration Explained with 6 Diagrams
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 8: Enabling Container-to-Container Communication with Networks and Service Names

This article explains Docker’s default bridge, host, and none networks, shows how containers on the same bridge can reach each other via IP or service name using Docker’s embedded DNS, demonstrates custom network creation for isolation, covers port mapping, host access, and troubleshooting techniques.

Bridge NetworkContainer NetworkingCustom Networks
0 likes · 6 min read
Docker Day 8: Enabling Container-to-Container Communication with Networks and Service Names
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Operations

How to Add or Modify Docker Container Port Mappings After Creation

This guide explains step‑by‑step how to add, change, or remove port mappings for Docker containers by stopping the container, editing hostconfig.json (and optionally config.v2.json), and restarting the container, with commands for both Linux and Docker Desktop for Mac.

Container ConfigurationDevOpsDocker
0 likes · 6 min read
How to Add or Modify Docker Container Port Mappings After Creation
MaGe Linux Operations
MaGe Linux Operations
Aug 13, 2022 · Cloud Native

Master Docker Container Networking: Modes, Bridges, and Custom Configurations

This guide explains Docker's built‑in network types, the four primary network modes (bridge, host, container, none), how the Docker bridge (docker0) works, how to create and manage Linux network namespaces, veth pairs, and custom bridge networks, plus practical commands for inspection and port mapping.

Container NetworkingDockerLinux Namespace
0 likes · 26 min read
Master Docker Container Networking: Modes, Bridges, and Custom Configurations
Open Source Linux
Open Source Linux
Jul 14, 2022 · Information Security

Why Mapping Docker Ports to 127.0.0.1 Isn’t Safe – Exploit and Fix

A recent Docker security issue shows that publishing container ports to 127.0.0.1 does not prevent external access, because Docker adds an iptables rule that forwards traffic to the container’s internal IP, allowing attackers on the same network to reach the service.

Port MappingVulnerabilityiptables
0 likes · 7 min read
Why Mapping Docker Ports to 127.0.0.1 Isn’t Safe – Exploit and Fix
Liangxu Linux
Liangxu Linux
Jul 10, 2022 · Information Security

Why Docker’s 127.0.0.1 Port Mapping Still Exposes Services – Proof and Fix

A recent Hacker News discussion revealed that Docker’s iptables rule allows containers bound to 127.0.0.1 to be reachable from other hosts, and a step‑by‑step proof‑of‑concept demonstrates the issue while a revised iptables rule is proposed to enforce proper source‑address restrictions.

DockerNetworkingPort Mapping
0 likes · 7 min read
Why Docker’s 127.0.0.1 Port Mapping Still Exposes Services – Proof and Fix