https://redocly.com/redocly-cli
Gives the docker command:
docker run --rm -v $PWD:/spec redocly/openapi-cli lint path-to-root-file.yaml
That docker image redocly/openapi-cli is over 2 years old. The command should be using redocly/cli instead.
Same with build-docs