Vagrant - Docker provider vs. docker provisioner

前端 未结 1 778
独厮守ぢ
独厮守ぢ 2020-12-30 02:50

Can anybody explain to me the difference?

Provisioner - is something doing provision - in docker installing, running, pulling containers.

Provider - is somet

相关标签:
1条回答
  • 2020-12-30 03:28

    Docker provisioner help to prepare environment: build and pull images, run containers if you need multiple containers running for your vagrant machine. Docker provider is running vagrant machine in docker container (instead of VM/cloud as other providers do).

    On Linux vagrant is using docker from the host OS. On Windows and MacOS X boot2docker is used for both docker provisioner and provider. By default all vagrant docker machines are using the same boot2docker instance - but you could configure which VM to use (It does not need to be boot2docker - any Linux with docker is ok).

    0 讨论(0)
提交回复
热议问题