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

Php fpm and Elastic search containers not compatible with Mac M1 chip #332

Closed
shikhamis11 opened this issue Sep 27, 2021 · 1 comment
Closed

Comments

@shikhamis11
Copy link
Member

Preconditions

  1. Installing cloud docker Macbook Pro with M1 chip

Steps to reproduce

  1. I am following Magento dev docs for installing cloud docker
    https://devdocs.magento.com/cloud/docker/docker-development.html

at step docker-compose run --rm deploy cloud-deploy

I am getting an error

`storage-driver=file -n --ansi --no-interaction" failed. mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory

In Processor.php line 129:

The command "php -dmemory_limit=-1 ./bin/magento setup:config:set --remote-storage-driver=file -n --ansi
--no-interaction" failed. mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory

In Shell.php line 86:

The command "php -dmemory_limit=-1 ./bin/magento setup:config:set --remote-storage-driver=file -n --ansi
--no-interaction" failed. mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory

run ...

returned non-zero exit status 255
`

Expected result

    1. There should not be an error

Actual result

  1. Seems there is an error with the PHP fpm container
    also, elastic search container is automatically killed during deployment command
@shikhamis11
Copy link
Member Author

Closing it seems to duplicate. I will track progress here #326

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

No branches or pull requests

1 participant