I am fairly new to docker and docker for mac beta but I am having an issue with mounting a volume using the docker-compose.yml
Expected behavior
Changes in the mounted volume in the host should be seen in the container.
Actual behavior
Doesn’t seem like anything is happening.
Information
OS X: version 10.10.3 (build: 14D136)
Docker.app: version v1.11.1-beta11
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160519-223125.tar.gz
Most specific failure is: No error was detected
Your unique id is: 034538E4-B4B3-4C84-942C-C66119C3B92A
Dockerfile
FROM node:6-onbuild
RUN useradd --user-group --create-home --shell /bin/false app
RUN chown -R app:app /usr/src/*
USER app
docker-compose.yml
db:
image: mongo
ports:
- "27017:27017"
app:
build: .
command: npm run develop:docker
ports:
- "8080:5465"
volumes:
- .:/user/src/app
links:
- db
environment:
MONGODB: mongodb://db:27017/brigadehub-docker
GITHUB_ID: githubid
GITHUB_SECRET: githubsecret