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
It seems calling DockerCompose.config now fails with dokcer compose v2.25.0
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/ibrahim/lib/python3.10/site-packages/python_on_whales/components/compose/cli_wrapper.py", line 137, in config
return ComposeConfig(**json.loads(result))
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hello,
It seems calling
DockerCompose.config
now fails with dokcer compose v2.25.0i found a releated issue on docker compose repo
docker/compose#11627
it seems that docker compose config ignore --format arg unless
--no-interpolate
is passed.so
docker compose -f docker-compose.yaml config --format=json
will output yamldocker compose -f docker-compose.yaml config --format=json --no-interpolate
will output jsonThe text was updated successfully, but these errors were encountered: