Blog

JMap Docker

Jean-Robert Desbiens-Haddad
CTO
March 28, 2024

Docker and application containers have revolutionized the way IT systems are deployed, both in the Cloud and within the private infrastructures of organizations. This technology is an important part of DevOps processes. With Docker, application deployment is easier and faster than ever, plus it’s entirely automated.

One of the main differences between a container and a virtual machine (VM) is that a container doesn’t contain the operating system. This means that containers are much lighter and can be deployed faster. The diagram below clearly illustrates this difference (source: docker.com).

With JMap 7 Jakarta, JMap Server can be deployed in Docker containers. We have adapted JMap to make it compatible with Docker. In addition, we published a Docker image for JMap Server on the DockerHub site, https://hub.docker.com/r/k2geospatial/jmap. This is the image you can use to create your JMap container.

Once Docker Engine is installed and running on your computer or server, you can obtain the Docker image for JMap Server using the following command at the command line:

docker pull k2geospatial/jmap

Before running JMap Server in a Docker container, you must set up two file storage areas on the computer or server where the container will be launched. In Docker jargon, these storage areas are called volumes. Your two volumes will be used to store JMap Server’s system files as well as the source spatial data files.

To create and launch your own JMap container, you must use the docker run command, as shown in the following example:

docker run -e TZ=America/New_York -it -e LOCAL_USER_ID=`id -u $USER` -e VM_OPTIONS_XMX=4g -p 8080:8080 -p 7003:7003 -d –v /home/jmapserver/systemconfig:/opt/jmap/systemconfig -v /home/jmapserver/data:/opt/jmapdata --name jmapserver k2geospatial/jmap:7_Jakarta_latest

As always, you must obtain a license file before you can run JMap Server. This file must be located in the volume containing your system files.

For more information on how to use JMap with Docker, read the following article: https://k2geospatial.atlassian.net/l/c/5LKfu2t1.

To learn the basics of working with Docker, check out this great tutorial created by Docker: https://docs.docker.com/get-started/.

Suggested Content

New Connection between JMap and Isogeo Platforms

The JMap/Isogeo connector enables our shared users to directly access their Isogeo metadata records within JMap.

The official launch of JMap Cloud

The official launch of JMap Cloud

Implementation of JMap at the Port of Sept-Îles

Implementation of JMap at the Port of Sept-Îles
Since 1995, K2 Geospatial has been committed to bringing spatial information and analysis tools to everyone by developing software solutions that provide effective visual aids to decision makers.
CANADA

1440 Sainte-Catherine O.,
Bureau 522
Montreal, QC H3G 1R8
+1 866-967-1211

USA

One Boston Place,
Suite 2600
Boston, MA 02108
+1 617-933-7265
Subscribe to our newsletter
Thank you for signing up!
Oops! A problem has occurred.