permission error in Docker for Windows #399

Closed
opened 2025-12-29 16:21:39 +01:00 by adam · 1 comment
Owner

Originally created by @smaeda-ks on GitHub (Aug 30, 2016).

Hi,

This is just FYI but in Docker for Windows environment,
by default Windows can not keep original linux file permission like docker-entrypoint.sh, so docker-compose will fail with permission denied error because of it has no execute permission.

As my environment, I need to add RUN chmod +x /docker-entrypoint.sh to Dockerfile.

Of course this is not issue of your side and developer should be resolve kind of this issue themselves.
But If there is some document about this, maybe it will help someone who is Docker beginner.

Thanks,
Shohei

Originally created by @smaeda-ks on GitHub (Aug 30, 2016). Hi, This is just FYI but in Docker for Windows environment, by default Windows can not keep original linux file permission like `docker-entrypoint.sh`, so docker-compose will fail with permission denied error because of it has no execute permission. As my environment, I need to add `RUN chmod +x /docker-entrypoint.sh` to Dockerfile. Of course this is not issue of your side and developer should be resolve kind of this issue themselves. But If there is some document about this, maybe it will help someone who is Docker beginner. Thanks, Shohei
adam closed this issue 2025-12-29 16:21:39 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 22, 2016):

Closing this out as it doesn't seem to pertain directly to the code base. Please consider posting to the netbox-discuss mailing list for assistance.

@jeremystretch commented on GitHub (Sep 22, 2016): Closing this out as it doesn't seem to pertain directly to the code base. Please consider posting to the [netbox-discuss](https://groups.google.com/forum/#!forum/netbox-discuss) mailing list for assistance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#399