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").
Perhaps the manual is a bit outdated. In recent versions of Docker,
docker-compose
is installed as a plugin for thedocker
command. So instead of usingdocker-compose up -d
, try usingdocker compose up -d
(note the white space between "docker" and "compose").