complete-computing-environment/podman.org

1.8 KiB

use PodMan for local container builds

I've been using the first-party Docker Community Edition repository for a while because I was incensed when Fedora Linux broke the "distro-supported" packages to use their own registries, and made it needlessly difficult to override to use the Docker Hub registries, and then Docker failed to port to the CGroup V2 hierarchy which Fedora enabled in version 32. Well, fine, you win. When I updated Fedora Linux to version 33, my Docker containers all lost networking and I can't be fucked to continue fighting with this. Congratulations Red Hat on another happy customer!

podman-docker is good enough to get my Dockerfiles to build, while my server still runs docker-ce. I'll have to address that elsewhere, CCE Server is largely an open thread still.

- name: purge docker-ce
  dnf:
    state: absent
    name:
    - docker-ce
    - docker-ce-cli
  tags:
  - podman

- name: purge docker-ce repository
  file:
    state: absent
    path: /etc/yum.repos.d/docker-ce.repo
  tags:
  - podman

- name: podman is installed
  dnf:
    state: installed
    name:
    - podman
    - podman-docker
  tags:
  - podman