SHARE
TWEET

Untitled

a guest Sep 20th, 2016 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. docker network create --subnet=172.18.0.0/16 magentonet
  2. docker run -d --name mysql -p 3306:3306 --net magentonet --ip 172.18.0.23 -e MYSQL_ROOT_PASSWORD=magepass -e MYSQL_DATABASE=mySchema mysql:5
  3. docker build -t magento-bdd .
  4. docker run --net magentonet --ip 172.18.0.22 -d magento-bdd
  5.    
  6. mysql --host=172.18.0.23 --user=root --password=magepass -e "create database magentodb; create user magentouser@localhost; grant all privileges on magentodb.* to 'magentouser'@'%' IDENTIFIED BY 'magentopass'; flush privileges;"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top