| Can we use JSON instead of YAML for my compose file in Docker?
Yes, we can use JSON instead of YAML for your compose file. ANd to use the JSON file with compose, you need to specify the JSON filename to use and below is the example:-
$ docker-compose -f docker-compose.json up | | |