Giter VIP home page Giter VIP logo

Comments (3)

perara avatar perara commented on July 28, 2024 1

This I believe is due to the incorrect architecture. I would take a guess that you are trying to run amd64 on the PI, but PI is ARM.

Because you have an RPI with 8 GB, it has sufficient memory to compile the docker images. comment out or remove the image key in the docker-compose file and add

build:
      context: https://github.com/perara/wg-manager.git#master

This will probably take an hour or so. Please report back if this worked, and I'll try to set up similar builds as multi-arch building currently is bugged

from wg-manager.

maguri avatar maguri commented on July 28, 2024 1

Same here!

I have IoT devices and if I pull and image compiled from github ci (amd) does not work, so, I have to build the image into one of the devices and the push it to the server for the other devices.

Solution:

  • Build image into Pi (arm architecture)
docker build -t ghcr.io/{repo}/{image}:{version}-armv7l .
docker push ghcr.io/{repo}/{image}:{version}-armv7l

from wg-manager.

feokuma avatar feokuma commented on July 28, 2024 1

@maguri and @DasBiest try to build using the buildx targeting to --platform linux/arm/v7. This article explains how it works https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

Hope it helps

from wg-manager.

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.