Question · NestJS course · Module 12: Containers and CI/CD

Review: Volumes in Docker Compose

What are volumes used for in Docker Compose?

Answer options

  • Limiting CPU usage by the container
  • Encrypting network communication
  • Automatic service scaling
  • Storing persistent data outside the container

You can check the correct answer by solving this task in the CodeWorlds game.