Login
Remember
Register
Ask a Question
How can we use a JSON file for Docker compose instead of a YAML file?
0
votes
asked
Jan 24, 2024
in
Docker
by
AdilsonLima
How can we use a JSON file for Docker compose instead of a YAML file?
docker-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2024
by
AdilsonLima
To do so, we need to execute the following command:
$ docker-compose -f docker-compose.json up
...