clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

40480 - docker-compose fails with TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version' #3007

Open phedders opened 9 months ago

phedders commented 9 months ago

In 40480 I cannot run docker-compose with down/up

Traceback (most recent call last): File "/usr/bin/docker-compose", line 33, in <module> sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/compose/cli/main.py", line 81, in main command_func() File "/usr/lib/python3.12/site-packages/compose/cli/main.py", line 200, in perform_command project = project_from_options('.', options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/compose/cli/command.py", line 60, in project_from_options return get_project( ^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/compose/cli/command.py", line 152, in get_project client = get_client( ^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/compose/cli/docker_client.py", line 41, in get_client client = docker_client( ^^^^^^^^^^^^^^ File "/usr/lib/python3.12/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'

Reverting to 40470 fixes it (until I get auto upgraded again!)

nobbysheep commented 9 months ago

+1 .. have also downgraded via sudo swupd verify --fix -m 40470 --picky

lkmikkel commented 9 months ago

Seems docker-compose has stopped receiving updates. Compose v2 has replaced it. https://docs.docker.com/compose/install/linux/#install-the-plugin-manually

nobbysheep commented 9 months ago

So .. manual install or will this be sorted in up and coming update?

puneetse commented 8 months ago

The standalone docker-compose also works as a temporary workaround: https://docs.docker.com/compose/install/standalone/

lixiaodong commented 8 months ago

+1 .. have also downgraded via sudo swupd verify --fix -m 40470 --picky

ubuntu system cant install swupd command.

lixiaodong commented 8 months ago

Seems docker-compose has stopped receiving updates. Compose v2 has replaced it. https://docs.docker.com/compose/install/linux/#install-the-plugin-manually

i fix it by install the plugin manually. but this document it's not all right . 1:download the command line executable file wget https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 2.rename it to docker-compose mv docker-compose-linux-x86_64 docker-compose 3.then copy it to /usr/bin/docker-compose cp docker-compose /usr/bin/docker-compose

hope this steps helps you ,bro.

fenrus75 commented 8 months ago

sorry for the delay -- we're a bit on a skeleton crew during the holidays

for now I've downgraded the docker python package back to what it was in 40470 (it got updated in 480)

Nurlan199206 commented 6 months ago

@lixiaodong thank you! it's works

paccoe commented 3 months ago

It worked the first time.. later i remove the container and start up again and sadly the same error than previously. Thanks anyway.