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

Image ARM #79

Open
xfilho opened this issue Jan 2, 2023 · 3 comments
Open

Image ARM #79

xfilho opened this issue Jan 2, 2023 · 3 comments

Comments

@xfilho
Copy link

xfilho commented Jan 2, 2023

Please, create image with supported architectures: amd64 arm arm64

@fam4r
Copy link

fam4r commented Mar 6, 2023

#62 related / duplicate.

@zimbres
Copy link

zimbres commented Dec 17, 2023

@ozturkinc
Copy link

ozturkinc commented Mar 16, 2024

I had this very same problem when I was trying to get it up and running on my Macbook Pro M1.
It seems Maria DB already supports arm. It is the the glpi container that is the problem.
I have managed to get around this using below small addition to docker-compose.yml file (not sure what is the equivalent for docker run):

version: "3.2"

services:
#MariaDB Container
  mariadb:
    image: mariadb:10.7
    container_name: mariadb
    hostname: mariadb
    volumes:
      - /var/lib/mysql:/var/lib/mysql
    env_file:
      - ./mariadb.env
    restart: always

#GLPI Container
  glpi:
    platform: linux/x86_64
    image: diouxx/glpi
    container_name : glpi
    hostname: glpi
    ports:
      - "80:80"
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - /var/www/html/glpi/:/var/www/html/glpi
    environment:
      - TIMEZONE=Europe/Brussels
    restart: always

You need to add "platform: linux/x86_64". Once this is done, my containers went up without a problem and I managed to run GLPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants