-
Notifications
You must be signed in to change notification settings - Fork 32
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
armhf docker container not starting on arm64 with volume #31
Comments
@phdelodder Thanks for reporting. Could you provide some details :
The title of the issue mentions 'arm64', but the docker I provide (currently) only support armhf (armv7). So that could be the reason, could you try to install the aarch64 deb package ? Another interesting point is the perm inside de container. Could you check that ? $ docker run -ti --entrypoint /bin/bash fg2it/grafana-armhf:v5.0.3
[inside docker]$ ls -l /etc/grafana
total 24
-rw-r----- 1 root grafana 13660 Mar 17 02:42 grafana.ini
-rw-r----- 1 root grafana 3468 Mar 17 02:42 ldap.toml
drwxr-xr-x 4 root grafana 4096 Mar 22 19:45 provisioning If permissions don't allow read try to fix that and run to confirm it is indeed the problem : [inside docker]$ chmod +r /etc/grafana/grafana.ini
[inside docker]$ /run.sh You can also try to increase log level [inside docker]$ /run.sh cfg:default.log.level="debug" or $ docker run -ti --rm fg2it/grafana-armhf:v5.0.3 cfg:default.log.level="debug" |
Thanks for the followup. But I restarted the docker container and now it works. I have no more explanation for it. |
Good, I guess. Could you tell me the hardware and os you are using ? |
I'm running rock64 with dietpi. I can reproduce it it occurs always the first time you create the container, when I stop the container and start it again the issue is gone. |
That is strange. What version of docker are you using ? How do you start your container ? |
Docker version 17.12.1-ce, build 7390fc6 |
Do you mount any volume in your container ? How do you start it ? It would help if you could check the permissions, before and after launching grafana, something along : $ docker run -ti --entrypoint /bin/bash fg2it/grafana-armhf:v5.0.3
[inside docker]$ ls -l /etc/grafana
[inside docker]$ /run.sh
#interrupt if needed with ctrl+c
[inside docker]$ ls -l /etc/grafana |
yes I mounted the a custom volume, without the volume it works like a charm |
[TL;DR]
[long story] |
When I try to start the container I get the following error:
lvl=crit msg="Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: permission denied%!(EXTRA []interface {}=[])"
using fg2it/grafana-armhf:v5.0.3
The text was updated successfully, but these errors were encountered: