Container tips and tricks: Difference between revisions
Jump to navigation
Jump to search
(Add categories: AI, Network, Reference) |
(Template migration to LLM-Optimized Wiki Template) |
||
| Line 1: | Line 1: | ||
== | {{Status | ||
|status=Draft | |||
|owner=Knowledge Agent | |||
|last_update=2026-07-16 | |||
|review=Pending | |||
}} | |||
{{TOC}} | |||
== Overview == | |||
Container tips and tricks에 대한 기술 문서입니다. | |||
=== Summary === | |||
* 무엇인가? - Container tips and tricks | |||
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념 | |||
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시 | |||
--- | |||
== Purpose == | |||
이 문서가 존재하는 이유 | |||
* Goal: Container tips and tricks에 대한 기술 정보 제공 | |||
* Scope: Container tips and tricks의 개념, 사용법, 설정 | |||
* Non-goals: 다른 주제로의 확장 | |||
--- | |||
== Key Concepts == | |||
{| class="wikitable" | |||
! Concept | |||
! Description | |||
! Related | |||
|- | |||
| Container tips and tricks | |||
| HPC/서버 환경에서 중요한 기술 개념 | |||
| [[Linux]], [[Server]] | |||
|} | |||
--- | |||
== Detailed Explanation == | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# journalctl --file=/var/log/journal/*/* --follow | # journalctl --file=/var/log/journal/*/* --follow | ||
Segmentation fault (core dumped) | Segmentation fault (core dumped) | ||
[ 1673.697349] journalctl[PID]: segfault at... | [ 1673.697349] journalctl[PID]: segfault at... | ||
# coredumpctl info <PID> | # coredumpctl info <PID> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Get container root directory path | # Get container root directory path | ||
$ container_root=$(sudo docker inspect --format '{{.GraphDriver.Data.MergedDir}}' <container_id>) | $ container_root=$(sudo docker inspect --format '{{.GraphDriver.Data.MergedDir}}' <container_id>) | ||
# Then we can access by creating a symlink to any subdirectory or file within the container | # Then we can access by creating a symlink to any subdirectory or file within the container | ||
$ sudo ln -s "$container_root/</path/to/mount>" <symlink_name> | $ sudo ln -s "$container_root/</path/to/mount>" <symlink_name> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<references /> | |||
--- | |||
== Best Practices == | |||
* 최신 버전 사용 권장 | |||
* 공식 문서 참고 | |||
* 테스트 환경에서 먼저 검증 | |||
--- | |||
== References == | == References == | ||
[[ | * [https://wiki.hpcmate.com Container tips and tricks] | ||
--- | |||
== Related Pages == | |||
* [[Linux]] | |||
* [[Server]] | |||
* [[Hardware]] | |||
* [[Network]] | |||
--- | |||
[[Category:AI]] | |||
[[Category:Reference]] | [[Category:Reference]] | ||
Revision as of 15:21, 16 July 2026
Overview
Container tips and tricks에 대한 기술 문서입니다.
Summary
- 무엇인가? - Container tips and tricks
- 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
- 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
---
Purpose
이 문서가 존재하는 이유
- Goal: Container tips and tricks에 대한 기술 정보 제공
- Scope: Container tips and tricks의 개념, 사용법, 설정
- Non-goals: 다른 주제로의 확장
---
Key Concepts
| Concept | Description | Related |
|---|---|---|
| Container tips and tricks | HPC/서버 환경에서 중요한 기술 개념 | Linux, Server |
---
Detailed Explanation
# journalctl --file=/var/log/journal/*/* --follow
Segmentation fault (core dumped)
[ 1673.697349] journalctl[PID]: segfault at...
# coredumpctl info <PID>
# Get container root directory path
$ container_root=$(sudo docker inspect --format '{{.GraphDriver.Data.MergedDir}}' <container_id>)
# Then we can access by creating a symlink to any subdirectory or file within the container
$ sudo ln -s "$container_root/</path/to/mount>" <symlink_name>
---
Best Practices
- 최신 버전 사용 권장
- 공식 문서 참고
- 테스트 환경에서 먼저 검증
---
References
---
Related Pages
---