Skip to content

Commit dffa5d6

Browse files
committed
Dropped hyphen in bind mount where appropriate
Signed-off-by: Christophe Vidal <kriss@krizalys.com>
1 parent 0e0b853 commit dffa5d6

File tree

13 files changed

+18
-18
lines changed

13 files changed

+18
-18
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,7 +2284,7 @@ by another client (#15489)
22842284
- Use mock for search tests.
22852285
- Update to double-dash everywhere.
22862286
- Move .dockerenv parsing to lxc driver.
2287-
- Move all bind-mounts in the container inside the namespace.
2287+
- Move all bind mounts in the container inside the namespace.
22882288
- Don't use separate bind mount for container.
22892289
- Always symlink /dev/ptmx for libcontainer.
22902290
- Don't kill by pid for other drivers.
@@ -2719,7 +2719,7 @@ With the ongoing changes to the networking and execution subsystems of docker te
27192719
+ Implement `docker log -f` to stream logs
27202720
+ Add env variable to disable kernel version warning
27212721
+ Add -format to `docker inspect`
2722-
+ Support bind-mount for files
2722+
+ Support bind mount for files
27232723
- Fix bridge creation on RHEL
27242724
- Fix image size calculation
27252725
- Make sure iptables are called even if the bridge already exists

Dockerfile.windows

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@
132132
# Important notes:
133133
# ---------------
134134
#
135-
# Don't attempt to use a bind-mount to pass a local directory as the bundles target
136-
# directory. It does not work (golang attempts for follow a mapped folder incorrectly).
135+
# Don't attempt to use a bind mount to pass a local directory as the bundles target
136+
# directory. It does not work (golang attempts for follow a mapped folder incorrectly).
137137
# Instead, use docker cp as per the example.
138138
#
139139
# go.zip is not removed from the image as it is used by the Windows CI servers

api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ definitions:
577577
A list of volume bindings for this container. Each volume binding is a string in one of these forms:
578578
579579
- `host-src:container-dest` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path.
580-
- `host-src:container-dest:ro` to make the bind-mount read-only inside the container. Both `host-src`, and `container-dest` must be an _absolute_ path.
580+
- `host-src:container-dest:ro` to make the bind mount read-only inside the container. Both `host-src`, and `container-dest` must be an _absolute_ path.
581581
- `volume-name:container-dest` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path.
582582
- `volume-name:container-dest:ro` to mount the volume read-only inside the container. `container-dest` must be an _absolute_ path.
583583
items:

api/types/mount/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ var Propagations = []Propagation{
6767
type Consistency string
6868

6969
const (
70-
// ConsistencyFull guarantees bind-mount-like consistency
70+
// ConsistencyFull guarantees bind mount-like consistency
7171
ConsistencyFull Consistency = "consistent"
7272
// ConsistencyCached mounts can cache read data and FS structure
7373
ConsistencyCached Consistency = "cached"

docs/api/v1.18.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ Create a container
232232
- **ExposedPorts** - An object mapping ports to an empty object in the form of:
233233
`"ExposedPorts": { "<port>/<tcp|udp>: {}" }`
234234
- **HostConfig**
235-
- **Binds** – A list of bind-mounts for this container. Each item is a string in one of these forms:
235+
- **Binds** – A list of bind mounts for this container. Each item is a string in one of these forms:
236236
+ `host-src:container-dest` to bind-mount a host path into the
237237
container. Both `host-src`, and `container-dest` must be an
238238
_absolute_ path.
239-
+ `host-src:container-dest:ro` to make the bind-mount read-only
239+
+ `host-src:container-dest:ro` to make the bind mount read-only
240240
inside the container. Both `host-src`, and `container-dest` must be
241241
an _absolute_ path.
242242
- **Links** - A list of links for the container. Each link entry should be

docs/api/v1.19.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ Create a container
239239
- **ExposedPorts** - An object mapping ports to an empty object in the form of:
240240
`"ExposedPorts": { "<port>/<tcp|udp>: {}" }`
241241
- **HostConfig**
242-
- **Binds** – A list of bind-mounts for this container. Each item is a string in one of these forms:
242+
- **Binds** – A list of bind mounts for this container. Each item is a string in one of these forms:
243243
+ `host-src:container-dest` to bind-mount a host path into the
244244
container. Both `host-src`, and `container-dest` must be an
245245
_absolute_ path.
246-
+ `host-src:container-dest:ro` to make the bind-mount read-only
246+
+ `host-src:container-dest:ro` to make the bind mount read-only
247247
inside the container. Both `host-src`, and `container-dest` must be
248248
an _absolute_ path.
249249
- **Links** - A list of links for the container. Each link entry should be

docs/api/v1.20.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ Create a container
239239
- **ExposedPorts** - An object mapping ports to an empty object in the form of:
240240
`"ExposedPorts": { "<port>/<tcp|udp>: {}" }`
241241
- **HostConfig**
242-
- **Binds** – A list of bind-mounts for this container. Each item is a string in one of these forms:
242+
- **Binds** – A list of bind mounts for this container. Each item is a string in one of these forms:
243243
+ `host-src:container-dest` to bind-mount a host path into the
244244
container. Both `host-src`, and `container-dest` must be an
245245
_absolute_ path.
246-
+ `host-src:container-dest:ro` to make the bind-mount read-only
246+
+ `host-src:container-dest:ro` to make the bind mount read-only
247247
inside the container. Both `host-src`, and `container-dest` must be
248248
an _absolute_ path.
249249
- **Links** - A list of links for the container. Each link entry should be

docs/api/v1.21.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Create a container
255255
+ `host-src:container-dest` to bind-mount a host path into the
256256
container. Both `host-src`, and `container-dest` must be an
257257
_absolute_ path.
258-
+ `host-src:container-dest:ro` to make the bind-mount read-only
258+
+ `host-src:container-dest:ro` to make the bind mount read-only
259259
inside the container. Both `host-src`, and `container-dest` must be
260260
an _absolute_ path.
261261
+ `volume-name:container-dest` to bind-mount a volume managed by a

docs/api/v1.22.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ Create a container
357357
+ `host-src:container-dest` to bind-mount a host path into the
358358
container. Both `host-src`, and `container-dest` must be an
359359
_absolute_ path.
360-
+ `host-src:container-dest:ro` to make the bind-mount read-only
360+
+ `host-src:container-dest:ro` to make the bind mount read-only
361361
inside the container. Both `host-src`, and `container-dest` must be
362362
an _absolute_ path.
363363
+ `volume-name:container-dest` to bind-mount a volume managed by a

docs/api/v1.23.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Create a container
382382
+ `host-src:container-dest` to bind-mount a host path into the
383383
container. Both `host-src`, and `container-dest` must be an
384384
_absolute_ path.
385-
+ `host-src:container-dest:ro` to make the bind-mount read-only
385+
+ `host-src:container-dest:ro` to make the bind mount read-only
386386
inside the container. Both `host-src`, and `container-dest` must be
387387
an _absolute_ path.
388388
+ `volume-name:container-dest` to bind-mount a volume managed by a

0 commit comments

Comments
 (0)