enum DockerVolumeConsistency
Language | Type name |
---|---|
.NET | Amazon.CDK.DockerVolumeConsistency |
Go | github.com/aws/aws-cdk-go/awscdk/v2#DockerVolumeConsistency |
Java | software.amazon.awscdk.DockerVolumeConsistency |
Python | aws_cdk.DockerVolumeConsistency |
TypeScript (source) | aws-cdk-lib » DockerVolumeConsistency |
Supported Docker volume consistency types.
Only valid on macOS due to the way file storage works on Mac
Members
Name | Description |
---|---|
CONSISTENT | Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes. |
DELEGATED | Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine. |
CACHED | Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container. |
CONSISTENT
Read/write operations inside the Docker container are applied immediately on the mounted host machine volumes.
DELEGATED
Read/write operations on mounted Docker volumes are first written inside the container and then synchronized to the host machine.
CACHED
Read/write operations on mounted Docker volumes are first applied on the host machine and then synchronized to the container.