Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine/install: sync between distros, use dnf for RHEL and CentOS, and some touch-ups #21384

Merged
merged 10 commits into from
Nov 8, 2024

Conversation

thaJeztah
Copy link
Member


  • engine/install: enable engine as system service on rpm installs
    Unlike deb-based systems, installing an rpm doesn't automatically start the Docker service, and starting the service doesn't make it automatically start on (re)boot. Update the instructions so that Docker is automatically started on boot. follow-up to 1514b0d, which left some of the old instructions.
  • engine/install: Docker -> Docker Engine
    Make it more clear we're starting the engine (not "docker", the CLI).
  • engine/install: remove -y from yum installation steps
    Use interactive installation for packages from our repository, so that the user can confirm what will be installed. For the distro-packages (yum-utils), we keep the non-interactive, as these should be generally ok to install. follow-up to fde4750
  • engine/install: use dnf for CentOS and RHEL
    The versions of CentOS and RHEL we support now have dnf as a default instead of yum, so rewrite these to use dnf.
  • engine/install: fix leftover old version in ubuntu
  • engine/install: fix indentation in debian, raspberry-pi-os
  • engine/install: fix some stray whitespace
  • engine/install: ubuntu/rpi-os: sync uninstall with debian steps
  • engine/install: sync some wording between distros

Description

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@thaJeztah thaJeztah added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Nov 8, 2024
@thaJeztah thaJeztah self-assigned this Nov 8, 2024
Copy link

netlify bot commented Nov 8, 2024

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 898aa4d
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/672e1531cf9a500008b87560
😎 Deploy Preview https://deploy-preview-21384--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@dvdksn dvdksn left a comment

Choose a reason for hiding this comment

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

🤦🏻 ignore me, I was looking at the wrong file.

dvdksn
dvdksn previously approved these changes Nov 8, 2024
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Unlike deb-based systems, installing an rpm doesn't automatically
start the Docker service, and starting the service doesn't make
it automatically start on (re)boot.

Update the instructions so that Docker is automatically started
on boot.

follow-up to 1514b0d, which left
some of the old instructions.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Make it more clear we're starting the engine (not "docker", the CLI).

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Use interactive installation for packages from our repository, so that the user
can confirm what will be installed. For the distro-packages (yum-utils),
we keep the non-interactive, as these should be generally ok to install.

follow-up to fde4750

Signed-off-by: Sebastiaan van Stijn <[email protected]>
The versions of CentOS and RHEL we support now have dnf as a default
instead of yum, so rewrite these to use dnf.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@dvdksn dvdksn merged commit cf53465 into docker:main Nov 8, 2024
14 checks passed
@thaJeztah thaJeztah deleted the sync_install branch November 8, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon area/install Relates to installing a product area/tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants