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

0 votes
Jul 2 in Docker by Namik
• 1,200 points
32 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 by Sirajul
• 25,420 points

Related Questions In Docker

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 in Docker by Sirajul
• 25,420 points
50 views
0 votes
1 answer

Is it possible to start a shell session in a running container (without ssh)

use this docker exec -it "id of running ...READ MORE

answered Jul 25, 2018 in Docker by Kalgi
• 40,460 points
46 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,520 points
156 views
0 votes
1 answer