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)
- Docker Hub nightly readmes missing link to dotnet product family
- Git package installation failing for Azure Linux 3.0 on Arm64 HOT 3
- BlazorWasm test failure on Azure Linux 3.0
- Unable to find package Microsoft.NET.Sdk.WebAssembly.Pack with version (>= 9.0.0-preview.6.24307.2)
- [dnceng-bot] Branch `dotnet-docker/nightly` can't be mirrored to Azdo fast forward branch HOT 1
- Add support for Server 2025 HOT 1
- Is there any vulnerability or security issues in Chiseled images build with multistage docker file. HOT 1
- Re-enable PowerShell Arm32 tests for 9.0 HOT 1
- Azure Linux 3.0 and CBL Mariner 2.0 distroless images have hardcoded USER declaration with name instead of UID HOT 2
- Please display image sizes in MiB on the mcr.microsoft.com HOT 1
- Alpine based sdk,runtime-deps with alpine-3.19 and alpine-3.20 ar affected by CVE-2024-5535 HOT 1
- Consider using Docker custom build outputs (`--output`) for generated Dockerfiles and Readmes
- Re-enable aspnet app scenario test HOT 1
- Define common implementation for skipping tests HOT 1
- Clean up diffs in samples between main and nightly branches HOT 1
- Consider using Microsoft-built Golang images for Ubuntu Chisel infrastructure HOT 3
- Install Chisel tool from binaries instead of compiling from source
- Re-enable .NET 9 Windows ASP.NET scenario tests that were crashing due to Terminal Logger
- Family "ARM64v8" (only) pointing to "noble-arm64v8" HOT 4
- `zlib` statically linked for .NET 9; We need .NET 9-specific `runtime-deps` HOT 8
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.