Tagged articles
1 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Nov 15, 2022 · Cloud Native

Easily Add or Modify Docker Container Port Mappings on macOS

Learn step‑by‑step how to expose new ports or modify existing ones for Docker containers on macOS, including using the -p flag during container creation, editing hostconfig.json and config files inside the Docker VM, and restarting Docker to apply changes.

Container ConfigurationDockerHostconfig
0 likes · 6 min read
Easily Add or Modify Docker Container Port Mappings on macOS