Docker Community Forums

Share and learn in the Docker community.

Docker Compose doesn't work on Windows Server 2019

I have installed docker on windows 2019 server and Docker Engine service is running.

However, when I tried to run Docker-compose command, it gave me access denied error.

PS C:\windows\system32> docker-compose
Program ‘docker-compose.exe’ failed to run: Access is deniedAt line:1 char:1

  • docker-compose

At line:1 char:1

  • docker-compose
  •   + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
      + FullyQualifiedErrorId : NativeCommandFailed
    
    

Do you have any ideas?

PS C:\windows\system32> docker --version
Docker version 19.03.14, build e820475