services.x-docker_opts

Syntax Reference

services:
  serviceA:
    image: 012345678912.dkr.region.amazonaws.com/repo:tag
    x-docker_opts:
      InterpolateWithDigest: bool

InterpolateWithDigest

Warning

For this functionality to work, you must be running it on a machine with access to docker API engine.

When the image comes from docker_opts, we can very easily identify the image digest (sha256) for it and use that instead of a tag. However not as human user friendly, this allows to always point to the same image regardless of tags change.

Type

Boolean

Default

False

Required

False