Why Docker build ends with SIGINT?

  docker, docker-build, docker-desktop, sigint

Windows 10, DockerDesktop v3.5.2, Docker v20.10.7

Why docker build ends with SIGINT in the following situation?

Dockerfile

FROM postgres:12.6-alpine

ENV POSTGRES_DB=my_db
ENV POSTGRES_USER=admin
ENV POSTGRES_PASSWORD=admin_pwd

Output of command docker build -t my_images/postgres .

Sending build context to Docker daemon   21.5kB
Step 1/5 : FROM postgres:12.6-alpine
 ---> bc493ea5711b
Step 2/5 : ENV POSTGRES_DB=my_db
Invalid signal: SIGINT

> docker version

Client:
 Cloud integration: 1.0.17
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df350
 Built:             Wed Jun  2 12:00:56 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:56:41 2021
  OS/Arch:          windows/amd64
  Experimental:     true

Source: Docker Questions

LEAVE A COMMENT