A Docker Image with a solver (glpk) built-in

There is a public image on docker hub that has Pyomo and glpk. To use it, install docker, run docker, and then use a command like:

docker pull dlwoodruff/pyomoglpk

to get get the image. Once you have the image, you probably want to run it with a local file system mounted using a command like:

docker run -i -t -v /home/woodruff:/home/woodruff pyomoglpk /bin/bash

Depending on your environment, you may need to use sudo before the docker commands or you may need to do some work on a windows machine to make a mount available. Docker is well documented, so you can get more details on how to do these things. The main advantage of docker is that you could distribute your Pyomo model to someone who has docker, but does not want to, or cannot, install Python, Pyomo, and glpk. I realize that's a pretty small number of folks.