Running a Docker image on a VM
Written by
Updated at August 6, 2026
Docker is an open-source platform for developing, shipping, and running applications. Docker allows you to separate your app from its dependencies in a container, which you can use to run the application in any compatible environment.
In this tutorial, you will learn how to run a Docker image on a Yandex Compute Cloud VM using a Yandex Container Registry registry.
You can run a Docker image on a VM using these tools:
- Management console, CLI, and API: Use one of these methods to create your infrastructure step by step.
- Terraform: Streamline creating and managing your resources with the infrastructure as code (IaC) approach. Download a Terraform configuration example and deploy your infrastructure using the Yandex Cloud Terraform provider.