Skip to content

Improve README.md documentation for Docker installation prerequisites#261

Merged
ericcurtin merged 1 commit intomainfrom
improve-readme-documentation
Oct 20, 2025
Merged

Improve README.md documentation for Docker installation prerequisites#261
ericcurtin merged 1 commit intomainfrom
improve-readme-documentation

Conversation

@ericcurtin
Copy link
Copy Markdown
Contributor

@ericcurtin ericcurtin commented Oct 19, 2025

User logged an issue, seems to be the difference between distro docker and the official one.

Summary by Sourcery

Enhance Docker installation documentation in README by adding distinct sections for Docker Desktop and Docker Engine, verification steps, and troubleshooting guidance for distro versus official Docker installations

Documentation:

  • Add separate Docker Desktop (macOS/Windows) and Docker Engine (Linux) installation sections
  • Include commands to verify the Docker Model Runner plugin availability
  • Introduce troubleshooting steps for removing distro Docker packages and reinstalling from Docker’s official repositories
  • Add note for NVIDIA DGX systems regarding Docker installation source

Copilot AI review requested due to automatic review settings October 19, 2025 12:07
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Oct 19, 2025

Reviewer's Guide

Reorganizes README installation section into platform-specific subsections, adds verification commands for the Docker Model Runner plugin, and introduces troubleshooting guidance to ensure users install Docker from the official repositories.

File-Level Changes

Change Details Files
Reorganized installation instructions into platform-specific subsections
  • Added “Docker Desktop (macOS and Windows)” heading
  • Moved existing Docker Desktop link under new heading
README.md
Added official Docker Engine installation instructions for Linux
  • Inserted curl-based install command from get.docker.com
  • Clarified that Model Runner is included when using official repos
README.md
Introduced verification steps for Docker Model Runner availability
  • Added commands to check “docker model --help”
  • Included “docker version” check
README.md
Included troubleshooting section for Docker installation source issues
  • Outlined steps to detect distro vs official Docker installation
  • Described removal of distro packages and reinstallation from Docker’s repo
  • Added NVIDIA DGX-specific note
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @ericcurtin, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the README.md documentation by providing clearer and more comprehensive instructions for installing Docker. It specifically addresses potential conflicts and issues that arise when users install Docker from their operating system's distribution repositories instead of Docker's official sources. The update aims to prevent common installation problems and improve the user experience by guiding them through verification and troubleshooting steps.

Highlights

  • Enhanced Docker Installation Guide: The README.md now provides a more detailed and structured guide for installing Docker Desktop on macOS/Windows and Docker Engine on Linux, emphasizing installation from official repositories.
  • Installation Verification: New instructions are included to verify the docker model command and Docker version post-installation, ensuring users have the correct setup.
  • Troubleshooting for Distro Docker: A dedicated troubleshooting section addresses common issues arising from installing Docker from distribution-specific repositories versus official Docker sources, providing clear steps for resolution, including removal and reinstallation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes - here's some feedback:

  • The note that “Docker Model Runner is included” appears twice under Desktop and Engine—consider merging or rephrasing to avoid redundancy.
  • You added several new headings; updating the README’s table of contents with anchors for Installation, Verifying Your Installation, and Troubleshooting would improve navigation.
  • It may be helpful to specify the minimum supported Docker version in the verification section so users know if their installation is up to date.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The note that “Docker Model Runner is included” appears twice under Desktop and Engine—consider merging or rephrasing to avoid redundancy.
- You added several new headings; updating the README’s table of contents with anchors for Installation, Verifying Your Installation, and Troubleshooting would improve navigation.
- It may be helpful to specify the minimum supported Docker version in the verification section so users know if their installation is up to date.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@ericcurtin
Copy link
Copy Markdown
Contributor Author

@wlliam-cox @ekcasey @xenoscopic do you think this is reasonable to close:

#257

?

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly improves the installation documentation in the README.md file by adding separate sections for Docker Desktop and Docker Engine, and providing crucial verification and troubleshooting steps. This will be very helpful for users, especially in resolving common issues related to using distro-packaged Docker versus the official Docker releases. The changes are clear and well-structured. I have a few suggestions to further improve the clarity and robustness of the troubleshooting instructions.

Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Clarifies installation prerequisites for Docker across Desktop and Engine, emphasizing installing from Docker’s official repositories and how to verify/troubleshoot availability of Docker Model Runner.

  • Adds OS-specific installation sections for Docker Desktop (macOS/Windows) and Docker Engine (Linux)
  • Introduces verification steps and a troubleshooting section differentiating distro packages vs. official Docker packages
  • Updates wording to state when Docker Model Runner is included

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md
@ericcurtin ericcurtin force-pushed the improve-readme-documentation branch from 6c1f1dd to 9f94383 Compare October 19, 2025 12:16
Comment thread README.md
docker model --help

# Or check Docker version
docker version
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.

or maybe docker model version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Lets add both

User logged an issue, seems to be the difference between distro docker and the official
one.

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
Copilot AI review requested due to automatic review settings October 20, 2025 09:20
@ericcurtin ericcurtin force-pushed the improve-readme-documentation branch from 9f94383 to cfc15ce Compare October 20, 2025 09:20
@ericcurtin ericcurtin merged commit e9faf0b into main Oct 20, 2025
3 of 4 checks passed
@ericcurtin ericcurtin deleted the improve-readme-documentation branch October 20, 2025 09:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread README.md

### Installation

### Docker Desktop (macOS and Windows)
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

[nitpick] Heading hierarchy is inconsistent: 'Installation' and its subsections use the same heading level (###). To reflect nesting, demote the subsection headers under 'Installation' (e.g., use #### for 'Docker Desktop', 'Docker Engine', 'Verifying Your Installation', and 'Troubleshooting').

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +51 to +59
```bash
# Check Docker version
docker version

# Check Docker Model Runner version
docker model version
```

Look for the source in the output. If it shows a package from your distro, you'll need to reinstall from Docker's official repositories.
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The 'docker version' output does not indicate the package source (distro vs Docker’s repo). Replace this guidance with package manager checks; for example on Debian/Ubuntu use 'apt-cache policy docker-ce docker.io' (or 'dpkg -l | grep -E "^(ii|hi)\s+(docker|docker.io|docker-ce|docker-ce-cli|containerd|containerd.io)"'), and on RHEL/Fedora use 'rpm -qi docker-ce' or 'dnf info docker-ce' to verify the repository.

Suggested change
```bash
# Check Docker version
docker version
# Check Docker Model Runner version
docker model version
```
Look for the source in the output. If it shows a package from your distro, you'll need to reinstall from Docker's official repositories.
For **Debian/Ubuntu**, check the package source using:
```bash
apt-cache policy docker-ce docker.io
# Or
dpkg -l | grep -E "^(ii|hi)\s+(docker|docker.io|docker-ce|docker-ce-cli|containerd|containerd.io)"

For RHEL/Fedora, use:

rpm -qi docker-ce
# Or
dnf info docker-ce

If the package is from your distro's repository (not Docker's official repo), you'll need to reinstall from Docker's official repositories.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +63 to +64
# Remove distro version (Ubuntu/Debian example)
sudo apt-get purge docker docker.io containerd runc
Copy link

Copilot AI Oct 20, 2025

Choose a reason for hiding this comment

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

The uninstall list may leave conflicting packages behind. Align with Docker's official guidance by also removing related packages like 'docker-doc', 'docker-compose', 'docker-compose-plugin', and 'podman-docker' (or link to the official 'Uninstall old versions' docs). Example: 'sudo apt-get remove docker docker-engine docker.io docker-doc docker-compose docker-compose-plugin containerd runc'.

Suggested change
# Remove distro version (Ubuntu/Debian example)
sudo apt-get purge docker docker.io containerd runc
# Remove old Docker versions and related packages (Ubuntu/Debian example)
sudo apt-get purge docker docker-engine docker.io docker-doc docker-compose docker-compose-plugin podman-docker containerd runc
# See Docker's official uninstall instructions for more details:
# https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants