lsp-docker icon indicating copy to clipboard operation
lsp-docker copied to clipboard

Failed to open multiple workspace folder

Open ZT-Alonzo opened this issue 2 years ago • 1 comments

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'.

ZT-Alonzo avatar Nov 02 '21 06:11 ZT-Alonzo

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.

korenhe avatar Jul 25 '22 02:07 korenhe