Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console errors requesting access to block devices? #154

Open
RejectH0 opened this issue Jan 15, 2024 · 0 comments
Open

Console errors requesting access to block devices? #154

RejectH0 opened this issue Jan 15, 2024 · 0 comments

Comments

@RejectH0
Copy link

BUG DESCRIPTION
Upon launching unbound, the following error messages appear in the terminal console window:

unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/random': Operation not permitted unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/urandom': Operation not permitted unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/null': Operation not permitted unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/random': Operation not permitted unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/urandom': Operation not permitted unbound | cp: cannot create special file '/opt/unbound/etc/unbound/dev/null': Operation not permitted

To Reproduce
Steps to reproduce the behavior:

  1. Docker run command or compose file:
    'version: "3.3"
    services:
    unbound:
    container_name: unbound
    ports:
    • 5335:5335/tcp
    • 5335:5335/udp
      volumes:
    • ./etc-unbound:/opt/unbound/etc/unbound/
      restart: unless-stopped
      image: mvance/unbound:latest
      networks:
    • pihole_pihole_default
      networks:
      pihole_pihole_default:
      external: true
      '

Expected behavior
I was not aware that block devices are available to Docker containers.
I am new to Docker, so it could be something I'm doing wrong, but I can't find it and neither can ChatGPT-4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant