# What changed in @pulumi/docker

> 8 changes in @pulumi/docker 4 to 5 from its official release notes, upgrade guides and advisories: 2 breaking. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/@pulumi/docker/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @pulumi/docker 5

### Breaking changes

- The docker_compose resource was removed, so configurations using it must be migrated. (5.1.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.1.0)
- The docker service default patch was removed, potentially changing default resource behavior. (5.1.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.1.0)

### Behavior and default changes

- Upgraded the Docker Terraform provider to v4.6.0, which may affect Docker resource behavior. (5.2.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.2.0)
- BuildKit session failures are logged as warnings instead of errors. (5.1.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.1.0)
- The repoDigest output now prefers the digest returned by the push response. (5.1.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.1.0)

### Tooling

- Upgraded the underlying Docker Terraform provider to v4.2.0. (5.0.0) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v5.0.0)

## @pulumi/docker 4

### Behavior and default changes

- Plugins are pinned, which may affect provider plugin resolution when running deployments. (4.11.1) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v4.11.1)

### Fixes and other changes

- Fixes 403 Forbidden errors on Docker Hub when using Go 1.25. (4.11.2) — [release notes](https://github.com/pulumi/pulumi-docker/releases/tag/v4.11.2)
