I added the repo for docker-ce then went to install it and I get a conflict error message. When I go to remove moby-engine it says it is not installed. How do I install the official docker-ce package? Error message:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker docker-compose-plugin
Last metadata expiration check: 0:03:08 ago on Mon 19 Aug 2024 03:34:24 PM EDT.
Error:
Problem: conflicting requests
package docker-ce-cli-1:26.0.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.0-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.0.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.1-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.0.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.2-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.1.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.0-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.1.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.1-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.1.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.2-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.1.3-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.3-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:26.1.4-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.4-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.0.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.1-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.0.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.2-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.0.3-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.3-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.1.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.0-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.1.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.1-1.fc40.x86_64 from docker-ce-stable
package docker-ce-cli-1:27.1.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.2-1.fc40.x86_64 from docker-ce-stable
sudo dnf --allowerasing install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker docker-compose-plugin
Last metadata expiration check: 0:28:52 ago on Tue 20 Aug 2024 10:16:25 AM EDT.
Error:
Problem: conflicting requests
- package docker-ce-cli-1:26.0.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.0-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.0.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.1-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.0.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.0.2-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.1.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.0-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.1.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.1-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.1.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.2-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.1.3-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.3-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:26.1.4-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:26.1.4-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.0.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.1-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.0.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.2-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.0.3-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.0.3-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.1.0-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.0-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.1.1-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.1-1.fc40.x86_64 from docker-ce-stable
- package docker-ce-cli-1:27.1.2-1.fc40.x86_64 from docker-ce-stable conflicts with docker provided by moby-engine-24.0.5-4.fc40.x86_64 from fedora
- package moby-engine-24.0.5-4.fc40.x86_64 from fedora conflicts with docker-ce-cli provided by docker-ce-cli-1:27.1.2-1.fc40.x86_64 from docker-ce-stable
(try to add '--skip-broken' to skip uninstallable packages)
I’m not a docker expert, but with my limited use of containers I could do everything with podman projects tools. Build a container, specialise a container, run a container.