Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webkul/docker_opencart


https://github.com/webkul/docker_opencart

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# docker_opencart
Pull Image from DockerHub :-

docker pull webkul/opencart

Run a container of this image using the following command :-

"docker run -d -p 80:80 -p 3306:3306 webkul/opencart: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.

In order to access the credentials of your database, you have to get the container's console. Run the following command :-

"docker exec -it $container_id bash"

You are supposed to run "docker ps" to know container's id before you run the above command. Within container,read the content of the file named password.txt to access your mysql database username and password by running :-

cat /password.txt

Once your mysql username and password is known to you, you can simply login to mysql and create database accordingly.