Home > other >  Just started to play docker, configuration docker - compose an error, please stop to look at and fol
Just started to play docker, configuration docker - compose an error, please stop to look at and fol

Time:10-21

[root @ cent7 - tset my - test - Dockerfile] # docker - compose up
Traceback (the most recent call last) :
The File "/usr/bin/docker - compose", line 11, the in & lt; module>
Sys. Exit (the main ())
The File "/usr/lib/python2.7/site - packages/compose/cli/main py", line 71, the main in
The command ()
The File "/usr/lib/python2.7/site - packages/compose/cli/main py", line 124, in perform_command
Project=project_from_options ('. ', the options)
The File "/usr/lib/python2.7/site - packages/compose/cli command. Py", line 41, in project_from_options
Compatibility=options. The get (' - compatibility),
The File "/usr/lib/python2.7/site - packages/compose/cli command. Py", line 121, in get_project
Host=host, environment=environment
The File "/usr/lib/python2.7/site - packages/compose/cli command. Py", line 92, in get_client
The environment=environment, tls_version=get_tls_version (environment)
The File "/usr/lib/python2.7/site - packages/compose/cli/docker_client py", line 120, in docker_client
The client=APIClient (* * kwargs)
The 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'

Python docker API error inside!!!! You have such problems?
Docker - compose ps will report the same error


His version is the
# docker - compose - version
Docker - compose version 1.21.2, build a133471
Also ask Daniel to help!!!!!

CodePudding user response:

Uninstalling docker, docker - compose & amp; Docker - py and then installing docker and docker - compose

Reference: https://github.com/docker/compose/issues/6339
  • Related