You need to make sure that the previous container you launched is killed, before launching a new one that uses the same port.
docker container ls
docker rm -f <container-name/container_id>
or
docker stop <container_id>
다시 docker container ls를 했을 때 해당 포트의 container가 없어야 한다