Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Docker ASP.NET 5 beta4 kestrel doesn't keep in running state #73

Closed
shrutikamendhe opened this issue Jul 1, 2015 · 2 comments
Closed

Comments

@shrutikamendhe
Copy link

My requirement is to define a bash script file as an ENTRYPOINT for docker container instead of dnx command. I have created one bash script file and starting kestrel engine from this file. Below is code of startup bash script file...

#!/bin/bash
exec dnx . kestrel

I have verified that, when I am running startup bash file from inside container, the kestrel is started but when I am hit enter or any key the server stopped. The dnx . kestrel command runs and exit without waiting for terminate signal.

@ahmetb
Copy link
Contributor

ahmetb commented Jul 1, 2015

Hi, that's a known issue in dnx at the moment.

Please check these other reports of the problem and the workarounds suggested:

I'm not sure if this is fixed in 1.0.0-beta5 but we'll be pushing the beta5 image out soon.

@ahmetb ahmetb closed this as completed Jul 1, 2015
@shrutikamendhe
Copy link
Author

Thanks Ahmet, my container is running now and kestrel is also in running state :)

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

No branches or pull requests

2 participants