执行 docker-compose compose-local.yml 时,出现一堆提示:
Traceback (most recent call last):
File "docker-compose", line 6, in <module>
File "compose/cli/main.py", line 71, in main
File "compose/cli/main.py", line 124, in perform_command
File "compose/cli/command.py", line 41, in project_from_options
File "compose/cli/command.py", line 113, in get_project
File "compose/config/config.py", line 380, in load
File "compose/config/config.py", line 380, in <listcomp>
File "compose/config/config.py", line 513, in process_config_file
File "compose/config/config.py", line 221, in get_service_dicts
File "distutils/version.py", line 46, in __eq__
File "distutils/version.py", line 337, in _cmp
TypeError: '<' not supported between instances of 'str' and 'int'
[83046] Failed to execute script docker-compose
解决办法:
service docker start
原因是:docker没有启动
|