mysql
Nano Server (v.10.0.14393.1480) + IIS + MySQL + PHP. Updated on 08/02/2017.
10K+
Nano Server (Container). Container Base: microsoft/nanoserver. IIS, PHP 7 (version 7.1.7), MySQL 5 (mysql-5.7.19).
How to use the Container: Install docker on your OS (Windows 10, Windows Server 2016, Nano Server, etc.). Once docker is installed, execute in elevated prompt (powershell): docker pull nanoserver/mysql
To run docker just type: docker run --name mysql -d -it -p 80:80 nanoserver/mysql
Show base images: docker images
Show running containers: docker ps -a -f status=running
Show container IP: docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" mysql
Show containerID: docker inspect --format="{{.Id}}" mysql
Now you can access via browser using container IP (ex.: http://172.18.10.110/info.php ). Use here container IP.
Access via powershell: Enter-PSSession -RunAsAdministrator
If you want container starts everytime docker service starts: docker update --restart=always
MySQL Users: User--> root Password: Password123
User--> dbadmin Password: Password123
WordPress DB user --> usuario Password: Password123
Dockerfile: https://github.com/nanoserver/IIS-PHP-MYSQL/blob/master/Dockerfile/Dockerfile
Nano Server is a Microsoft product. Terms of use: https://hub.docker.com/r/microsoft/nanoserver/
Hope you enjoy that container. Rate, comment and share it. Thanks...
Dockerfiles for Nano Server: https://github.com/nanoserver
More info and tutorials: https://nanoserver.online
Content type
Image
Digest
Size
1.1 GB
Last updated
about 8 years ago
docker pull nanoserver/mysql