Comment on 2 docker containers on same port?

<- View Parent
breadsmasher@lemmy.world ⁨11⁩ ⁨months⁩ ago

You can also map different ports to the container. For sake of argument lets say qtorrent had a fixed port you cannot change, that’s just what the application listens to. You can then map a different container port to that application port.

tldr, OP, you can’t have two containers in docker on the same container port

source
Sort:hotnewtop