Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How can we use a JSON file for Docker compose instead of a YAML file?
Home
Docker
How can we use a JSON file for Docker compose instead of a YAML file?
0
votes
asked
Jan 24
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
by
AdilsonLima
To do so, we need to execute the following command:
$ docker-compose -f docker-compose.json up
Related questions
0
votes
Q: Can I use JSON instead of YAML for my compose file in Docker?
asked
Aug 29, 2023
in
Docker
by
JackTerrance
docker-interview-questions-answers
0
votes
Q: What changes are expected in your docker compose file while moving it to production?
asked
Aug 29, 2023
in
Docker
by
JackTerrance
docker-interview-questions-answers
0
votes
Q: How to use JSON instead of YAML compose file in Devops?
asked
Apr 5, 2020
in
JSON
by
ryan harris
#devops-uaml
#devops-json
0
votes
Q: Will docker compose wait for the current container to be ready to move to the running of the next service?
asked
Aug 29, 2023
in
Docker
by
JackTerrance
docker-interview-questions-answers
0
votes
Q: Is it a good practice to run Docker compose in production?
asked
Aug 29, 2023
in
Docker
by
JackTerrance
docker-interview-questions-answers
0
votes
Q: What is the Docker Compose?
asked
Jan 21
in
Docker
by
AdilsonLima
docker-interview-questions-answers
0
votes
Q: Why should we use Docker?
asked
Jan 21
in
Docker
by
AdilsonLima
docker-interview-questions-answers
0
votes
Q: How can we identify the status of a container in Docker?
asked
Jan 25
in
Docker
by
GeorgeBell
docker-interview-questions-answers
0
votes
Q: How can we run commands inside Docker containers?
asked
Jan 25
in
Docker
by
GeorgeBell
docker-interview-questions-answers
0
votes
Q: What can you use Docker for?
asked
Jan 21
in
Docker
by
AdilsonLima
docker-interview-questions-answers
...