I am working on Ubuntu Mint 17.2 64-bit and installed Docker using installation guide.
Getting problem while docker-compose up
.
When fire command it shows me error like :
data is up-to-date
db is up-to-date
Starting web
ERROR: for web Cannot start service web: oci runtime error: exec: "./entrypoint.sh": stat ./entrypoint.sh: no such file or directory
ERROR: Encountered errors while bringing up the project.
Here version info:
docker --version
Docker version 1.6.2
docker-compose --version
docker-compose version 1.8.0
docker-machine --version
docker-machine version 0.7.0
docker-compose.yml
look like
version: '2'
services:
nginx:
restart: always
container_name: nginx
build: ./nginx
ports:
- "80:80"
volumes_from:
- web
links:
- web:web
web:
restart: always
container_name: web
build: .
expose:
- "8000"
env_file: .env
volumes:
- ./web:/web
links:
- db:db
depends_on:
- db
command: ./entrypoint.sh
...
I think in web entrypoint.sh
was not found,
For more info also give permission in Dockerfile
file,In it RUN chmod +x /web/entrypoint.sh
I am not sure how to solve this issue.
Edit:
I am connect docker-machine with ssh and find web dir empty.