-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker-Compose not Mounting Volumes #5037
Comments
|
Also seeing #1 using docker for windows. |
I'm also seeing this issue after freshly installing Docker CE for Mac and testing it out with the getting started guide ( https://docs.docker.com/compose/gettingstarted/ ), with the following information: docker version
docker-compose version
docker-machine version
docker-compose.yml
Dockerfile
App does not update on code changes as the getting started guide suggests it should. |
@meditatingCybermind Please report the issue on the docker/for-mac repo. |
Okay...well, I'm not getting the problem with docker without compose. It only happens with docker compose. |
Im still having the same issue on new install today. |
I previously had a bunch of sites set up using docker-compose and since upgrading to the latest versions of Docker and Docker-Compose, have been getting the following issues.
Docker
Version: 17.06.0-ce
docker-compose version
docker-compose version 1.14.0, build c7bdf9e
docker-py version: 2.3.0
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
docker-compose.yml
version: '3'
services:
web:
build: .
container_name: site
ports:
- "8080:80"
- "9000"
- "9004"
volumes:
- ../html:/var/www/html
- ./configs/nginx/default.conf:/etc/nginx/sites-enabled/default
depends_on:
- "db"
db:
image: mysql:5.5
container_name: site_db
volumes:
- ./db:/docker-entrypoint-initdb.d
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: user
MYSQL_PASSWORD: secret
MYSQL_DATABASE: site_database
The text was updated successfully, but these errors were encountered: