docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

Running automated one-liner on Windows simply doesn't work

Open kennys74 opened this issue 3 years ago • 5 comments

Running the one-liner gets the process started and the docker container is built but when it gets to installing Magento, that's where it breaks down. Constant issues trying to get Magento successfully installed.

Does anybody have a detailed list of instructions required for installing on Windows. This repo seems very aligned with a Mac installation and neglecting Windows a little?

Issue that stopped installation was.......

Your system password has been requested to add an entry to /etc/hosts... bin/setup-domain: line 9: sudo: command not found

Kind regards

Ken

kennys74 avatar Jan 23 '22 10:01 kennys74

I'm wondering if this could potentially be related to https://github.com/markshust/docker-magento/issues/619

markshust avatar Jan 23 '22 13:01 markshust

Can confirm that reverting docker to 4.3.2 did not resolve this issue.

I'm seeing this issue when running the existing magento guide;

bin/setup-domain magento.test Your system password has been requested to add an entry to /etc/hosts... bin/setup-domain: line 9: sudo: command not found

Ginga86 avatar Jan 31 '22 04:01 Ginga86

I'm facing the same issue, also on bin/setup-domain. I already installed docker 4.3.2, but the problem persists.

I'm using Windows 100 and running the one-liner in Git Bash.

daviPombeiro avatar Jan 31 '22 15:01 daviPombeiro

sudo: command not found

Are you running commands within WSL2? sudo should definitely be a command on Linux/Ubuntu 😃.

markshust avatar Feb 02 '22 16:02 markshust

As far as Windows support, it's definitely neglected as I'm not a Windows user. That said, I'll always take contributions which add additional support for Windows as long a the updates are backwards-compatible with Mac + Linux.

Note there is a big thread on WSL2 support at https://github.com/markshust/docker-magento/discussions/372

markshust avatar Feb 02 '22 16:02 markshust