What format does Docker Compose file support?
Experience Level: Junior
Tags: Docker Compose
Answer
You can use either yaml or JSON format.
Related Docker Compose job interview questions
How do you mount a volume to your Docker Compose service?
Docker Compose JuniorWhy would you use Docker Compose instead of Docker?
Docker Compose JuniorHow can you run multiple copies of Docker Compose file on the same host side by side?
Docker Compose JuniorWhat is a difference between docker compose stop and docker compose down?
Docker Compose JuniorHow do you display running processes of services that run as part of Docker Compose?
Docker Compose Junior