SYD-OCI(1)
π¦ syd-oci β the manual, but make it make sense π
okay so bestie, you know syd-oci? it's the OCI container runtime β like, the thing that makes containers go brrr inside the syd(1) world β¨ (this is the General Commands Manual page for it, obviously, iykyk)
β¨ SYNOPSIS β¨
syd-oci [OPTIONS] [COMMAND]
that's it. that's the whole vibe. [OPTIONS] then optionally a [COMMAND]. slay.
πΈ DESCRIPTION πΈ
syd-oci is an OCI container runtime implementation for syd(1). no cap, that's literally it.
and like, all the common subcommands are supported, and by all I mean:
createstartstatekilldeletepauseresumeexecrunlistpsspeceventsfeaturesupdate
checkpoint/restore support is planned in the near future (manifesting it π―οΈβ¨). for more info, go look at the respective youki issue: https://github.com/youki-dev/youki/issues/142
π INTEGRATION π
so syd-oci is a thin wrapper around youki(1) that integrates the syd(1) sandbox into containers. it's compatible with docker(1) and podman(1) β both of them, periodt π
to get syd-oci, you should build syd(1) with the oci feature. (yes this matters, don't skip it π)
π using it with docker(1)
you have two options, bestie, pick your fighter:
- start
dockerd(8)manually with the option--add-runtime=syd-oci=/bin/syd-oci, and then do for exampledocker run -it --runtime=syd-oci alpinewhen starting containers. - add the following snippet to your
/etc/docker/daemon.jsonfile:
{
"runtimes": { "syd-oci": { "path": "/bin/syd-oci" } },
"default-runtime": "syd-oci"
}
β οΈ heads up: you may need to adapt the path to syd-oci depending on your installation. the paths in this manual aren't one-size-fits-all, ok? π«Ά
π§ using it with podman(1)
similar vibe, honestly. just pass --runtime=/bin/syd-oci as an option to podman run.
π CONFIGURATION π
the configuration directory of syd-oci is one of the following:
- For system-wide containers:
/etc/syd/oci - For rootless containers, one of the following:
${XDG_CONFIG_HOME}/syd/ociwhereXDG_CONFIG_HOMEis usually~/.config.${HOME}/.syd/ociifXDG_CONFIG_HOMEis not set.
β the load order (this is the main character moment)
syd-oci attempts to configure the syd(1) sandbox in the following order, and parses the first file or profile it locates and then stops processing. the environment variable SYD_OCI_NO_CONFIG may be set to skip to the final step. (yes, an env var that just skips to the end, iconic π)
- If
hostnameanddomainnameis defined for the container, try to load${SYD_CONFIG_DIR}/${hostname}.${domainname}.syd-3. - If
domainnameis defined for the container, try to load${SYD_CONFIG_DIR}/${domainname}.syd-3. - If
hostnameis defined for the container, try to load${SYD_CONFIG_DIR}/${hostname}.syd-3. - Try to load
${SYD_CONFIG_DIR}/default.syd-3 - Load the builtin
ociprofile. this profile is designed to be combined withpandora(1)and learning mode. seesyd-cat -p ocifor the list of rules. π₯
SYD_CONFIG_DIR in the items above refers to the configuration directory. refer to syd(5) for the syntax of syd(1) configuration files and syd(2) for a list of configuration items syd(1) understands. a vim(1) syntax highlighting file is also provided to easily edit syd(1) configuration files. use syd-cat file.syd-3 to check a syd(1) configuration file for syntax errors. π¦
located configuration is recorded verbatim at create in the org.exherbo.syd.config annotation of the container, from which the sandbox is initialized thereafter, so exec processes share the sandbox rules of the init process. so like, everyone's on the same page. cute.
π and finally, note thatincludedirectives are not supported insyd-ociconfiguration files. this is to ensure main process and exec processes share the same sandbox rules. no exceptions, sorry bestie π
π SEE ALSO π
syd(1), syd(2), syd(5), syd(7), pandora(1), docker(1), dockerd(8), podman(1), youki(1)
- syd homepage:
https://sydbox.exherbo.org/ - youki homepage:
https://containers.github.io/youki/
π AUTHORS π
maintained by Ali Polatel π«Ά up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF. bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues. discuss in #sydbox on Libera Chat or in #sydbox:mailstation.de on Matrix. π¬
and that's the whole page!! this version is dated 2026-09-01 and yes, it's the SYD-OCI(1) page, so likeβ¦ go forth and containerize responsibly πβ¨π
π¦ where this page comes from
- arch rolling: syd 3.59.0-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms