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

"exec /bin/sh: operation not permitted" error when using docker compose #1010

Open
muzzah opened this issue May 24, 2023 · 1 comment
Open

Comments

@muzzah
Copy link

muzzah commented May 24, 2023

Using the docker compose setup as described in a Ubuntu VM and getting an error when starting

exec /bin/sh: operation not permitted

search:
    image: benbusby/whoogle-search
    container_name: search
    restart: unless-stopped
    pids_limit: 50
    mem_limit: 256mb
    memswap_limit: 256mb
    user: whoogle
    security_opt:
      - no-new-privileges
    cap_drop:
      - ALL
    tmpfs:
      - /config/:size=10M,uid=927,gid=927,mode=1700
      - /var/lib/tor/:size=10M,uid=102,gid=102,mode=1700
      - /run/tor/:size=1M,uid=102,gid=102,mode=1700

Also is there a a reasonw wh you are using a tmpfs for config directory? Wouldnt you want to persist this info?

Do you support specifying a volume directory for config?

@allenwalker3
Copy link

You need this version of docker:

$ sudo apt install docker.io

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

2 participants