Calibre-web on portainer

[mod-init] Curl/JQ was not found on this system for Docker mods installing

It look like it is having and issue pulling jq; tried to pull down in console but no luck.
root@10c134cea690:/# apt-get install jq

Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package jq

See attached Portainer- container log.

I can’t post error because it contains too many links ;(

Compose file:

version: “2.1”
services:
calibre-web:
image: lscr.io/linuxserver/calibre-web
container_name: calibre-web
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- DOCKER_MODS=linuxserver/calibre-web:calibre #optional
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
volumes:
- /data/portainer/calibre:/config
- /books/calibre:/books
ports:
- 8083:8083
restart: unless-stopped

Unfortunately, portainer can cause issues like this which is why we do not support or recommend deploying containers with it. I suspect if you use docker-compose (x86_64 portainer does use docker-compose, in a very broken way, arm portainer doesn’t use docker-compose at all and is even more broken) you will not face the issue anymore. Please let us know if you encounter this issue without using portainer and we’ll be glad to further assist.