Docker Community Forums

Share and learn in the Docker community.

DOCKER COMPOSE on WINDOWS 2016 TP5


(3107) #1

Expected behavior

Actual behavior

Information

  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior


(3107) #2

I gone thorugh the below link and trying to deploy MusicStore app. PLEASE DO THE NEEDFUL on my reported issue.

Getting error while executing below PS on my host which is running on windows 2016 TP5 for MusicStore app.

PS C:\windows\system32> docker-compose -f .\src\MusicStore\docker-compose.yml up

docker-compose : The term ‘docker-compose’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • docker-compose -f .\src\MusicStore\docker-compose.yml up
  •   + CategoryInfo          : ObjectNotFound: (docker-compose:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

I am attaching my docker images for your reference

PS C:\windows\system32> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
sqlserver 2016 75c064429cd0 2 hours ago 8.913 GB
dotnet-iis-base-image latest eff9ff076907 3 weeks ago 8.246 GB
my-dotnet-app latest a4d497b514ce 5 weeks ago 7.94 GB
c7e73e171b5c 5 weeks ago 8.918 GB
microsoft/mssql-server-2014-express-windows latest 5488a4ca54e0 6 weeks ago 10.15 GB
microsoft/dotnet windowsservercore 1e21a0790e96 6 weeks ago 8.111 GB
microsoft/dotnet35 latest 19f2f5823388 7 weeks ago 8.599 GB
microsoft/iis latest accd044753c1 7 weeks ago 7.907 GB
microsoft/windowsservercore 10.0.14300.1030 02cb7f65d61b 3 months ago 7.764 GB
microsoft/windowsservercore latest 02cb7f65d61b 3 months ago 7.764 GB

Thanks in Advance… Best Regards RAVI – RKRK8083@GMAIL.COM


(Patrick Lang) #3

per https://github.com/docker/compose/releases, this should be installed with Docker for Windows. Are you up to date?