I am working on a 64-bit Ubuntu Mint 17.2 and installed Docker using the installation guide. Getting problems with docker-compose up.
When a fire command shows me an error, for example:
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 is the version information:
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 that the network was entrypoint.shnot found. For more information, also give permission in the file Dockerfile. In itRUN chmod +x /web/entrypoint.sh
I am not sure how to solve this problem.
Edit
I am connecting a docker machine with ssh and cannot find an empty web directory.
source
share