按照docker官方的4.16.0版本发行日志"4.16.0: (2023-01-12 Minimum OS version to install or update Docker Desktop on macOS is now macOS Big Sur (version 11) or later.)" , 这个4.16.0版本就必须要求最低版本os为 11版本, 所以 旧版本的macos 10.15 Catalina 支持的最高版本docker也就是 4.15.0 . Docker Engine v20.10.21 Kubernetes 版本为 v1.25.2
Docker-desktop 4.15.0官方下载地址
Docker Engine v20.10.21
Kubernetes v1.25.2
这个macos 10.15的 Docker desktop 最终版本安装后截图如下
Docker Desktop国内加速镜像地址,
这个版本是 Docker Desktop 4.1.1 (69879) 这个版本还没有扩展和插件功能
Docker Engine v20.10.8 Kubernetes v1.21.5
https://mirrors.aliyun.com/docker-toolbox/mac/docker-for-mac/stable/amd64/Docker.dmg
这个4.1.1版本安装后是这样的
brew 自定义cask安装方法
如果要使用brew来安装的话, 需要手动下载指定版本的的cask文件 , 因为新版本的cask默认是无法安装的-- 不支持!!!
bash
# Download Cask code for Docker Desktop 4.15.0,93002
curl https://raw.githubusercontent.com/Homebrew/homebrew-cask/1a83f3469ab57b01c0312aa70503058f7a27bd1d/Casks/docker.rb -O
# Install Docker Desktop from Cask Code
brew install --cask docker.rb --appdir=/Applications docker
# OR
# if Docker Desktop is already installed then reinstall from Cask Code
brew reinstall --cask docker.rb
使用macport 在macos 10.15上面 安装docker 26.0.0
注意,这个版本port可以直接安装, 但是是没有守护进程的docker cli应用
我们可以通过port命令来查看一下port中的可安装docker应用信息
port search --line --name --glob 'docker*'
docker 26.0.0 devel Utilities for the open-source application container engine
docker-base-plugin 0.3.0 devel Experimental Docker CLI plugin to detect base images
docker-buildx-plugin 0.13.1 devel Docker CLI plugin for extended build capabilities with BuildKit
docker-compose 1.29.2 python devel Define and run multi-container applications with Docker
docker-compose-plugin 2.29.1 devel Define and run multi-container applications with Docker
docker-credential-helper-ecr 0.8.0 sysutils Automatically gets credentials for Amazon ECR on docker push/docker pull
docker-credential-helper-osxkeychain 0.8.1 devel Docker credential helper for macOS
docker-index-plugin 0.0.35 devel Docker CLI plugin for indexing images
docker-machine 0.16.2 devel Machine management for a container-centric world
docker-machine-driver-qemu 20220617 devel Docker machine driver for pure qemu/kvm - no libvirt
docker-machine-parallels 2.0.1 devel Parallels driver for Docker Machine
dockerize 0.8.0 devel Utility to simplify running applications in docker containers
查看这个docker版本详情
port info docker
docker @26.0.0 (devel)
Description: Docker is an open source project to pack, ship and run any application as a lightweight container. This port
contains command line utilities for interacting with Docker, but not the core daemon.
Homepage: https://github.com/docker/cli
Build Dependencies: go, go-md2man
Platforms: darwin, freebsd, linux
License: Apache-2
Maintainers: Email: emcrisostomo@macports.org, GitHub: emcrisostomo
Policy: openmaintainer
port安装方法很简单, 直接 port install docker 即可. 这里不做描述, port安装使用方法见 macos MacPort 包管理工具安装和使用-CSDN博客