The container will expose port 80 for apache2 access
Start command
docker run -tidp 8081:80 liurenjie/mapserver:tagName
Wait for 10 seconds for Apache2 + MySQL to be started
It can be accessed from containerIP: 80 or hostIP:8081
docker load -i file_name to import the docker image
or
docker pull liurenjie/mapserver:tagName
docker run -ti docker_image_id
Inside the docker container
service apache2 startapache+php+mapserver is running at port 80
visit with http://ip, click on the mapserver link
Scirpt to build this image can be found here -
Content type
Image
Digest
Size
694.4 MB
Last updated
over 5 years ago
docker pull liurenjie/mapserver:release_20210116_v2