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

Support for Docker on arm64 #119

Open
RodrigoPrestes opened this issue Aug 30, 2024 · 0 comments
Open

Support for Docker on arm64 #119

RodrigoPrestes opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RodrigoPrestes
Copy link

Describe the issue
When trying to create a container on a Raspberry Pi the following error appear on the logs:
ERR msg=exec container process '/sbin/tini': Exec format error
Looking up the error, it seems the image is built only for x86.

To Reproduce
Steps to reproduce the behavior:

  1. Setup the image on a Raspberry Pi (personally I use Portainer so I just created a new stack with the contents of the docker-compose.yml)
  2. Start the container
  3. See error

Additional context
Looking at the build-push-action repo and the Docker documentation it looks simply to just update the build.yml to:

name: Publish Docker Container

on: 
  push:
    branches:
      - main

jobs:
  publish:
    name: Publish Docker Container
    runs-on: ubuntu-latest
    steps:
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v3
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v1
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push server
        uses: docker/build-push-action@v6
        with:
          tags: ghcr.io/subdavis/kobodl:latest
          push: true

But it didn't tested this change.

@RodrigoPrestes RodrigoPrestes added the bug Something isn't working label Aug 30, 2024
@RodrigoPrestes RodrigoPrestes changed the title Support for Docker on amr64 Support for Docker on arm64 Aug 30, 2024
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

1 participant