🌐 Network Configuration

Configure network settings including proxy (applied globally to both stages), package repository mirrors, and port mappings for your container.

🔄 Proxy Configuration
Use HTTP Proxy
Enable proxy globally for both stages
📦 APT Repository Mirror
Use Custom APT Mirror
Use a different repository mirror for faster package downloads
🔌 Additional Port Mappings
Configure Additional Port Mappings
Map additional ports from host to container (SSH port is already configured)
Format: host_port:container_port or host_range:container_range
Examples
• 8080:80 - Map host port 8080 to container port 80
• 3000:3000 - Map port 3000 to same port
• 100-200:300-400 - Map port range
Current Port Mappings
2222:22 (SSH)
Read-only
8080:80
3000:3000
🔗 Network Configuration Summary
# Docker run command with network configuration
docker run -d \
--name my-awesome-project \
-p 2222:22 \
-p 8080:80 \
-p 3000:3000 \
my-awesome-project:stage-2
# Access services:
# SSH: ssh -p 2222 me@localhost
# Web: http://localhost:8080
# App: http://localhost:3000