Skip to content

docs(hosting): document keeping the Docker setup up to date#2361

Open
Soner (shyim) wants to merge 4 commits into
mainfrom
docs/docker-update-guide
Open

docs(hosting): document keeping the Docker setup up to date#2361
Soner (shyim) wants to merge 4 commits into
mainfrom
docs/docker-update-guide

Conversation

@shyim

Copy link
Copy Markdown
Member

Why

User feedback asked us to document the recommended way to keep a Docker-based Shopware environment up to date — and specifically the combined upgrade path (e.g. Docker image with PHP 8.2 / Shopware 6.6 → PHP 8.5 / Shopware 6.7). The existing Docker Image guide helps users get a container running but never explains how to maintain it afterwards, which leaves shops (especially smaller ones) running outdated, unpatched PHP.

What

Adds a "Keeping the setup up to date" section to guides/hosting/installation-updates/docker.md:

  • Clarifies the three separate things that get updated (PHP base image, Shopware, own code) and how each differs — directly answering the "what up to date? php? shopware? plugins?" question from the thread.
  • An "Am I affected?" check: php -v inside the container plus image scanning with Trivy / Grype.
  • Recommends scanning on a schedule and rebuilding only when a scan finds a vulnerability, rather than blind daily rebuilds.
  • The full rebuild-and-redeploy commands tied to the compose setup already on the page, with an explicit warning that build ≠ deploy.
  • The recommended combined Shopware + PHP major upgrade path as separate, ordered steps, with backups and a warning against multi-major jumps.

Written for the non-expert shop owner, since that's who most often hits this problem.

Notes

  • Cross-links to the existing performing-updates.md and system-requirements.md rather than duplicating the general update procedure.
  • Verified ::: warning/::: danger containers and <PageRef> (no .md extension) match existing repo conventions.
Add a 'Keeping the setup up to date' section to the Docker Image guide
covering the three things that need updating (PHP base image, Shopware,
own code) and how they differ.

- Explain that a container built once keeps running outdated PHP unless
  it is rebuilt and redeployed, and that build != deploy.
- Add an 'Am I affected?' check via 'php -v' and image scanning with
  Trivy/Grype; recommend scanning on a schedule and rebuilding only when
  a scan finds a vulnerability, rather than blind daily rebuilds.
- Document the full rebuild-and-redeploy commands using the compose
  setup from the page.
- Describe the recommended combined Shopware + PHP major upgrade path
  (e.g. 6.6/PHP 8.2 to 6.7/PHP 8.5) as separate, ordered steps.
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Jul 1, 2026

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 748b764
Preview: https://developer-documentation-amizvve4k-shopware-frontends.vercel.app
Workflow run: #4323

Comment thread guides/hosting/installation-updates/docker.md Outdated
@shyim Soner (shyim) marked this pull request as ready for review July 1, 2026 07:02
Copilot AI review requested due to automatic review settings July 1, 2026 07:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new maintenance-focused section to the Docker-based hosting guide to help users keep their Shopware runtime and dependencies up to date over time, with practical checks, scanning guidance, and a safe major-upgrade sequence.

Changes:

  • Adds a “Keeping the setup up to date” section explaining what needs updating (PHP base image vs. Shopware vs. custom code) and how to validate current versions.
  • Documents a scan-driven rebuild/redeploy workflow (Trivy/Grype + docker compose build --pull + docker compose up -d) and warns about build vs. deploy.
  • Extends the spellcheck wordlist with new terms introduced in the docs (e.g., CVEs, Trivy, Grype).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
guides/hosting/installation-updates/docker.md Adds guidance and step-by-step instructions for keeping a Docker-based Shopware setup updated, including scanning and major upgrade sequencing.
.wordlist.txt Adds newly used security/tooling terms to the accepted spellcheck wordlist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread guides/hosting/installation-updates/docker.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Isengo1989 Micha Hobert (Isengo1989) added the Improvement PR created to append/modify info in the existing article label Jul 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement PR created to append/modify info in the existing article

5 participants