Skip to content

Glossary: Docker Basics

Bind mount

Also written: bind mounts, :ro, read-only mount, $PWD

A folder on your own computer made visible inside a container, so edits you make show up immediately. Its source must be an absolute path (`"$PWD"` holds the current folder's path), and the `:ro` suffix makes it read-only inside the container.

Where the book teaches it

Related terms

VolumeMount-v (mount)