Can a single client manage two Podman instances?

Hi,

I’ve installed Podman to run both as root and also as a normal user account for rootless containers. I’d like to use Nomad and select the “flavor” of Podman to use for each container.

For example:

job "twix" {
  group "pack" {
    task "root" {
      driver = "podman"
      config {
        image = "docker.io/library/hello-world:latest"
      }
    }
    task "rootless" {
      driver = "podman-rootless"
      config {
        image = "docker.io/library/hello-world:latest"
      }
    }
  }
}

Would something like this be possible?