Is it possible to use JSON instead of YAML for docker-compose file

0 votes
Jul 2, 2019 in Docker by Namik
• 1,230 points
6,053 views

1 answer to this question.

0 votes

You can use JSON instead of YAML for Docker compose file. So when you are using the JSON file for composing then you have to specify the filename with the following command:

docker-compose -f docker-compose.json up
answered Jul 2, 2019 by Sirajul
• 59,190 points

Related Questions In Docker

0 votes
1 answer

With docker compose, which parameter should I use to run a yaml file ?

Yep. Wrong command. $ docker-compose build And then run ...READ MORE

answered Oct 27, 2020 in Docker by Justin
1,574 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible to spin-up a docker host on a cloud platform?

Yes, It is definitely possible to spin ...READ MORE

answered Jul 4, 2019 in Docker by Sirajul
• 59,190 points
1,582 views
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
7,728 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP