Help

0

Odoo docker apple M1

Avatar
Roger Escola Belarte

I was thinking in a future to update my mac or not. Now they're using ARM architecture and I was worried about working with docker containers to run and code odoo.

Anyone with mac M1 can say if it's possible or there's any inconvenience?

Thanks a lot

1 Komentar
Avatar
Abaikan
Avatar
Omydoo
-

Hello, why have Odoo locally? Maybe it's better to put it on a server, right? And you would no longer have a Mac version problem

3 Semua Jawaban
1
Avatar
Roger Escola Belarte
Best Answer

Tanks Omydoo. But its clear that its runing on a server. But when i have to change something I dont develop on server instance. I download locally and change it here to later upload to server. Now i can do that and test after using docker on my mac if all was correct I upload to customer server. Now i dont know if its possible on M1

Avatar
Abaikan
0
Avatar
daffodilistic
Best Answer

You would likely need to build a custom Docker image. In my case, I had to build a custom Docker image for Odoo v10 CE.

You can use a sample Dockerfile I've created here:

https://github.com/daffodilistic/docker-odoo/blob/10.0/10.0/Dockerfile
Avatar
Abaikan
0
Avatar
leofisher
Best Answer

Hi,

You can run try to run the command below, seems to work correctly when using the --platform argument as well as download the m1 preview image. 

Source: https://github.com/odoo/docker/issues/349#issuecomment-757472030

docker pull odoo:14 --platform linux/amd64

Same thing for postgress DB image

docker pull postgres:12 --platform linux/amd64
1 Komentar
Avatar
Abaikan
Avatar
leofisher
-

same thing as well for the postgress DB:

`docker pull postgres:12 --platform linux/amd64`