... | ... | @@ -69,7 +69,7 @@ Once you've pulled a Docker image, you can run within a container. You can think |
|
|
|
|
|
### Mounting Host Directories in Docker containers
|
|
|
|
|
|
You can mount directories from your host machine within your container with the following command. In this example, we want to mount `/tmp/mpoint` from our host machine to `/app` in the container.
|
|
|
You can mount directories from your host machine within your container with the `-v [HOSTDIR]:[CONTAINERDIR]` flag. In this example, we want to mount `/tmp/mpoint` from our host machine to `/app` in the container.
|
|
|
|
|
|
```bash
|
|
|
docker run \
|
... | ... | |