docs icon indicating copy to clipboard operation
docs copied to clipboard

Update creating-a-docker-container-action.md

Open arivictor opened this issue 7 months ago • 4 comments

Why:

Despite following all the steps as per this guide, I encountered the below issue when testing my action:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: unknown.

What's being changed (if available, include any code snippets, screenshots, or gifs):

Include a step in the example Dockerfile to make the entrypoint.sh executable in the container. Once I had added this my action worked without issue.

Check off the following:

  • [x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

    • For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.
  • [x] For content changes, I have completed the self-review checklist.

arivictor avatar Jul 25 '24 01:07 arivictor