
[9주-9.27] Docker / 기반 기술 이해
Kubernetes/[구름] 쿠버네티스 전문가 양성 과정 k-digital
2022. 9. 29. 19:36
docker 시스템의 기반인 리눅스 기술들을 실습 chroot chroot /tomato /binbash - chroot 명령으로 현재 디렉토리를 루트 디렉토리로 변경 특정 디렉토리를 루트 디렉토리로 변경하려면 shell 바이너리와 공유 라이브러리를 복사해야함 ldd /bin/bash - /bin/bash 의 공유 라이브러리 확인 linux-vdso.so.1 (0x00007ffd953b5000) -> 가상 라이브러리로 복사할 필요 없는 파일 libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f1ae91fe000) -> bash가 동작할 때 필요한 라이브러 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000..