Git Product home page Git Product logo

Comments (14)

Nico640 avatar Nico640 commented on July 17, 2024

Hi,
I have no problems running the image on a Pi4 with the armhf tag.
I am using the command specified in the readme (docker run), what are you using to deploy the image?
The only thing that changed architecture wise is that with the move from Travis CI to GitLab CI, the armhf image shows up as amd64 on docker hub, even though it is build for and from arm. I haven't looked into that yet as I didn't have any problems.

from docker-unms.

NEITG avatar NEITG commented on July 17, 2024

Sure, it's below. This is the same command that worked a month or so back.

Many thanks

docker service create
--name=unms
--publish=8080:80/tcp
--publish=8443:443/tcp
--publish 2055:2055/udp
--env TZ=Europe/London
--constraint=node.id==manager
--mount=type=bind,src=/home/pi/unms,dst=/config
nico640/docker-unms:armhf

from docker-unms.

NEITG avatar NEITG commented on July 17, 2024

Thats a typo on the constraint where I was trying to get it working but with or without it fails

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

Hi,
The problem is indeed the architecture that is displayed incorrectly on docker hub.
I'm gonna look into getting that fixed. In the meantime, you can use the --no-resolve-image parameter on the docker service create command to stop docker from checking whether the architecture is correct.

from docker-unms.

NEITG avatar NEITG commented on July 17, 2024

Great, thanks I shall give that a try

from docker-unms.

zimmertr avatar zimmertr commented on July 17, 2024

The following docker-compose.yml file fails on my Odroid XU4Q. Which is an ARMv7 device. Any idea why?

version: '3'
services:
    unms:
        image: nico640/docker-unms:armhf
        restart: unless-stopped
        container_name: unms
        ports:
            - 81:80
            - 444:443
            - 2055:2055/udp
        volumes:
            - /root/docker/unms/:/config
        environment:
            - TZ=America/Los_Angeles
            - PUBLIC_HTTPS_PORT=444
            - PUBLIC_WS_PORT=444

Here is the error message on startup:

$> docker-compose up -d
Creating unms ... error

ERROR: for unms  Cannot start service unms: no status provided on response: unknown

ERROR: for unms  Cannot start service unms: no status provided on response: unknown
ERROR: Encountered errors while bringing up the project.

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

Hi,
No idea, your docker-compose.yml works fine on a Pi4.
Does the image run without docker compose?

from docker-unms.

NEITG avatar NEITG commented on July 17, 2024

The --no-resolve-image parameter has got the service running. My UNMS is stuck on "UNMS is Starting..." but that's more likely down to the remains of my previous service.

from docker-unms.

zimmertr avatar zimmertr commented on July 17, 2024

@Nico640 , not it doesn't unfortunately. The same error is produced.

from docker-unms.

NEITG avatar NEITG commented on July 17, 2024

Just to say, once I trashed my UNMS folder and started again I'm all back up and working. So this can be closed for my particular issue.
Just to check, what is the correct process for updating so that I don't trash it again?
Thanks for the help

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

Hi,
there isn't really a specific process for updating.
Everything important is kept in the /config volume, so you could delete the docker and recreate it, or in your case, you could use the "docker service update --image" command.
Not sure what happened to your UNMS install, it shouldn't get stuck after an update.
Be sure to share your logs if it happens again.

from docker-unms.

zimmertr avatar zimmertr commented on July 17, 2024

@Nico640 turns out my issue was an artifact of having previously updated docker (or a related package) on Arch Linux ARM. Rebooting the OS fixed it.

Thanks for your work on this.

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

@zimmertr I'm glad you found the issue!

from docker-unms.

Nico640 avatar Nico640 commented on July 17, 2024

The "unsupported platform" issue should be fixed in the latest build. The image architecture now shows up correctly on docker hub.

from docker-unms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.