We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python docker don't have permission to initialize Docker class even through user don't need docker actually.
Traceback (most recent call last): File "/home/squ/Prac/linux-kernel-compile-wksp/autokd/main.py", line 5, in <module> from autokd.kdocker import kdocker ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/squ/Prac/linux-kernel-compile-wksp/autokd/autokd/kdocker.py", line 64, in <module> kdocker = Docker() ^^^^^^^^ File "/home/squ/Prac/linux-kernel-compile-wksp/autokd/autokd/kdocker.py", line 23, in __init__ self.client : DockerClient = docker.from_env() ^^^^^^^^^^^^^^^^^ File "/home/squ/.pyenv/versions/3.11.8/lib/python3.11/site-packages/docker/client.py", line 94, in from_env return cls( ^^^^ File "/home/squ/.pyenv/versions/3.11.8/lib/python3.11/site-packages/docker/client.py", line 45, in __init__ self.api = APIClient(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/squ/.pyenv/versions/3.11.8/lib/python3.11/site-packages/docker/api/client.py", line 207, in __init__ self._version = self._retrieve_server_version() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/squ/.pyenv/versions/3.11.8/lib/python3.11/site-packages/docker/api/client.py", line 230, in _retrieve_server_version raise DockerException( docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
python docker don't have permission to initialize Docker class even through user don't need docker actually.
The text was updated successfully, but these errors were encountered: