Access binaries inside docker

2019-09-18 02:35发布

问题:

I am using Meteor and Meteur Up package to push a bundle to server. It uses docker. The problem is that I cannot access graphicsmagick or imagemagick from inside a docker to use it in my app. However it is installed on the server and I can access it when typing gm command. How can I make it accessable?

回答1:

It doesn't seem to be configurable at the moment based on this open issue. However, you could always fork the project and modify the start script to use your own custom docker image. If so, make sure you make it:

FROM meteorhacks/meteord:base