Traceback (most recent call last):
File "/root/.pyenv/versions/3.9.16/bin/docker-compose", line 8, in
sys.exit(main())
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/main.py", line 81, in main
command_func()
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/main.py", line 200, in perform_command
project = project_from_options('.', options)
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/command.py", line 152, in get_project
client = get_client(
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/compose/cli/docker_client.py", line 124, in docker_client
kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
我在CentOS上安装了依赖以及docker,拉取完成项目后, 使用以下命令启动服务
docker-compose up -d
然后报类型错误 ![Uploading 00000.jpg…]()