Components deploy pods which are a set of containers. These containers are created based on Docker images. To define the image for a container, simply set the
image value for the container:
components: - name: my-backend containers: - image: dscr.io/username/my-backend-image - image: nginx:1.15
The example above would create a pod with two containers:
- The first container would be create from the image
- The second container would be created from the
nginximage on Docker Hub which is tagged as version
If you are using a private Docker registry, make sure to login to this registry.