# python


05/12/2020, 9:51 PM
I've just messed with the pulumi-docker library, my initial hope was to create a cloud vm with docker installed /w Pulumi and then also with pulumi specify the container and command to run in docker on that vm. So far I've got the impression that's not possible, am I right? Going to bed right now, won't answer 'till tomorrow, thanks in advance for reading.


05/12/2020, 10:03 PM
It's possible, but not solely with pulumi-docker and depends on your actual cloud provider. The most generic way to do it would be to create a VM and provide a startup/userdata script to it that installs and runs docker. Some of the providers have more purpose-built solutions. Here's how you can do it with Google Cloud - Azure has Container Instances for example.