Skip to content

"Permission denied" error on docker run #3

@hacksdump

Description

@hacksdump

I am currently using Ubuntu 18.04.
docker build -t playground:latest . completed successfully but
docker run -it -rm playground failed with error:

standard_init_linux.go:190: exec user process caused "permission denied"

But a small change in Dockerfile solved my issue, which was:
RUN chmod 744 /entry_point.sh
replaced with
RUN ["chmod", "+x", "/entry_point.sh"]

Should I create a fork and add a pull request for this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions