Comments (3)
So this was resolved. I attempted to run the application from / using dotnet run -p /app/MyApp.
However when the boilerplate application loads the appconfig.json, it is looking relative to the run directory.
using the WORKDIR directive in the docker file fixed the issue. I believe it was failing to load the configuration and thus the logging was not properly established.
from dotnet-docker.
@jdwilly2001 I was unable to repro this. For my web app, I see the ASP.NET logging by default when doing docker logs <container>
.
Have you verified that the web requests are successfully going through to your application when it's running in the Docker container? For example, if you go to http://localhost::<host_port>
in a web browser on the host machine (where host_port
is the host machine's port which is mapped to the container's port being used by the web application, which can be seen with docker ps
), does the web application load?
from dotnet-docker.
@jdwilly2001, were you able to work through this issue? If so, please feel free to close this issue. If not, please provide the information @naamunds requested.
Thanks
from dotnet-docker.
Related Issues (20)
- aspire-dashboard repository page is missing from Docker Hub
- Add support for Alpine 3.20 (once released) HOT 1
- Remove support for .NET 7.0 (EOL May 14, 2024) HOT 1
- Delete codeql variable template file in eng/common that doesn't exist in docker-tools HOT 2
- Add "New Linux Distro Release" checklist back to this repo HOT 1
- Remove Alpine 3.18 images for .NET 6 HOT 2
- Not all Alpine floating tags point to the correct Alpine versions HOT 4
- Debian Arm64 images are surpisingly big HOT 3
- Move .NET 8 Azure Linux 3.0 Images to main
- Create an HTTP/3 / QUIC sample HOT 1
- Proposal: Drop PowerShell from Alpine and Ubuntu SDK images for .NET 9+ HOT 2
- Latest Azure Linux 3.0 drop is getting TLS error during `dotnet restore` HOT 1
- Azure DevOps Pipelines test reporting shows incorrect test parameters
- Simplify AzureLinux 3.0 multi-stage build with non-root user HOT 1
- Automatic dependency update PRs should include version information HOT 3
- CVE-2024-32002 detected in sdk:8.0-alpine3.19-amd64 HOT 2
- Missing images for 28 May 2024 Release HOT 5
- Attach SBOMs to images in the container registry HOT 3
- 8.0.3-alpine3.19-amd64 , or 8.0.6-alpine3.19-amd64 uses 3.19 Alpine which is Vulnerable with CVE-2023-42363 HOT 3
- standard_init_linux.go:228: exec user process caused: exec format error after building docker image on MacBook M1 Max for linux/amd64 platform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-docker.