speccy icon indicating copy to clipboard operation
speccy copied to clipboard

Docker: serve can not be quit using Ctrl+C

Open jonashaag opened this issue 5 years ago • 2 comments

Reproduce:

  • Run docker run -it ... serve ...
  • Press Ctrl+C

Expected behaviour: Server shuts down and Docker container is stopped.

Actual behaviour: Nothing happens

jonashaag avatar Feb 20 '20 11:02 jonashaag

Same:

$ docker run -it -p 5000:5000 --volume `pwd`:/app --workdir /app  wework/speccy:latest serve doc/openapi/v4/main.yml
API specifications server running!
HTML:          http://localhost:5000
JSON Specs:    http://localhost:5000/spec.json
^C

does not quit, I have to restart the docker daemon each time

ychaker avatar Mar 18 '20 21:03 ychaker

Nobody maintains this package, please use https://github.com/stoplightio/spectral and let us know if there's any trouble with docker there.

philsturgeon avatar Apr 04 '20 21:04 philsturgeon