Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to open multiple workspace folder #48

Open
ZT-Alonzo opened this issue Nov 2, 2021 · 1 comment
Open

Failed to open multiple workspace folder #48

ZT-Alonzo opened this issue Nov 2, 2021 · 1 comment

Comments

@ZT-Alonzo
Copy link

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

@korenhe
Copy link

korenhe commented Jul 25, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants