# Files missing inside host mounted volume

**URL:** <https://forums.docker.com/t/files-missing-inside-host-mounted-volume/16721>\
**Category:** Docker Desktop\
**Created:** [June 27, 2016, 11:05am UTC](https://forums.docker.com/t/files-missing-inside-host-mounted-volume/16721 "2016-06-27T11:05:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carn1x](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/carn1x/32/11269_2.png) [@carn1x](https://forums.docker.com/u/carn1x)\
**Post date:** [June 27, 2016, 11:05am UTC](https://forums.docker.com/t/files-missing-inside-host-mounted-volume/16721/1 "2016-06-27T11:05:49Z")

</div>

**Expected behavior**

All files on the hosts filesystem are accessible when mounted to a container.

**Actual behavior**

Some files on the hosts filesystem are not accessible when mounted to a container.

**Information**

```auto
$ docker version
Client:
 Version: 1.12.0-rc2
 API version: 1.24
 Go version: go1.6.2
 Git commit: 906eacd
 Built: Fri Jun 17 20:35:33 2016
 OS/Arch: darwin/amd64
 Experimental: true

Server:
 Version: 1.12.0-rc2
 API version: 1.24
 Go version: go1.6.2
 Git commit: a7119de
 Built: Fri Jun 17 22:09:20 2016
 OS/Arch: linux/amd64
 Experimental: true

```

1. Running this command:

```auto
$ docker run --rm -it --volume $(pwd)/..:/var/www/htdocs --hostname memcached myproject-memcached -c bash

```

should provide access to all project files within the container, however a major difference between the following, on the host:

```auto
$ find .

```

compared to what should be an exact matching output from within the container, with:

```auto
$ find /var/www/htdocs/docker

```

results in the minor difference of:

```auto
Comparing: host.txt, container.txt
89,90d88
< ./memcached/_memcached.sh
< ./memcached/Dockerfile
99,100d96
< ./qos-gatekeeper/_gatekeeper.sh
< ./qos-gatekeeper/Dockerfile

```

Potentially significantly, these files may or may not exist when the Docker for Beta application is started as they exist on a Git feature branch currently, and so if I switch branches these files may disappear. There are however other files unique to this Git branch which are unaffected.

**Steps to workaround**

Restart Docker for Mac application, and start the container.
