Docker Community Forums

Share and learn in the Docker community.

Docker-compose command not working on Windows 10


(Byander) #1

I have Docker for Windows 10 and always and it has worked well.

But today not working anymore. If I give a docker-compose up nothing happens, it just goes to the bottom line. The commands docker-compose up, docker-compose build, docker-compose -v, nothing happens, no error, just goes to the bottom line.

I uninstalled docker and I disabled Hyper-V, I installed all again and it did not work.

One example of the docker-compose.yml

version: '3'

volumes:
  data:
services:
  db:
    image: mysql:5.7
    ports:
      - "3306:3306"
    volumes:
      - data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_DATABASE=db

Thank’s.


(Hvianna) #2

I can confirm the problem as well.

I just installed Docker version 18.06.1-ce-win73 (19507) and docker-compose simply doesn’t work. Tried it on both Powershell and classic command prompt. No error message. It just exits silently without any effect.

Edit: found a related issue on GitHub - https://github.com/docker/for-win/issues/2699


(Byander) #3

Thanks hvianna! I downgrade to version 17.12.0-ce-win47 and it’s works.