I finally managed to run the lazydocker.
I edited file /etc/openpanel/ssh/lazydocker.sh
Changed the exec command into this:
exec docker run --rm -it -v \
/hostfs/run/user/$USER_UID/docker.sock:/var/run/docker.sock \
-v $HOME:/.config/jesseduffield/lazydocker \
lazyteam/lazydocker
Login to SSH with the user account, lazydocker successfully loaded.
Then i pressed SHIT + E
to switch to terminal mode.
Just a bit confusing because the user is now root.
@stefan any suggestion to improve the command? because i cannot use other parameters (like cpus, memory, pids-limit, security-opt, no-new-privileges), it will throw invalid parameter error.
And how about the web terminal? how to activate it?