Skip to content

Instantly share code, notes, and snippets.

@yyoda
Created April 14, 2020 00:36
Show Gist options
  • Select an option

  • Save yyoda/2db0c258be38d7fd72dbb5b2f9563dcb to your computer and use it in GitHub Desktop.

Select an option

Save yyoda/2db0c258be38d7fd72dbb5b2f9563dcb to your computer and use it in GitHub Desktop.
.NETCore 実行中コンテナからダンプを採取して解析するまでの手順

Dump

see https://hub.docker.com/r/yyoda/dotnet-lldb/

Transfer dumpfile from container to host. (at host)

docker cp {CONTAINER_ID}:/tmp/coredump.1 ~

Transfer dumpfile from container to bastion. (at bastion)

scp {IP}:~/coredump.1 .

Launch the analysis container.

docker run --rm -it -v e:/Temporary:/data {IMAGE_ID} /bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment