CS Notes

Search

SearchSearch

Recent Updates

  •  My Macos Setup

    Jan 30, 2024

  • Atuin

    Jan 30, 2024

  • Common Security Attacks

    Jan 30, 2024

See 467 more →

          • ECS
          • ECS Exec
          • AWS ALB
          • AWS NLB
          • Target Group
        • ASG
        • AWS Lambda
        • EC2
        • AWS Database
        • AWS Backup
        • AWS Subnet
        • AWS Transit Gateway
        • AWS ACL
        • KMS
        • Security Group
        • AWS Parameter Store
        • DataSync
        • EFS
      • AWS EventBridge
      • AWS Nuke
      • Manage Your AWS from Code Editor without Console Hassles
        • curl
        • jq
        • netstat
        • scp
        • openssl
        • shebang
      • Atuin
      • Bash Scripting
      • Linux Namespace
      • Systemd
        • AND
        • NOR
        • NOT
        • OR
        • XOR
      • Boolean Function
      • Boolean Standard Form
      • Maxterm
      • Minterm
      • C Keywords
      • C Macro
      • C Program Execution
      • C Terminologies
        • Asynchronous Sequential Circuit
        • Data Latch
        • Latch
        • Set Reset Latch
        • Circuit Design
        • Grey Code
        • Karnaugh Map
        • Adder
        • Combination Circuit
          • MIPS
          • MIPS I-Type Instruction
          • MIPS Instruction
          • MIPS J-Type Instruction
          • MIPS R-Type Instruction
          • RISCV CLINT
          • RISCV Instructure
          • RISCV Kernel Deep Dive
        • Assembly language
        • Atomic Instruction
        • Instruction
        • Instruction Execution
        • Instruction Set Architecture (ISA)
        • Computer Data Representation
        • Floating-Point Encoding (浮点数编码)
        • Integer Encoding (数字编码)
        • Number Base Conversion
        • Instruction-Level Parallelism
        • Pipeline
        • Pipeline Stages
        • Branch Prediction
        • Branch Prediction Strategies (Heuristics)
        • Branching
        • Pipeline Flush
        • Operand Forwarding
        • Out-of-Order Execution
        • Pipeline Stall
        • Read-After-Write(RAW) Hazard
        • ALU
        • Clock Oscillator
        • Control Unit
        • CPU
        • CPU Datapath
        • GPU
        • Register
        • Specialised Processor
        • Flip-flops
        • Sequential Circuit
        • Synchronous Sequential Circuit
        • Base 64 Encoding
        • Endianness
        • Logic Gates
        • Transistors (晶体管)
        • Pasha and Stick
        • LRU
        • Valid Sudoku
        • YetnotherrokenKeoard
        • Word Break
        • Container With Most Water
        • Next Permutation
        • (CodeForces) All The Same
        • (CodeForces) Divisibility
        • (CodeForces) Non-coprime Split
        • (CodeForces) Rectangular Game
        • Closest Cities
        • Product of Array Except Self
        • Romantic Glasses
      • Competitive Programming Code Templates
      • Pending CP Questions
      • ACID Transactions
      • Database
      • Database Paradigms
      • DBMS (Database Management System)
      • MySQL
      • SQL
      • Algebra Properties
      • Combination
      • Combinatorics
      • Conditional Statement
      • Counting
      • Deductive Reasoning (演繹推理)
      • Discrete Geometry
      • Discrete Math
      • Fallacy
      • Mathematical Argument
      • Mathematical Proof
      • Mathematical Statement
      • Predicate
      • Propositional Logic
      • Relation
      • Rule of Inference (推理规则)
      • Set
        • Distributed Consensus
        • Raft Consensus Algorithm
        • Replicated State Machine
        • Algorithm Complexity Analysis
        • Algorithms
        • Backtracking
        • Banker's Algorithm
        • Binary Search
        • DFS
        • Dijkstra's Algorithm
        • Dynamic Programming
        • Genetic Algorithms
        • Greedy Algorithm
        • Memoization
        • Optimisation Problem
        • Prefix Sum (前缀和)
        • Recursion
        • Sorting
        • Two Pointers (双指针)
          • Array
          • Circular Array
          • Dynamic Array (List)
          • AVL(Balanced Binary Search) Tree (平衡二叉搜索树)
          • Binary Search Tree (二叉搜索树)
          • Binary Tree (二叉树)
          • Complete Binary Tree (完全二叉树)
          • Full Binary Tree (完满二叉树)
          • Perfect Binary Tree (完美二叉树)
              • Double Hashing
              • Linear Probing
            • Hash Collision
            • Avalanche effect (雪崩效应)
            • Collision resistance (抗碰撞性)
            • Hash Function
          • Hash Map
          • Circular Linked List
          • Double Linked List
          • Linked List
          • Single Linked List
        • Abstract Data Type (ADT)
        • Data Structure
        • Deque
        • Graph
        • Queue (FIFO)
        • Stack
        • Square Bracket vs Curly Bracket
        • Sub-Sequence
      • Closure
      • Currying
      • First-class Functions
      • Pure Functions
        • Primitive and Object Conversion
        • Wrapper Class Datatype
      • Java
      • Java Sorting
      • java.util
        • DNS
        • DNS Query
        • DNS Record
        • DNS Server
        • Hierarchical Structure
        • Hostname
        • IP Address
          • HTTP 1.1
          • HTTP 1.1 Pipelining
          • Keep-Alive (持久连接)
          • HTTP 1.2
          • HTTP 1.2 Server Push
          • HTTP Frame
          • HTTP Multiplexing (多路复用)
          • HTTP Stream
          • HTTP 1.3
          • QUIC
        • Head-of-Line Blocking (队头堵塞)
        • HTTP
        • HTTP 1.0
        • HTTP Headers
        • HTTP Request
        • HTTP Request Methods
        • HTTP Response
        • HTTP Status Code
        • Bandwidth
        • CSMA
        • Ethernet
        • Exponential Backoff
        • MAC Address
        • Access Network
        • Communication Links
        • Digital Subscriber Line (DSL)
        • Host
        • Internet
        • ISP
        • Link-layer switches
        • Multicast 多播
        • Network Object
        • Network Operations
        • Network Port
        • Network Relay
        • Network Route
        • Packet
        • Packet Switches
        • Port Forwarding
        • REST API
        • Routers
        • Socket Inteface
        • Tethering
        • Transmission rate
        • TTL
        • URL
          • TCP
          • TCP Connection
          • TCP Handshake
            • Certificate Authority (CA)
            • Digital Signature
            • X.509 Certificate
          • TLS (Transport Layer Security)
          • TLS 1.2
        • UDP
      • Address Resolution Protocol
      • Home Access
      • Internet Protocol (IP)
      • Network
      • Network Protocol
      • OSI
        • Divisibility (可除性)
        • Factor
        • GCD
        • Modulo
        • Prime Number (质数)
      • Integer (整数)
      • Rational Numbers (有理数)
      • Generics
      • Inheritance
      • OOP
      • OOP Compatibility
      • Polymorphism
      • Sub-types
        • Asynchronous Single Threading
        • CPU Cache
        • Memory Management Unit (MMU)
        • Multi-core Chip
        • Multi-processing
        • Multi-Programming
        • Multi-tasking
        • Multi-threading
        • Privilege Level
        • File
        • File System
        • File System Link
        • Inode
        • Pipe (管道)
        • Interrupt Handler
        • Interrupt Vector Table
        • Interrupts (中断)
        • Preemption
        • Signal (Software Interrupt)
        • Trap Interrupt (陷入)
        • Device Controller
        • Direct Memory Access (DMA)
        • IO Bus
        • IO Device
        • Main Memory
        • Memory Address
        • Memory Fragmentation
        • Memory Page
        • Memory Safety
        • Null Safety
        • Page Faults
        • Page Table
        • Segmentation Fault
        • Swap Space
        • Virtual Memory
        • Address Space
        • Context Switch
        • Deadlock (死锁)
        • Inter-Process Communication (IPC)
        • Process (进程)
        • Process Control Block (PCB)
        • Process Hierarchy
        • Process Management
        • Process Operations
        • Timeslice
        • Barrier (屏障)
        • Condition Variable (条件变量)
        • Mutex (互斥体)
        • Race Condition (竞态条件)
        • Semaphore (信号量)
        • Spinlock (自旋锁)
        • Synchronization (同步)
        • Library Call
        • System Call (系统调用)
        • High-performance Computing
        • Timer Chip
        • User
        • Hybrid Threads
        • Kernel Thread
        • Producer Consumer Problem
        • Thread
        • Thread Pool
        • User Thread
        • Init System
        • Linux
        • POSIX
        • Unix
      • Computer Booting
      • Kernel
      • Kernel Space
      • OS
      • OS System Program
      • User Space
      • Probability Problems
      • Probability Problem
      • Problem Solving
      • Argument Pointer
      • Datatype
      • Expression
      • Function
      • Immutable
      • Pointer
      • Statement
      • String Interpolation
      • Syntactic Scope
      • Important Rust Syntax
      • Rust Borrowing
      • Rust Ownership
      • Rust Pending Items
      • Rust Toolset
          • Authentication
          • Cookie
          • HTTP Basic Authentication
          • JWT
          • OIDC Authentication
          • Session-Cookie Authentication
          • Single Sign-On (SSO)
          • Token-Based Authentication
          • User Principle Name
          • Authorisation
          • OAuth 2.0
          • Asymmetric Cryptography
          • Hash
          • HMAC (Hash-Based Message Authentication Code)
          • Salting
          • Symmetric Encryption
          • Ciphertext (密文)
          • Key's Randomart Image
          • Shift-left Security
        • Common Security Attacks
        • DevSecOps
        • Dynamic Secrets
        • Encryption
        • PEM (Privacy Enhanced Mail)
        • Public Key Infrastructure
            • Mono Repos
            • Monorepo Build System
            • nx
          • Code for Change
          • Coding Convention
          • Software Development Practices
          • Type System
            • Alert
            • Sampling
            • Span
            • Trace
          • Application Performance Monitoring (APM)
          • Real User Monitoring
          • Liskov Substitution Principle (LSP)
          • Middleware (中间件)
          • Shim (垫片)
          • Tree Shaking (摇树)
          • Type Inference (类型推断)
        • Abstraction (抽象)
        • Code Editor Setup
        • Code Quality Assurance Tools
        • Language Processors
          • Event-Driven Architecture
          • Hub and Spoke Architecture
          • Micro-servercies Architecture
          • Cache Server
          • CDN
          • Compute Server
          • Message Queue (消息队列)
          • Multi Data Center Setup
          • Database Replication (数据库复制)
          • Database Scaling
          • Application Load Balancer
          • Load Balancer
          • Network Load Balancer
          • Monitoring
          • Forward Proxy (正向代理)
          • Reverse Proxy (反向代理)
        • Latency Number
        • System Design
        • Aggregation
        • Data
        • Idempotent
        • Memory Alignment
        • Null-terminated
        • Operation
        • Parity Bit (奇偶校验码)
          • Datadog
          • Datadog ddtrace
          • Datadog Integration
          • Datadog Lambda Monitoring
          • Datadog RUM
          • Mastering Datadog APM in ECS Fargate: A Comprehensive Guide for Seamless AWS Integration
                • CMD
                • ENTRYPOINT
                • ENTRYPOINT + CMD
              • Dockerfile
            • Docker Container
            • Docker Image
              • Docker EXEC Command Flags
              • Docker RUN Command Flags
            • Common Docker Commands
            • Docker Compose
            • Docker Bridge Network
            • Docker Host Network
            • Docker Network
            • Docker Null Network
            • Docker Host Volume
            • Docker Volume
          • Docker
          • Docker Build
          • Docker Build Cache
          • Docker Installation
          • Useful Docker Images
          • Git
          • Git Hook
          • Git Rebase
          • Confused About Setting Up a JavaScript Project? This Guide Has Your Back!
          • JS Weird Syntax
          • Node.js
        • Unleash the Python Kraken Pyenv and Poetry - The Holy Grail of Python Project Setups
      •  My Macos Setup
    Home

    ❯

    Tools

    ❯

    Docker

    ❯

    Docker Network

    ❯

    Docker Bridge Network

    Docker Bridge Network

    Created:  Aug 13, 2023
    Modified: Aug 13, 2023
    72 words, 1 min read

    • #docker
    Xinyang YU

    When we create a Docker Container inside this Network


    Network Interface is created on the Host Machine, master is docker0

    Network Interface 7

    Network Interface is created on the Docker Container

    Network Interface 6

    Virtual Ethernet that connects the 2 Network Interface above

    Network Communication


    Note

    Docker Bridge Network doesn't support local DNS Resolution (Unable to communicate from one container to another container by hostname, same for host machine to containers)

    Commands


    • When we create a Docker Container inside this Network
    • Network Communication
    • Commands

    Backlinks

    • Docker Compose
    • Docker Bridge Network
    • Docker Network

    Graph View


    Created by Xinyang YU, © 2023 - 2024

    • GitHub