Closed gilbok closed 3 years ago
workspace cannot be run as linux/arm64 architecture on Apple M1. But php-fpm can be run as linux/arm64 architecture.
workspace
linux/arm64
php-fpm
$ docker pull laradock/workspace:latest-7.2 $ docker pull laradock/php-fpm:latest-7.2 $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE laradock/php-fpm latest-7.2 94e355067b69 2 days ago 410MB laradock/workspace latest-7.2 5b0a8a579a35 2 days ago 803MB $ docker run -it 5b0a8a579a35 uname -m # laradock/workspace:latest-7.2 x86_64 $ docker run -it 94e355067b69 uname -m # laradock/php-fpm:latest-7.2 aarch64
I think it is because laradock/workspace is using phusion/baseimage:0.11 as base image. And it supports only linux/amd64
phusion/baseimage:0.11
linux/amd64
FROM phusion/baseimage:0.11
Its recent tags are supporting multi-arch including linux/arm64 now. So the base image needs to be changed to the one which supports linux/arm64
base image will adjusted.
workspace
cannot be run aslinux/arm64
architecture on Apple M1. Butphp-fpm
can be run aslinux/arm64
architecture.I think it is because laradock/workspace is using
phusion/baseimage:0.11
as base image. And it supports onlylinux/amd64
Its recent tags are supporting multi-arch including
linux/arm64
now. So the base image needs to be changed to the one which supportslinux/arm64