https://pulumi.com logo
#general
Title
# general
b

brainy-rainbow-11515

02/07/2024, 7:57 PM
Hi, I'm encountering an issue should have been resolved by https://github.com/pulumi/pulumi-docker/pull/863 and I am using
@pulumi/docker
version 4.5.1 but it keeps using the older version of the plugin. I explicitly installed 4.5.1 and removed 4.5.0 but it just reinstalls 4.5.0 when I try to deploy. How can I force pulumi to use version 4.5.1?
s

salmon-account-74572

02/07/2024, 8:18 PM
You may need to update your language-specific files (such as
package.json
and
package-lock.json
for TypeScript,
requirements.txt
for Python,
go.mod
for Go, etc.) to indicate what version you want to use.
b

brainy-rainbow-11515

02/07/2024, 8:25 PM
I have installed version 4.5.1 of the NPM package but it still uses version 4.5.0 of the plugin
Could the issue be that awsx is somehow making it use 4.5.0?
s

salmon-account-74572

02/07/2024, 8:28 PM
Assuming your
package.json
and
package-lock.json
are updated appropriately, then yes, it could be a dependency pulled in via AWSX.
b

brainy-rainbow-11515

02/07/2024, 8:29 PM
Do I have any option but to wait until the next release of awsx?
s

salmon-account-74572

02/07/2024, 8:45 PM
Unfortunately, no. Is this for a resource managed by AWSX, or a resource managed by a separate Docker provider? If the latter, you should be able to specify the version (via
package.json
and
package-lock.json
). If the former, then you’ll have to wait for an AWSX update.
b

brainy-rainbow-11515

02/07/2024, 8:46 PM
It's the former, sadly. Do you have any idea when the next release of AWSX will be?
s

salmon-account-74572

02/07/2024, 8:48 PM
What version are you currently on? v2.5.0 is the latest release, cut last week.
b

brainy-rainbow-11515

02/07/2024, 8:51 PM
2.5.0
s

salmon-account-74572

02/07/2024, 9:21 PM
Yeah, you’ll have to wait for the next release of AWSX. Let me see if I can get some insight on their release schedule (in the past it looks like they’ve been released about every 6 weeks or so, but I don’t know if that is their planned cadence).
@brainy-rainbow-11515 Apologies for the delay in getting back to you. If you'll file an issue on the AWSX repository explaining that you need the fix from Docker 4.5.1, they said they should be able to knock out a release within a couple days (possibly same day). Let me know if you have any questions or need any help!