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
my code:
from io import BytesIO from docker import APIClient dockerfile = ''' # Shared Volume FROM busybox:buildroot-2014.02 VOLUME /data CMD ["/bin/sh"] ''' f = BytesIO(dockerfile.encode('utf-8')) cli = APIClient(version='auto') response = [line for line in cli.build( fileobj=f, rm=True, tag='yourname/volume' )] print(response)
my error DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
The text was updated successfully, but these errors were encountered:
Did you resolve this error? I am facing same error, can you please help me?
Sorry, something went wrong.
I just had the same problem. According to #1998, adding yourself to the docker group is one way resolve this.
docker
how did you solve this problem?
No branches or pull requests
my code:
my error
DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
The text was updated successfully, but these errors were encountered: