volumes property

Map<String, ({String bind, String mode})> get volumes

Volume bind mounts: host path → (bind: containerPath, mode: 'ro'|'rw').

Read-only view. Use withVolumeMapping to add entries.

Implementation

Map<String, ({String bind, String mode})> get volumes =>
    Map.unmodifiable(_volumes);