green-morning-1318
05/11/2019, 6:04 PMpulumi up
I get the error:
Diagnostics:
pulumi:providers:docker (default):
error: no resource plugin 'docker' found in the workspace or on your $PATH
Where can I find the list of supported plugins? I read that I'd need to run pulumi plugin install ...
but I can't find the right command for the docker pluginwhite-balloon-205
npm install
(or equivalent). In general, you should not need to run pulumi plugin install
.
Curious:
1. Are you using JS/TS or Python?
2. Did you run npm install
or similar? And did it succeed?
3. What OS are you on?
4. What does pulumi plugin ls
show you?
To unblock, you should be able to just run pulumi plugin install resource docker 0.17.0
.green-morning-1318
05/11/2019, 6:15 PMpulumi plugin install resource docker 0.17.0
did indeed solve it 🙂 to answer your questions:
1) Go
2) The go get for pulumi-docker didn't work and threw an error (cannot use (*Provider)(nil) (type *Provider)...
)
3) macOS Mojave
4) it didn't have anything before, but now it shows the docker plugin and my docker container runswhite-balloon-205
1) GoAhh - indeed - this process is not automated for Go. This is tracked in https://github.com/pulumi/pulumi/issues/1549. Any Go example/tutorial should include the explicit mention of this required step. Curious which one you were using that missed this?
2) The go get for pulumi-docker didn't work and threw an error (Any more details on what you did here (and what guide you were following?). This works for me:)cannot use (*Provider)(nil) (type *Provider)...
$ go get <http://github.com/pulumi/pulumi-docker/sdk/go/|github.com/pulumi/pulumi-docker/sdk/go/>...
green-morning-1318
05/11/2019, 6:23 PMwhite-balloon-205
green-morning-1318
05/11/2019, 6:32 PM