0

I am new to Docker.

I am encountering below error while executing below command in windows 10

    docker-compose up

I tried below command and tried to install again but still facing the same error

    docker system prune -a

enter image description here

docker-compose.yml

    services:
    postgres:
      image: postgres:latest
      container_name: postgres
    environment:
     - "TZ=Europe/Amsterdam"
     - "POSTGRES_USER=docker"
     - "POSTGRES_PASSWORD=docker"
    ports:
     - "5432:5432"
    volumes:
      - "./sql:/docker-entrypoint-initdb.d"
James Z
  • 12,209
  • 10
  • 24
  • 44
smp97
  • 63
  • 6

0 Answers0