You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose command in the documentation is using Docker Compose version 1 which is deprecated and replaced by Docker Compose v2 implemented in the sub command docker compose. See migration guide for v2 here.
Trying to follow the documentation to run the container stack with docker results in an error as shown below.
The cause of this is changes made in the underlying docker python API version 7.0.0.
docker-compose 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 "/home/mike/.local/lib/python3.10/site-packages/compose/cli/main.py", line 81, in main
command_func()
File "/home/mike/.local/lib/python3.10/site-packages/compose/cli/main.py", line 200, in perform_command
project = project_from_options('.', options)
File "/home/mike/.local/lib/python3.10/site-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
File "/home/mike/.local/lib/python3.10/site-packages/compose/cli/command.py", line 152, in get_project
client = get_client(
File "/home/mike/.local/lib/python3.10/site-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
File "/home/mike/.local/lib/python3.10/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'
The text was updated successfully, but these errors were encountered:
docker-compose
command in the documentation is using Docker Compose version 1 which is deprecated and replaced by Docker Compose v2 implemented in the sub commanddocker compose
. See migration guide for v2 here.Trying to follow the documentation to run the container stack with docker results in an error as shown below.
The cause of this is changes made in the underlying docker python API version 7.0.0.
The text was updated successfully, but these errors were encountered: