Skip to content

Commit

Permalink
Included npipe to documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Olli Janatuinen <[email protected]>
  • Loading branch information
olljanat committed Sep 26, 2018
1 parent 7187843 commit e93cc37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compose/compose-file/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ should always begin with `.` or `..`.
The long form syntax allows the configuration of additional fields that can't be
expressed in the short form.

- `type`: the mount type `volume`, `bind` or `tmpfs`
- `type`: the mount type `volume`, `bind`, `tmpfs` or `npipe`
- `source`: the source of the mount, a path on the host for a bind mount, or the
name of a volume defined in the
[top-level `volumes` key](#volume-configuration-reference). Not applicable for a tmpfs mount.
Expand Down
5 changes: 5 additions & 0 deletions storage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ container layer. This means that:
Docker has two options for containers to store files in the host machine, so
that the files are persisted even after the container stops: _volumes_, and
_bind mounts_. If you're running Docker on Linux you can also use a _tmpfs mount_.
If you're running Docker on Windows you can also use a _named pipes_.

Keep reading for more information about these two ways of persisting data.

Expand Down Expand Up @@ -100,6 +101,10 @@ mounts is to think about where the data lives on the Docker host.
information. For instance, internally, swarm services use `tmpfs` mounts to
mount [secrets](/engine/swarm/secrets.md) into a service's containers.

- **[names pipes](https://docs.microsoft.com/en-us/windows/desktop/ipc/named-pipes)**: A `npipe`
mount can be used for communication between the Docker host and a container. Common use case is
run 3rd party tool inside of container and connect to Docker Engine API using named pipe.

Bind mounts and volumes can both mounted into containers using the `-v` or
`--volume` flag, but the syntax for each is slightly different. For `tmpfs`
mounts, you can use the `--tmpfs` flag. However, in Docker 17.06 and higher,
Expand Down

0 comments on commit e93cc37

Please sign in to comment.