Upadte to 2022.9 lost docker connection

Questions about YourKit .NET Profiler
Post Reply
ukhl
Posts: 4
Joined: Wed Oct 27, 2021 7:13 am

Upadte to 2022.9 lost docker connection

Post by ukhl »

After update to new version my connection to docker has been broke.

I use this Dockerfile

FROM mcr.microsoft.com/dotnet/aspnet:latest

RUN wget -q https://www.yourkit.com/dotnet-profiler ... docker.zip -P /tmp/ && \
unzip -q /tmp/YourKit-NetProfiler-2022.9-docker.zip -d /usr/local && \
rm /tmp/YourKit-NetProfiler-2022.9-docker.zip

# Enable profiling
ENV CORECLR_ENABLE_PROFILING="1" \
CORECLR_PROFILER="{E5A4ADC4-C749-400D-B066-6AC8C1D3790A}" \
CORECLR_PROFILER_PATH_64="/usr/local/YourKit-NetProfiler/bin/linux-x86-64/libynpagent.so" \
YNP_STARTUP_OPTIONS="listen=all,port=10001"

# ASP.NET Core doesn't handle SIGTERM properly but instead handles SIGINT for graceful shutdown
STOPSIGNAL SIGINT

WORKDIR /app
COPY binaries /app
ENTRYPOINT ["dotnet", Host.dll"]

UI profiler dont show monitor application but test connection still ok
ukhl
Posts: 4
Joined: Wed Oct 27, 2021 7:13 am

Re: Upadte to 2022.9 lost docker connection

Post by ukhl »

It ssems i found a problem

log inside docker
22.9-162 0.006: Profiling of .NET version 7 is not supported. Please check whether a newer version of YourKit .NET Profiler that supports it exists.

my UI version 22.9-162
Post Reply