title: How to solve this problem "permission denied”, when I start `docker compose up`?
body: <p>When I just run docker build, I don't have any problems.</p>
  <p>But, when I start with <code>docker-compose up</code> :</p>
  <pre><code>Cannot start service server: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: permission denied: unknown
  </code></pre>
  <p>Dockerfile</p>
  <pre><code>...
  
  ENV CGO_ENABLED=0
  ENV GO111MODULE=on
  ENV GOFLAGS=-mod=vendor
  
  RUN dep ensure
  
  RUN go mod vendor
  RUN go mod download
  RUN go mod verify
  
  EXPOSE 8080
  
  ENTRYPOINT  [&quot;/go/src/github.com/project/module&quot;]
  </code></pre>
  <p>docker-compose.yaml</p>
  <pre><code> ...
    server:
      build:
        context: .
        dockerfile: service.dockerfile
      platform: linux
      ports:
        - 8080:8080
  </code></pre>