Skip to content
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

Docker ARM image not working on QNAP ARM Cortex-A15 #15

Closed
cubagithub opened this issue May 21, 2021 · 3 comments
Closed

Docker ARM image not working on QNAP ARM Cortex-A15 #15

cubagithub opened this issue May 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@cubagithub
Copy link

Followed setup steps in readme.

[admin@QNAP ~]# docker-compose logs
Attaching to AreWeDown, Portainer
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted
AreWeDown    | terminate called after throwing an instance of 'std::length_error'
AreWeDown    |   what():  basic_string::_M_replace_aux
AreWeDown    | Aborted

OS info:

[~] # uname -a
Linux QNAP 4.2.8 #2 SMP Thu Jul 4 05:26:06 CST 2019 armv7l unknown

Docker compose file:

version: "3"
services:
  portainer:
    container_name: Portainer
    image: portainer/portainer
    restart: always
    ports:
      - "9000:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /share/Docker/portainer:/data

  arewedown:
    image: shukriadams/arewedown:0.2.0-arm
    container_name: AreWeDown
    restart: unless-stopped
    volumes:
    - /share/Docker/arewedown/config:/etc/arewedown/config
    - /share/Docker/arewedown/logs:/etc/arewedown/logs/:rw
    # - ./scripts:/etc/arewedown/custom-tests # optional, see "custom tests" section of documentation
    ports:
      - "3000:3000"

Permissions on logs path:

[admin@QNAP ~]# ls -la /share/Docker/arewedown/logs
drwxr-xr-x    2 1000     administ        40 May 20 22:32 ./
drwxr-xr-x    4 admin    administ        80 May 20 22:32 ../

Settings file (empty as per readme):

[admin@QNAP ~]# ls -la /share/Docker/arewedown/config/
drwxr-xr-x    2 admin    administ        60 May 20 22:37 ./
drwxr-xr-x    4 admin    administ        80 May 20 22:32 ../
-rw-r--r--    1 admin    administ         0 May 20 22:37 settings.yml
@shukriadams shukriadams added the bug Something isn't working label May 22, 2021
@shukriadams
Copy link
Owner

Thanks, I think I underestimated the requirements for building for ARM. Will look into this when time permits.

@shukriadams
Copy link
Owner

Ok, didn't take that long to see what I'm doing wrong - current builds, under the hood, are ARMv6 only, the board you're trying to run on is ARMv7. I will fix tags going forward, but also try to get an ARMv7 build going.

@shukriadams
Copy link
Owner

This issue should be fixed now, Docker builds are ARMv7 and properly defined along the whole chain. I can't confirm this works on a QNAP as I don't have this hardware. Closing this ticket, but feel free to re-open if the issue persists, and I'll have to find some other way of testing my code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants