mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fix the min allowed Docker version.
This commit is contained in:
parent
524cdba101
commit
1a3419f970
@ -110,7 +110,7 @@ func (s *Server) error(w http.ResponseWriter, err error) {
|
||||
}
|
||||
|
||||
func isValidDockerVersion(ver []uint) (bool, string) {
|
||||
minAllowedVersion := []uint{1, 3, 0}
|
||||
minAllowedVersion := []uint{1, 15}
|
||||
for i := 0; i < len(ver) && i < len(minAllowedVersion); i++ {
|
||||
if ver[i] != minAllowedVersion[i] {
|
||||
if ver[i] < minAllowedVersion[i] {
|
||||
|
Loading…
Reference in New Issue
Block a user