Skip to content

Commit

Permalink
Don't dependend on libcgroup on RHEL/CentOS, as it is deprecated (and…
Browse files Browse the repository at this point in the history
… removed from RHEL/CentOS >= 9)

Signed-off-by: Romain Geissler <romain.geissler@amadeus.com>
  • Loading branch information
Romain-Geissler-1A committed Mar 7, 2022
1 parent 69ac65f commit 6edb7d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpm/SPECS/docker-ce.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ Requires: container-selinux >= 2:2.74
Requires: libseccomp >= 2.3
Requires: systemd
Requires: iptables
%if ! 0%{?rhel}
# Libcgroup is deprecated on all RHEL/CentOS distros.
Requires: libcgroup
%endif
Requires: containerd.io >= 1.4.1
Requires: tar
Requires: xz
Expand Down

0 comments on commit 6edb7d9

Please sign in to comment.