From: Sungbae Yoo Date: Mon, 2 Nov 2015 08:32:48 +0000 (+0900) Subject: doc: Add the description of lxc.hook.stop to Korean lxc.container.conf(5) X-Git-Tag: lxc-2.0.0.beta1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=756f0ae856fa714f731d3935ed3daa409a31db85;p=thirdparty%2Flxc.git doc: Add the description of lxc.hook.stop to Korean lxc.container.conf(5) Update for commit 0a2b5ab Signed-off-by: Sungbae Yoo Acked-by: Stéphane Graber --- diff --git a/doc/ko/lxc.container.conf.sgml.in b/doc/ko/lxc.container.conf.sgml.in index f06e5593d..741003be7 100644 --- a/doc/ko/lxc.container.conf.sgml.in +++ b/doc/ko/lxc.container.conf.sgml.in @@ -1800,9 +1800,12 @@ mknod errno 0 Container name. Section (always 'lxc'). The hook type (i.e. 'clone' or 'pre-mount'). - Additional arguments In the + Additional arguments. In the case of the clone hook, any extra arguments passed to - lxc-clone will appear as further arguments to the hook. + lxc-clone will appear as further arguments to the hook. + In the case of the stop hook, paths to filedescriptors + for each of the container's namespaces along with their types + are passed. The following environment variables are set: @@ -1819,7 +1822,7 @@ mknod errno 0 컨테이너 이름 섹션 (보통 'lxc') 훅 종류 ('clone', 'pre-mount' 등) - clone 훅일 경우 추가인수. lxc-clone에 전달된 인수가 훅으로 전달된다. + 추가 인수. clone 훅일 경우, lxc-clone에게 넘였던 추가 인수들이 넘어온다. stop 훅일 경우, 컨테이너의 네임스페이스 각각에 대한 이름과 파일 디스크립터의 경로가 넘어온다. 환경 변수 : @@ -1936,6 +1939,31 @@ mknod errno 0 + + + + + + + + + 컨테이너가 종료된 후 컨테이너 네임스페이스에 대한 참조를 넘겨받는 호스트의 네임스페이스에서 실행되는 훅. + 각각의 네임스페이스들은 훅에 추가인수로 넘겨진다. 해당 인수는 네임스페이스의 이름과 네임스페이스의 파일 디스크립터를 얻어올 수 있는 파일이름을 가지고 있으며, 콜론으로 구분된다. + 네임스페이스 이름은 /proc/PID/ns 디렉토리 내의 파일 이름이다. 예를 들어 마운트 네임스페이스에 대응하는 인수는 일반적으로 mnt:/proc/PID/fd/12와 같이 된다. + + + +