❔ Docker

How do you map ports in docker & docker compose
9 Replies
cap5lut
cap5lut16mo ago
Docker Documentation
Container networking
How networking works from the container's point of view
cap5lut
cap5lut16mo ago
Docker Documentation
Networking in Compose
How Compose sets up networking between containers
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
with a file structure that looks like this
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
this is one docker file
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
this is the second
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
why does this docker compose not map ports correctly?
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
right now it just maps where ever it likes
𝘒𝘪𝘳𝘢
𝘒𝘪𝘳𝘢16mo ago
here is logs
Accord
Accord16mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.