Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

If you want to save MYSQL db on local disk as we know that when container destroy data also destroy . For saving db on local disk use below mention command to mount volume inside the container.

docker run -d --name=nedi -p any_port:80 -v /path/of/localdisk:/var/lib/mysql mansoorsheikh99/nedi:v3

If you are going to run this container very first time then you must have to login into the container populate the database .
docker_server# docker exec -ti nedi bash
root@6c69f646a34a:/# cd /var/nedi/
root@6c69f646a34a:/var/nedi# ./ -i

Initialize NeDi DB!!!

mysql admin user:
mysql admin password:

just press enter for both admin user and password and it will to populate the db
For login:
enter admin for both user name and password .

Docker Pull Command

Comments (0)