title: Cannot start service app: OCI runtime create failed: container_linux.go:349
body: <p>I have some troubles when I try to start my go application with docker.
  <code>ERROR: for app  Cannot start service app: OCI runtime create failed: container_linux.go:349: starting container process caused &quot;exec: \&quot;./main\&quot;: permission denied&quot;: unknown</code>
  It happenes when I try to do <code>docker-compose up</code></p>
  <p>It is my mulristage Dockerfil:</p>
  <pre><code># Dockerfile References: https://docs.docker.com/engine/reference/builder/
  
  # Start from the latest golang base image
  FROM golang:1.13 as builder
  
  # Set the Current Working Directory inside the container
  WORKDIR /memesbot
  
  # Copy go mod and sum files
  COPY go.mod go.sum ./
  
  # Download all dependencies. Dependencies will be cached if the go.mod and go.sum files are not changed
  RUN go mod download
  
  # Copy the source from the current directory to the Working Directory inside the container
  COPY . .
  
  # Build the Go app
  RUN go build -o /memesbot/cmd/main .
  
  ######## Start a new stage from scratch #######
  FROM alpine:latest
  
  
  RUN apk --no-cache add ca-certificates
  
  WORKDIR /root/
  
  # Copy the Pre-built binary file from the previous stage
  COPY --from=builder /memesbot/cmd/main .
  
  # Command to run the executable
  CMD [&quot;./main&quot;]
  
  </code></pre>
  <p>And docker-compose.yml</p>
  <pre class="lang-yaml prettyprint-override"><code>version: '3'
  
  services:
    app:
      build:
        context: .
        dockerfile: Dockerfile
      ports:
        - &quot;7777:7777&quot;
      environment:
        TELEGRAM_TOKEN: xxxyyy
  </code></pre>
  <p>Does somebody know how can I fix this?</p>