Jump-Start Your PrizmDoc Viewer Development with Docker
Running containers instead of virtual machines is becoming more and more popular. This is because Docker significantly simplifies deployment, reduces infrastructure requirements, and is very effective from a resource consumption point of view. If you want to add document viewing capabilities to your web application and benefit from the improvements Docker provides, then PrizmDoc Viewer Docker images are a great choice.
In a matter of minutes, you can get a local PrizmDoc Viewer demo working, open your documents, play with the viewer, and even proceed with prototyping your application code. As you move into development and then deployment, you will also enjoy the ease of both setting up and starting up PrizmDoc containers.
Continue reading to learn more about how PrizmDoc Viewer Docker can streamline your development and deployment processes, see what it takes to get started, and get some useful hints on working with PrizmDoc Viewer Docker.
What You Get with PrizmDoc Viewer Docker
There are a lot of reasons why PrizmDoc Viewer Docker is a great choice, not just for evaluation, but also for use in development and production.
Seamless Installation
You don’t have to worry about specific OS requirements, conflicts with other software installed on the server, or differences between your development and deployment environments.
Fast Startup
Starting up PrizmDoc containers only takes a matter of seconds. You don’t need to create and keep an image with pre-installed PrizmDoc to be able to start up a fresh instance quickly.
Scaling and Recycling
In the real world, users usually sleep at night, and work with documents during daytime office hours. Even if your customers are healthcare organizations working around the clock, or are distributed across multiple time zones, the load on PrizmDoc servers will vary throughout the day and throughout the week. To reduce computing costs, you will likely start up PrizmDoc instances when the load increases, and recycle them when the load decreases. Using Docker-based PrizmDoc Viewer allows you to start up instances quickly and easily.
Easy Recovery
Although PrizmDoc services have internal machinery for keeping themselves up and productive, there can still be cases when things go wrong. If a PrizmDoc instance reports itself as unhealthy, it is best to simply delete it and start a new one, which is also easiest using Docker.
Since the production version of prizmdoc-server keeps its cache on the host file system, the cache will not be lost when the unhealthy container is deleted, and can be picked up by the fresh container.
Preview Images
Here at Accusoft, we stay in touch with customers, whether we are working on new features or fixing bugs. With Docker, you can easily pull and run preview versions of PrizmDoc Viewer images to try our new features and fixes.
Special Case: Rendering MS Office Files Natively
All kinds of documents that are supported by PrizmDoc, including Microsoft Office documents, are also supported by PrizmDoc Docker. However, in some cases you may need MS Office documents to render natively, using the MS Office engine. In that case, you will need to use a regular PrizmDoc Windows installation for MS Office conversions. You can still benefit from using PrizmDoc Docker for the rest of your conversions, and set up MSO connectivity specifically for rendering Office documents.
Quick Start
To get started with Dockerized PrizmDoc Viewer, we suggest you try the accusoft/prizmdoc-viewer-eval image. It combines the complete PrizmDoc backend and a demo web application in a single image.
All you need for this is a Linux, Windows, or Mac system with at least 2 CPUs, 8 GB of RAM, and Docker installed. Note, if you are using Docker Desktop for Windows, make sure it is switched to Linux containers.
Open your terminal and execute just two commands to run this evaluation container:
1.Pull the latest image:
docker pull accusoft/prizmdoc-viewer-eval:latest
2. Run container:
docker run --rm -p 8888:8888 -p 3000:3000 -p 18681:18681 -e ACCEPT_EULA=YES --name prizmdoc-viewer-eval accusoft/prizmdoc-viewer-eval:latest
Please note that the environment variable ACCEPT_EULA=YES indicates that you have accepted the PrizmDoc Viewer license agreement.
Once you see “Application running at http://localhost:8888” in the console, open this URL in the browser to see the demo page:
The demo is running in evaluation mode with a fixed-feature set. Please refer to the accusoft/prizmdoc-viewer-eval DockerHub page for complete instructions on how to unlock all PrizmDoc Viewer features for in-depth evaluation.
Please note that the accusoft/prizmdoc-viewer-eval image is suitable for evaluation only, and you will need to use production images for development and deployment. We will touch on this in more depth in the next section. Download the rest of this technical whitepaper to learn more.