SaibaTV
(Tobias Lorenz)
September 16, 2021, 3:10pm
1
Hello,
I have CheckMK running in a Docker Container and Im trying to get the Monitoring data for all my Containers. I installed the Docker Agent with the Agent Bakery of the Enterprise Free Version.
In the Agent Output i get the following error:
I couldn’t find a soulution with google or the Forum.
Hopefully someone can help me.
Thanks in advance
perhaps you have installed both docker
and docker-py
which is not supported?
opened 02:14PM - 20 Feb 18 UTC
closed 02:47PM - 20 Mar 18 UTC
kind/question
After upgrading _docker_ to _Server Version: 17.12.0-ce_ and _docker-py_ to 3.0.… 1
Getting error:
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.7/site-packages/docker/client.py", line 81, in from_env
> **kwargs_from_env(**kwargs))
> File "/usr/lib/python2.7/site-packages/docker/client.py", line 38, in __init__
> self.api = APIClient(*args, **kwargs)
> File "/usr/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'
When using simple call
```
import docker
c = docker.from_env()
```
Is it a known bug?
What version of _docker-py_ is compatible with _docker17.12.0-ce_ ?
Regards
P.S. downgrading to _docker-py2.7_ solves the issue
system
(system)
Closed
September 30, 2022, 9:47am
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.