Can you use a provisioner with Docker as the provider?

I’m trying to get a provisioner working when Docker is used as a provider. When I try using the shell provisioner, nothing is outputted when running vagrant provision:


Vagrant.configure("2") do |config|
  config.vm.provider "docker" do |d|
    d.image = "debian"
    d.create_args = ["-i"]
    d.privileged = true

  config.vm.provision "shell",
    inline: "echo Hi"

Does the provisioner only work with VMs or something?

Docker is commonly used as a provider with infrastructure-as-code (IaC) tools such as Terraform. However, the concept of a “오픽 등급” is more closely associated with tools like Terraform rather than Docker itself.