Hi!
I wanted to install the OSS version using docker, but I’m getting the following error
$ docker run -p 4000:3000 --name=grafana grafana/grafana
Error loading shared library libreadline.so.8: Permission denied (needed by /run.sh)
Error relocating /run.sh: unstifle_history: symbol not found
Error relocating /run.sh: rl_make_bare_keymap: symbol not found
Error relocating /run.sh: rl_bind_key_if_unbound_in_map: symbol not found
~~ a lot more of similar lines ~~
first time I see this happening while using Docker, and I couldn’t find any solution online / using AI
here’s what it recommended which didn’t work:
- --security-opt apparmor=unconfined / label=disable / seccomp=unconfined
- disabling app armor entirely
Linux Serv 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
Client: Docker Engine - Community
Version: 29.3.1
API version: 1.54
Go version: go1.25.8
Git commit: c2be9cc
Built: Wed Mar 25 16:13:49 2026
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 29.3.1
API version: 1.54 (minimum version 1.40)
Go version: go1.25.8
Git commit: f78c987
Built: Wed Mar 25 16:13:49 2026
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.2.2
GitCommit: 301b2dac98f15c27117da5c8af12118a041a31d9
runc:
Version: 1.3.4
GitCommit: v1.3.4-0-gd6d73eb8
docker-init:
Version: 0.19.0
GitCommit: de40ad0
thanks for any help
PS: running with grafana/grafana:main-ubuntu gives /bin/bash: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory , unsure that helps