Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
SilverLight
Meru Taxi
Other
ASP.NET
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
 Mobile Taxi
 :) Hot Jobs
 
 :) Latest Articles


  

 


Can we use JSON instead of YAML for my compose file in Docker?
Question Posted on 26 Mar 2024

Home >> Tools >> Docker Code >> Can we use JSON instead of YAML for my compose file in Docker?




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
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
How do we delete a stopped container in Docker?
Command to check the version for Docker Client and Docker Server?
How do you get list of all the running containers?
How can you delete an image from the local storage system?
Command to check number of containers running, paused and stopped?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |