I have set up Magento in docker instance using Apache2 webserver
How to use:
Change IP in hosts file (Example about Windows: C:\Windows\System32\drivers\etc\hosts )
On your linux (Can be Virtual Machine in Windows)
+) # docker pull hoangkien1020/magento:2.3.5p1
+) # docker run -d --rm -it -p 8080:80 hoangkien1020/magento:2.3.5p1
or
+) # docker pull hoangkien1020/magento:2.4.0
+) # docker run -d --rm -it -p 8080:80 hoangkien1020/magento:2.4.0
Access:
http://test.local:8080/admin and credentials: admin-admin1234.
If docker instance doesn't work, use can bash run.sh as:
+) # docker exec -it {container_id} /bin/bash
+) # bash run.sh
I have set up permissions as "Set file permissions" in
https://devdocs.magento.com/guides/v2.4/install-gde/composer.html
Note: In Magento 2.4.0, I have disabled 2FA to be easy to use.
Content type
Image
Digest
Size
398.5 MB
Last updated
about 6 years ago
docker pull hoangkien1020/magento:2.4.0