[GH-ISSUE #1010] "exec /bin/sh: operation not permitted" error when using docker compose #623

Closed
opened 2026-02-25 20:36:10 +03:00 by kerem · 1 comment
Owner

Originally created by @muzzah on GitHub (May 24, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1010

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?

Originally created by @muzzah on GitHub (May 24, 2023). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1010 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?
kerem closed this issue 2026-02-25 20:36:10 +03:00
Author
Owner

@allenwalker3 commented on GitHub (Dec 30, 2023):

You need this version of docker:

$ sudo apt install docker.io

<!-- gh-comment-id:1872599553 --> @allenwalker3 commented on GitHub (Dec 30, 2023): You need this version of docker: `$ sudo apt install docker.io `
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#623
No description provided.