First of all, install Docker on the host machine.
The easiest way to use the dockerized Meterian Client is via the script meterian-docker. It accepts all the standard parameters mentioned in the Meterian PDF manual exactly in the same way, but it cannot be used in interactive mode, therefore you will need to provide it with a valid token using the environment variable
METERIAN_API_TOKEN. We suggest you populate such variable in your startup script.
Assuming you put the script in your path, just move in the folder of your project and type:
meterian-docker [Meterian CLI Options]
Everything will work exactly like a normal invocation of the client. Please note that, by default, the script binds into the container the standard cache library folders used by the package managers (see the table below for the ones that we bind), so that the execution is as fast as it was running on your machine. If you really want you can avoid this by adding
--unbound to your command line arguments.
$(gem environment gemdir)/cache