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

...