Docker安装

curl -fsSL https://get.docker.com | sh

安装后验证

docker version

docker compose version