Skip to content

[Bug]: Container fails to start with 'permission denied' (errno 13). Unable to determine reason (no logs) #978

Closed

Description

@ChrisJ60

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

I create a container as follows:

container create '--name=pihole' -v /Users/Shared/Container/pihole/volumes/etc-pihole:/etc/pihole -v /Users/Shared/Container/pihole/volumes/etc-dnsmasq.d:/etc/dnsmasq.d --dns 10.0.200.10 --dns 10.0.200.15 --publish 127.0.0.1:53:53 --publish 127.0.0.1:80:80 --publish 127.0.0.1:443:443 -e 'TZ=Europe/London' -e 'VIRTUAL_HOST=pihole3.home.thejenkinsfamily.org.uk' -e 'PROXY_LOCATION=pihole3.home.thejenkinsfamily.org.uk' -e 'FTLCONF_dns_upstreams=10.0.200.10;10.0.200.15' pihole/pihole:latest
pihole

When I try to start it I get:

$ container start pihole
Error: internalError: "failed to bootstrap container" (cause: "internalError: "failed to bootstrap container pihole (cause: "unknown: "bind(descriptor:ptr:bytes:): Permission denied (errno: 13)"")"")

And due to issue #977 I am not able to view the logs so have no idea why it is failing. The two directories used in the volume mounts exist and have permissions of 0777.

Current behavior

Container fails to start. Unable to view logs.

Expected behavior

Container should start.

Environment

- OS: macOS 26.2
- Xcode: 26.2
- Container: 0.6.0

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added theissue type on Dec 22, 2025
  2. added 2 commits that reference this issue on Jan 8, 2026
    ec582c9
    19f740c
  3. added a commit that references this issue on Jan 9, 2026
    4af1cc0
  4. added 3 commits that reference this issue on Jan 20, 2026
    1559e6d
    0099292
    94ba456
  5. added a commit that references this issue on Jan 27, 2026
    3c7ad68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions