I'm wondering if it is possible to test out a docker image that simulates what happens on the Synapse server locally? This way, a lot of errors can be eliminated before the image is pushed to the cloud. It also saves our running time quota. Can anyone show an example? Thanks!

Created by Li Shen thefaculty
You would create your image as usual, then ``` $docker run ``` run using a command (-v) to mount the respective external volume to the internal volume mount point. The pilot images might be enough to smoketest your code. You should also set whatever ENV variables would be needed internally, and think about the biggest problem, which is what shims you need do make the GPU accessible.
I'm also interested in knowing if there is a way to run docker images similarly to how the servers will.

How to test docker images locally? page is loading…