markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.57k stars 1.01k forks source link

Improve/update Windows docker compose setup #100

Open birdman002 opened 6 years ago

birdman002 commented 6 years ago

I am on windows, I am working on going through this repo to install magento.

I get to the bin/copymagento, after it does all the pulls i get this error

cp: cannot stat '/src/.': No such file or directory

Not sure where I went wrong.

Thank you!

Best

markshust commented 3 years ago

A lot has changed with Windows, WSL2, and Docker since I last tried this process (for the better).

I started a discussion at https://github.com/markshust/docker-magento/discussions/372 and I'm at the last step to get SSL working. I should have working documentation soon 😄

markshust commented 3 years ago

Has anyone subscribed to this ticket figured out SSL, in regards to getting it working with WSL2/Ubuntu 20?

df2k2 commented 3 years ago

If you are using Firefox and it warns you the SSL certificate is invalid/untrusted, go to Preferences -> Privacy & Security -> View Certificates (bottom of page) -> Authorities -> Import and select ca.cert.pem for import, then reload the page.

If you are using Chrome on Linux and it warns you the SSL certificate is invalid/untrusted, go to Chrome Settings -> Privacy And Security -> Manage Certificates (see more) -> Authorities -> Import and select ca.cert.pem for import, then reload the page.

markshust commented 3 years ago

Thanks @df2k2. I'd like to find an automated solution also if possible?

markshust commented 3 years ago

Thanks @df2k2, I'll use this for the initial documentation.

And I have great news! I have confirmed the instructions at https://github.com/markshust/docker-magento/discussions/372 are indeed working, and have replicated on install of Magento 2 on Windows using WSL 2 and Ubuntu. I'll be writing up some formal documentation so we can finnnnnnally close out this ticket.

Performance is great.

CosyStudios commented 3 years ago

If you are using Firefox and it warns you the SSL certificate is invalid/untrusted, go to Preferences -> Privacy & Security -> View Certificates (bottom of page) -> Authorities -> Import and select ca.cert.pem for import, then reload the page.

If you are using Chrome on Linux and it warns you the SSL certificate is invalid/untrusted, go to Chrome Settings -> Privacy And Security -> Manage Certificates (see more) -> Authorities -> Import and select ca.cert.pem for import, then reload the page.

Where abouts do I get hold of ca.cert.pem ?

Installing this on WSL2 has been a real headbanger so far but im nearly there ! installation got stuck on copyfromcontainer but i just skipped it in the end (3 hours?) and seems to be ok.

alexdkaminski commented 3 years ago

Thanks @df2k2, I'll use this for the initial documentation.

And I have great news! I have confirmed the instructions at #372 are indeed working, and have replicated on install of Magento 2 on Windows using WSL 2 and Ubuntu. I'll be writing up some formal documentation so we can finnnnnnally close out this ticket.

Performance is great.

@markshust Mark have you had a chance to write up this documentation yet?