This image is intended for PHP+MySQL development. For convenience, it also runs SSH server to connect to. Both MySQL and phpmyadmin use default XAMPP password ("").
This image uses /www directory for your page files, so you need to mount it.
Running the image: docker run -p 5022:22 -p 5080:80 -d -v ~/my_web_pages/my_testing_page1:/www maxisoft/m2test6
The command above will expose the SSH server on port 5022 and HTTP server on port 5080.
So to SSH on the server, use this command: ssh root@localhost -p 5022
default SSH password is 'root'.
To connect to your webpage, visit this URL: http://localhost:5080/www
And to open up the XAMPP interface: http://localhost:5080/xampp
Content type
Image
Digest
Size
299.6 MB
Last updated
over 8 years ago
docker pull maxisoft/m2test6