Home  >  Q&A  >  body text

docker的volume里npm安装出错

我在docker-compose里的volume挂载了本地目录到docker
然后在docker的目录里run npm install
报了一个错误

EBUSY: resource busy or locked, rmdir '/data/analytics/node_modules/@plugins/View'

不知道该如何解决

PHP中文网PHP中文网2755 days ago700

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-04-27 09:05:32

    This is a question of execution order. The volume in compose is executed after the image is built.

    reply
    0
  • Cancelreply