alexcheng1982 / docker-magento2

Docker image for Magento Open Source 2
MIT License
382 stars 256 forks source link

User issues on Mac #22

Open DorteCAS opened 6 years ago

DorteCAS commented 6 years ago

Hi, I am trying to run this image on a mac, but it keeps saying that it does not find the users:

On docker-compose up: web_1 | Running /etc/my_init.d/00_regen_ssh_host_keys.sh... web_1 | Running /etc/rc.local... web_1 | Booting runit daemon... web_1 | Runit started as PID 7 web_1 | chown: invalid user: ‘root:adm’ web_1 | AH00543: apache2: bad user name www-data web_1 | Error resolving user; user='root' web_1 | AH00543: apache2: bad user name www-data web_1 | May 30 18:59:39 b5b073c76415 syslog-ng[21]: syslog-ng starting up; version='3.5.6' web_1 | AH00543: apache2: bad user name www-data

When I trie to run install-magento it shows: su: Cannot determine your user name.

I think I have to create these users, but why they are not created on mac? Should I add on Docker code?