[Cialug] Docker compose issue

L. V. Lammert lvl at omnitec.net
Thu Jun 13 20:29:55 UTC 2024


Trying to restart a Greenbone Community Edition on a recently updates
OpenSuSE box, .. docker-compose is crashing:

$ docker-compose up
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/compose/cli/main.py", line 81, in
main
    command_func()
  File "/usr/lib/python3.6/site-packages/compose/cli/main.py", line 200,
in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3.6/site-packages/compose/cli/command.py", line 70,
in project_from_options
    enabled_profiles=get_profiles_from_options(options, environment)
  File "/usr/lib/python3.6/site-packages/compose/cli/command.py", line
153, in get_project
    verbose=verbose, version=api_version, context=context,
environment=environment
  File "/usr/lib/python3.6/site-packages/compose/cli/docker_client.py",
line 43, in get_client
    environment=environment, tls_version=get_tls_version(environment)
  File "/usr/lib/python3.6/site-packages/compose/cli/docker_client.py",
line 143, in docker_client
    if not context.is_docker_host():
AttributeError: 'Context' object has no attribute 'is_docker_host'

Appears to be some sort of python issue, but can't find any hints. Don't
suppose anyone can suggest a way to isolate the problem?

	TIA!


More information about the Cialug mailing list