https://github.com/webkul/docker_magento
https://github.com/webkul/docker_magento
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/webkul/docker_magento
- Owner: webkul
- Created: 2015-10-29T10:00:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-29T14:51:31.000Z (over 10 years ago)
- Last Synced: 2024-12-31T21:42:36.843Z (over 1 year ago)
- Language: PHP
- Size: 348 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker_magento
Pull Image from DockerHub :-
"docker pull webkul/magento:latest"
Run your container by following command :-
"docker run -d -p 80:80 -p 3306:3306 webkul/magento:latest"
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 -: magento
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.