Access binaries inside docker

徘徊边缘 提交于 2019-12-25 02:57:16

问题


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


来源:https://stackoverflow.com/questions/30877328/access-binaries-inside-docker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!