You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dda/env/dev/types/linux_container.py
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -76,9 +76,9 @@ class LinuxContainerConfig(DeveloperEnvironmentConfig):
76
76
Additional host directories to be mounted into the dev env. This option may be supplied multiple
77
77
times, and has the same syntax as the `-v/--volume` flag of `docker run`. Examples:
78
78
79
-
- `./some-repo:/root/repos/some-repo` (bind mount from relative path on host to container)
80
-
- `/tmp/some-location:/location:ro` (bind mount from absolute path on host to container with read-only flag)
81
-
- `~/projects:/root/projects:ro` (bind mount from absolute path on host to container with read-only flag)
79
+
- `./some-repo:/root/repos/some-repo`
80
+
- `/tmp/some-location:/location:ro`
81
+
- `~/projects:/root/projects:ro`
82
82
83
83
84
84
> **WARNING:**
@@ -103,11 +103,9 @@ class LinuxContainerConfig(DeveloperEnvironmentConfig):
103
103
Additional mounts to be added to the dev env. These can be either bind mounts from the host or Docker volume mounts.
104
104
This option may be supplied multiple times, and has the same syntax as the `-m/--mount` flag of `docker run`. Examples:
105
105
106
-
- `type=bind,src=/tmp/some-location,dst=/location` (bind mount from absolute path on host to container)
107
-
- `type=bind,src=./some-location,dst=/location` (bind mount from relative path on host to container)
108
-
- `type=volume,src=some-volume,dst=/location` (volume mount from named volume to container)
109
-
- `type=bind,src=/tmp/some-location,dst=/location,ro` (bind mount from absolute path on host to container with read-only flag)
110
-
- `type=bind,src=/tmp/some-location,dst=/location,bind-propagation=rslave` (bind mount from absolute path on host to container with bind propagation flag)
0 commit comments