Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/env/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Bug Fixes

- Update git sources to the latest commit when `--update` is passed. Previously, a source pointing at a branch (such as `"core": "WordPress/WordPress"`) stayed at the commit it was first cloned at, no matter how many times it was updated.
- Do not fail `wp-env start` when docker images cannot be pulled (e.g., the Docker registry is unreachable); fall back to locally cached images and show a notice instead. ([#72477](https://github.com/WordPress/gutenberg/issues/72477))
Comment thread
jorgefilipecosta marked this conversation as resolved.
Resolved

## 11.13.0 (2026-08-12)

Expand Down
12 changes: 11 additions & 1 deletion packages/env/lib/runtime/docker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,17 @@ class DockerRuntime {
// stop wp-env from working correctly.
}

await dockerCompose.pullAll( dockerComposeConfig );
try {
await dockerCompose.pullAll( dockerComposeConfig );
} catch {
// Note: pulling the images requires connecting to the Docker
// registry, which may be unavailable (e.g., offline or an
// outage). Locally cached images will be used instead, so this
// error should not stop wp-env from working correctly.
spinner.info(
'Could not pull docker images; using cached images instead.'
);
}
spinner.text = 'Downloading sources.';
}

Expand Down
Loading