Logo
Explore Help
Register Sign In
mirror/runc
1
0
Fork 0
You've already forked runc
mirror of https://github.com/opencontainers/runc.git synced 2026-07-11 06:03:57 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
2e2d568b83b80ede267f315578a7901a7986cfd0
runc/runtime-linux.md
T
Rob Dolin (MSFT) 109c2ec26b [Runtime Linux] Add anchor tags for headings
Signed-off-by: Rob Dolin <robdolin@microsoft.com>
2016-11-30 16:38:46 -08:00

880 B
Raw Blame History

Linux Runtime

File descriptors

By default, only the stdin, stdout and stderr file descriptors are kept open for the application by the runtime. The runtime MAY pass additional file descriptors to the application to support features such as socket activation. Some of the file descriptors MAY be redirected to /dev/null even though they are open.

Dev symbolic links

After the container has /proc mounted, the following standard symlinks MUST be setup within /dev/ for the IO.

Source Destination
/proc/self/fd /dev/fd
/proc/self/fd/0 /dev/stdin
/proc/self/fd/1 /dev/stdout
/proc/self/fd/2 /dev/stderr
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.1 Page: 141ms Template: 10ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API