Docker module >=6 doesn't implement version_info
See original GitHub issueWhen using docker module 6.0.0 from pypi, docker-squash fails:
2022-08-25 06:21:47,359 root ERROR module 'docker' has no attribute 'version_info' Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/docker_squash/image.py", line 357, in _save_image if docker.version_info[0] < 3: AttributeError: module 'docker' has no attribute 'version_info'
I opened an issue upstream but maybe docker-squash needs to guard against broken versions, too.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Can't run/start any docker container after update #597 - GitHub
Any Docker Container doesn't start after system update ... Client: Version: 18.09.2 API version: 1.39 Go version: go1.10.6 Git commit: ...
Read more >Wrong Python version running in Docker - Stack Overflow
As an update, I was able to "fix" this by completely wiping the image, container, restarting my computer, Docker, etc. and rebuilding. Also,...
Read more >Doesn't work when host is a virtual machine - DockerEngine
I'm trying to run docker:rc-dind-rootless on Alpine Linux 3.16 (running inside a VirtualBox VM) I've followed the steps on the documentation ...
Read more >Build your Python image - Docker Documentation
Therefore, instead of creating our own base image, we'll use the official ... At this point, we have an image that is based...
Read more >Faster Multi-Platform Builds: Dockerfile Cross-Compilation ...
In the next version of Docker CLI, the docker build command will also ... For this stage, we will not use --platform in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@shahedex @LeeXN I know you can work around the issue but still that’s a workaround, not a longtime solution.
Should be fixed with #216, thank you!