question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker module >=6 doesn't implement version_info

See original GitHub issue

When 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:closed
  • Created a year ago
  • Reactions:4
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mkespercommented, Aug 30, 2022

@shahedex @LeeXN I know you can work around the issue but still that’s a workaround, not a longtime solution.

0reactions
goldmanncommented, Oct 26, 2022

Should be fixed with #216, thank you!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found