Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Create MYSQL Database:-------------------------------------------------------------------------------------------------------
docker run --name mysql -e MYSQL_ROOT_PASSWORD=rootroot -p 3306:3306 -d mysql

Prepare MYSQL Database:------------------------------------------------------------------------------------------------------

On the host machine, install nsenter (open and modify a running container)
docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter

and open container mysql
docker-enter mysql

Create MYSQL Database:------------------------------------------------------------------------------------------------------

mysql -u root -p

mysql> CREATE database owncloud;

mysql> GRANT ALL PRIVILEGES ON owncloud.* TO 'root'@'localhost'
-> IDENTIFIED BY 'YOURPASSWORD';

mysql>FLUSH PRIVILEGES ;

exit

exit

LAUNCH containers:--------------------------------------------------------------------------------------------------------------

docker run -it -d -p 8080:80 --name owncloud happywhale/owncloud
docker run --name mysql -e MYSQL_ROOT_PASSWORD=rootroot -p 3306:3306 -d mysql
docker run --name mysqlAPPS --link mysql -d happywhale/owncloud

Docker Pull Command
Owner
happywhale