Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: serve can not be quit using Ctrl+C #397

Open
jonashaag opened this issue Feb 20, 2020 · 2 comments
Open

Docker: serve can not be quit using Ctrl+C #397

jonashaag opened this issue Feb 20, 2020 · 2 comments

Comments

@jonashaag
Copy link

Reproduce:

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

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

Actual behaviour: Nothing happens

@ychaker
Copy link

ychaker commented Mar 18, 2020

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

@philsturgeon
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants