https://github.com/webkul/magento2_docker
Dockerized Image of magento2
https://github.com/webkul/magento2_docker
Last synced: 3 months ago
JSON representation
Dockerized Image of magento2
- Host: GitHub
- URL: https://github.com/webkul/magento2_docker
- Owner: webkul
- Created: 2015-11-09T10:11:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-18T11:49:16.000Z (over 10 years ago)
- Last Synced: 2024-12-31T21:42:35.667Z (over 1 year ago)
- Language: PHP
- Size: 194 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# magento2_docker
Pull Image from DockerHub :-
"docker pull webkul/magento2_docker:master"
Run your container by following command :-
"docker run -d -p 80:80 -p 3306:3306 webkul/magento2_docker:master"
Note-: No other services should be running on port 80 and 3306 of your host system. If so, change ports in the above docker command.
Your DATABASE NAME for magento installation -: magento2
In order to access the credentials of your database, you have to get the container's console. Run the following command-:
"docker ps" (to get the containers id)
after that run the command
"docker logs container_id"
in that logs you will get the mysql username and password to connect with the database.
To access the database of your magento2 got to the URL http://localhost/magento2/adminer.php and login with the credentials provided in the logs.