Docker_entrypoint.sh: no such file or directory

I have create a basic TeamService based on Kevin Hoffman’s book. I have this service checked into Github, form where wercker gets kicked off and passed all tests before getting deployed to docker hub successfully. However, when I try to pull and run the image I get the following error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: "/pipeline/source/app/docker_entrypoint.sh": stat /pipeline/source/app/docker_entrypoint.sh: no such file or directory”: unknown.

Here is my wercker.yml file

box: microsoft/dotnet:2.1.403-sdk
no-response-timeout: 10
build:
steps:
- script:
name: restore
cwd: TeamService
code: |
dotnet restore
- script:
name: build
cwd: TeamService
code: |
dotnet build
- script:
name: publish
cwd: TeamService
code: |
dotnet publish -o publish
- script:
name: test-restore
cwd: TeamService.Tests
code: |
dotnet restore
- script:
name: test-build
cwd: TeamService.Tests
code: |
dotnet build
- script:
name: test-run
cwd: TeamService.Tests
code: |
dotnet test
- script:
name: integration-test-restore
cwd: TeamService.Tests.Integration
code: |
dotnet restore
- script:
name: integration-test-build
cwd: TeamService.Tests.Integration
code: |
dotnet build
- script:
name: integration-test-run
cwd: TeamService.Tests.Integration
code: |
dotnet test
- script:
name: copy binary
cwd: TeamService
code: |
cp -r . $WERCKER_OUTPUT_DIR/app
deploy:
steps:
- internal/docker-push:
cwd: $WERCKER_OUTPUT_DIR/app
username: $USERNAME
password: $PASSWORD
tag: latest
repository: asadikhan/teamservice
registry: https://registry.hub.docker.com
entrypoint: “/pipeline/source/app/docker_entrypoint.sh”

Any idea why this might be happening? I am running this on Docker Toolbox locally.

I’m having the same issue, but I’m on Docker for Mac. Did you end up figuring out how to resolve this? I do have docker-entrypoint.sh in my $PATH and is executable… :thinking:

ERROR: for wp_wordpress Cannot start service wordpress: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: "docker-entrypoint.sh": executable file not found in $PATH”: unknown

ERROR: for wordpress Cannot start service wordpress: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: "docker-entrypoint.sh": executable file not found in $PATH”: unknown
ERROR: Encountered errors while bringing up the project.