docker-compose up -d時にThe container name "/XXX" is already in use by container.
$ docker-compose up -d
Creating XXX ... error
ERROR: for XXX Cannot create container for service XXX: Conflict. The container name "/XXX" is already in use by container. You have to remove (or rename) that container to be able to reuse that name.
以前に起動したコンテナと名前が重なっているので、以下の通りdocker rmで不要なコンテナを削除して再実行して解決
$ docker rm $(docker ps -aq)