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

aiidalab-launch <=2022.16 doesn't work with docker 20.10.20 #157

Open
yakutovicha opened this issue Oct 28, 2022 · 4 comments
Open

aiidalab-launch <=2022.16 doesn't work with docker 20.10.20 #157

yakutovicha opened this issue Oct 28, 2022 · 4 comments

Comments

@yakutovicha
Copy link
Member

yakutovicha commented Oct 28, 2022

This issue still requires a more detailed investigation.

An attempt to run aiidalab-launch (<=2022.16) with any sub-command on MacOS gives the following error:

$ aiidalab-launch version

Connecting to docker host...
Unable to communicate with docker on this host. This error usually
indicates that Docker is either not installed on this system, that the
docker service is not started, or that the installation is ill-
configured. Please follow the instructions at
https://docs.docker.com/get-docker/ to install and start docker.
Error: Failed to communicate with Docker client: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
@danielhollas
Copy link
Contributor

Just noting that things work for me on Docker 20.10.12 on Ubuntu 20.04.
Which OS are you on?

@yakutovicha
Copy link
Member Author

Just noting that things work for me on Docker 20.10.12 on Ubuntu 20.04. Which OS are you on?

Both me and @cpignedoli encountered this on Mac.

@unkcpz
Copy link
Member

unkcpz commented Oct 31, 2022

I have docker desktop 4.9.0 (80466) with an engine version v20.10.16, and it's working.
I once encounter the same exception message during the AiiDA tutorial in a linux machine of a student. The issue caused by the docker daemon service started in user mode rather than by the root.

@unkcpz
Copy link
Member

unkcpz commented Oct 31, 2022

I think this is related and should be some options during install the docker. But in the long term, I think we need to make sure the aiidalab-launch can support access the API with the new "--user" mode.

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

3 participants