Getting TypeError while calling docker.from_env() in v3.1.2
See original GitHub issueThere is a problem with the just-released version 3.1.2:
$ pip list docker | grep docker
docker (3.1.2)
$ python -c 'import docker; docker.from_env()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/.../env/lib/python2.7/site-packages/docker/client.py", line 81, in from_env
**kwargs_from_env(**kwargs))
File "/Users/.../env/lib/python2.7/site-packages/docker/client.py", line 38, in __init__
self.api = APIClient(*args, **kwargs)
File "/Users/.../env/lib/python2.7/site-packages/docker/api/client.py", line 110, in __init__
config_dict=self._general_configs
TypeError: load_config() got an unexpected keyword argument 'config_dict'
exit code 1
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:19
Top Results From Across the Web
Examples using the Docker Engine SDKs and Docker API
Examples on how to perform a given Docker operation using the Go and Python SDKs and the HTTP API using curl.
Read more >docker-py error when attempting to get a list of containers
I have received this same error on the docker:stable container and on a server running Ubuntu 18.04. This is an example of how...
Read more >Changelog
This change aligns with how the cy.visit() command generates urls with query parameters. Addressed in #20302. Features: Added a new configuration option called...
Read more >Docker SDK for Python - Read the Docs
A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps –...
Read more >Changelog — Airflow Documentation
Adds airflow as viable docker command in official image (#12878) ... [AIRFLOW-6821] Success callback not called when task marked as success ...
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 FreeTop 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
Top GitHub Comments
Alright, I somehow fixed it by doing
This bug is shown again in 3.1.4? Docker version 17.12.0-ce, build c97c6d6