MGT Cloud Log is here!

Run Container

Step 1: Run the container

For PHP 7.2 use the following command to run the container

docker run -d --net=bridge -v /var/lib/mysql --restart=always --privileged -h mgt-dev-72 --name mgt-dev-72 -it -p 80:80 -p 443:443 -p 22:22 -p 3306:3306 -p 3333:3333 -p 9200:9200 mgtcommerce/mgt-development-environment-7.2

For PHP 7.1 use the following command to run the container

docker run -d --net=bridge -v /var/lib/mysql --restart=always --privileged -h mgt-dev-71 --name mgt-dev-71 -it -p 80:80 -p 443:443 -p 22:22 -p 3306:3306 -p 3333:3333 -p 9200:9200 mgtcommerce/mgt-development-environment-7.1

For PHP 7.0 use the following command to run the container

docker run -d --net=bridge -v /var/lib/mysql --restart=always --privileged -h mgt-dev-70 --name mgt-dev-70 -it -p 80:80 -p 443:443 -p 22:22 -p 3306:3306 -p 3333:3333 -p 9200:9200 mgtcommerce/mgt-development-environment-7.0

Step 2: Open a browser and launch Control Panel

http://127.0.0.1:3333

Control Panel

Logins

SSH / SFTP Access

To connect with SSH to your container just run the following command from terminal

ssh root@127.0.0.1

Password: root

MySQL

To connect to MySQL from your host system or inside of your container just run the following command:

mysql -h127.0.0.1 -uroot -proot 

The root password for MySQL is also: root