0 votes
in Docker by

Can I use JSON instead of YAML for my compose file in Docker?

1 Answer

0 votes
by

You can use JSON instead of YAML for your compose file, to use JSON file with compose, specify the JSON filename to use, for eg:

$ docker-compose -f docker-compose.json up

Related questions

0 votes
asked Jan 21 in Docker by AdilsonLima
0 votes
asked Aug 29, 2023 in Docker by JackTerrance
...