Perhaps the manual is a bit outdated. In recent versions of Docker, docker-compose is installed as a plugin for the docker command. So instead of using docker-compose up -d, try using docker compose up -d (note the white space between "docker" and "compose").