cli.fail

Practice this fail.

Service names, please.

Docker · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Docker · Beginner

You are in a valid Compose project and need the service names from its resolved configuration. Do not start containers.

Service names, please.

$ ls

compose.yaml

Which command lists configured Compose service names?

3 attempts remaining

Read why this fix works

Service names, please.

docker compose config --services

config --services prints the model’s service names, including services that do not currently have running containers. It is based on the Compose configuration.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result