Open ZT-Alonzo opened 3 years ago
same problem.
I have multiple workspace(project) with the same language(clang). lsp-docker works perfect on the first opened project, but failed to bump the container suffix number while docker complains the container is already there.
The only way workaround is to lsp-workspace-shutdown the first project which kills the existing docker container and open(M-x lsp) another project.
when open the second project, lsp-docker tries to start another container with the same name. /usr/bin/docker: Error response from daemon: Conflict. The container name "/lsp-container-2" is already in use by container "47f937f70efa5a6dba94c3ea5fd36a445fbe0c2c8303f6975660a53725a5ff44". You have to remove (or rename) that container to be able to reuse that name. See '/usr/bin/docker run --help'.