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

ARM image #62

Open
fam4r opened this issue Jun 7, 2022 · 2 comments
Open

ARM image #62

fam4r opened this issue Jun 7, 2022 · 2 comments

Comments

@fam4r
Copy link

fam4r commented Jun 7, 2022

Hello, can you please provide an ARMv8 version for the image?
Thanks

@fam4r fam4r mentioned this issue Mar 6, 2023
@zimbres
Copy link

zimbres commented Dec 17, 2023

@ozturkinc
Copy link

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

3 participants