rmountjoy92 / DashMachine

Another web application bookmark dashboard, with fun features.
GNU General Public License v3.0
1.24k stars 120 forks source link

Raspberrypi4 Using Portainer and Portainer Script #209

Closed thewismit closed 3 years ago

thewismit commented 3 years ago

When I deploy DashMachine via either a portainer script or from the CLI, portainer sees TCP 5000 exposed for a few seconds after mounting the container successfully and then shortly afterward, the port is no longer exposed.

Here's the portainer script

---
version: "2"
services:
  dashmachine:
    image: rmountjoy/dashmachine:latest
    container_name: dashmachine
    volumes:
      - /mnt/USB01/dashmachine/user_data:/dashmachine/dashmachine/user_data
    ports:
      - 5000:5000
    restart: unless-stopped

Is this because the image I'm pulling isn't compatible with the ARM architecture? Thank you.

Simon-Spettmann commented 3 years ago

Yes, unfortunately there is no image on Docker Hub with support for ARM. https://hub.docker.com/r/rmountjoy/dashmachine/tags?page=1&ordering=last_updated

You can confirm that by looking at the logs of your container, it should output: "exec format error".

thewismit commented 3 years ago

Hi @Simon-Spettmann. Thanks for letting me know. I've moved dashmachine to my Ubuntu server so all good!

Simon-Spettmann commented 3 years ago

@thewismit If you or anyone else is still interested in using Dashmachine on ARM, I have build the image on my own. See https://hub.docker.com/r/failed2run/dashmachine or use failed2run/dashmachine in your code.

Note: Unfortunatly the image is only compatible with the 64-bit version of ARM. This does not have to be an issue, since the Raspberry Pi is capable of ARM64, but you will need Ubuntu/Ubuntu Server or the beta version of Raspberry Pi OS to run it.

EDIT: Using a slightly modified Dockerfile I was able to build the image for all versions of ARM, including the 32-bit version.