-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
vNext MVC image gets killed/stopped after 3-4 seconds of working #547
Comments
I noticed that running docker with:
gives me errors (saying that classes from my class library doesn't exist) - what are the differences between those 2 calls? |
@wisien92 those command arguments are described here: https://docs.docker.com/reference/commandline/cli/#run |
ok so by running without -d I can see why the image is closed -> the reason is my class library, now I wander how do I properly add the library to project ? |
I have removed ClassLibrary from project and it started. Can anyone tell me why is that? |
/cc: @ahmetalpbalkan |
@muratg not a Docker issue. This is known for a very long time. aspnet/Hosting#59 @wisien92 to unblock yourself try making your entrypoint:
|
Oh, this issue. /cc: @victorhurdugaci |
I have a PR that will allow you to configure how the server stops. aspnet/Hosting#253 |
This should be fixed as part of aspnet/Hosting#140 |
Hi,
I have successfully installed docker on Linux VM and started sample from git.
Now I want to run my procject. So I created image (which was built successfully) using command:
And when I start it with command:
and when cheking using docker ps it is running but when 3 or 4 second of up time passes i check again with docker ps and it's gone. When I run project on windows machine it works flawlessly - so i belive i have something wron in project.json or in docker.
Here is my project.json:
Utilities is a ASP.Net 5 Class Library.
And here is my Dockerfile :
I have heared that with linux docker it is possible that it only accept aspnetcore50 freamework - if that's the case is there a way to use SSL streams and Timers? If someone who has experience with this could help me I would really appreciate this :)
The text was updated successfully, but these errors were encountered: