docker: Error response from daemon: Conflict.

[已解决]The container name "/demo" is already in use by container... You have to remove (or rename) that container to be able to reuse that name.

由于docker容器已运行,删除和停止对应的docker容器解决问题。

docker rm demo

或者

docker stop demo