When the DockerStopContainerCommand is instantiated and run, it uses containerName to remove the container that ostensibly is in the way.
However, it must use the containerOccupyingPort to determine the container that must be removed.
This code can be found in the constructor of DockerStopContainerCommand.