Skip to content

Commit

Permalink
Update docker-compose version
Browse files Browse the repository at this point in the history
On bookworm with official docker package I got the follwing message when
building:
ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version
or
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

Upgrading the docker-compose version to 2.4 fix this problem.

Signed-off-by: Corentin LABBE <[email protected]>
  • Loading branch information
montjoie committed Jun 10, 2024
1 parent b4d93d0 commit a808387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lavalab-gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def main():
else:
listen_address = '0.0.0.0'
dockcomp = {}
dockcomp["version"] = "2.0"
dockcomp["version"] = "2.4"
dockcomp["services"] = {}
dockcomposeymlpath = "output/%s/docker-compose.yml" % host
dockcomp["services"][name] = {}
Expand Down

0 comments on commit a808387

Please sign in to comment.