atomic-reactor(1)
atomic-reactor π β¨
okay bestie, gather round, because this is the atomic-reactor(1) manual page from the General Commands Manual and it's literally the whole vibe. it builds images. it's iconic. let's go π
β¨ SYNOPSIS β¨
atomic-reactor [-h] [-q | -v | -V] {build,create-build-image,inside-build} ...
π¦ OPTIONS π¦
{build,create-build-image,inside-build}β the commands, bestie. pick your fighter π-h,--helpβ shows this help message and dips out-q,--quietβ shhh mode-v,--verboseβ say EVERYTHING mode-V,--versionβ shows the program's version number and exits, periodt
π COMMANDS π
COMMANDS β atomic-reactor [OPTIONS] build
okay so this one is the main character: it lets you build images. rn you can build images from a git repo, a local path, or a json file with the full build specification. and there are several methods for doing the actual build: inside a build container using docker from the host, inside a build container using a new instance of docker, or within the current environment. choose your adventure π§
-h,--helpβ show this help message and exit
COMMANDS β atomic-reactor [OPTIONS] build git
atomic-reactor [OPTIONS] build git
-h,--helpβ show this help message and exit--image IMAGEβ name under which the image will be accessible--uri URIβ URI of the git repo--df-path SOURCE__DOCKERFILE_PATHβ path to Dockerfile within git repo (default is./)--source-registry REGISTRYβ registry to pull base image from--source-registry-insecureβ allow connecting to source registry over plain http (living dangerously, no cap π)--target-registries [REGISTRY [REGISTRY ...]]β list of registries to push image to--target-registries-insecureβ allow connecting to target registries over plain http--dont-pull-base-imageβ don't pull or update base image specified in dockerfile--build-image BUILD_IMAGEβ name of build image to use (build image type has to match method)--load-plugin [PLUGIN_FILE [PLUGIN_FILE ...]]β list of files where plugins live--method {hostdocker,privileged,here}β choose method for building image:'hostdocker'mounts socket inside privileged container to use docker from host,'privileged'runs separate docker instance inside privileged container and'here'executes build in current environment--commit SOURCE__PROVIDER_PARAMS__GIT_COMMITβ checkout this commit (default ismaster)
COMMANDS β atomic-reactor [OPTIONS] build json
atomic-reactor [OPTIONS] build json
-h,--helpβ show this help message and exit--build-image BUILD_IMAGEβ name of build image to use (build image type has to match method)--load-plugin [PLUGIN_FILE [PLUGIN_FILE ...]]β list of files where plugins live--method {hostdocker,privileged,here}β choose method for building image:'hostdocker'mounts socket inside privileged container to use docker from host,'privileged'runs separate docker instance inside privileged container and'here'executes build in current environment--substitute [SUBSTITUTE [SUBSTITUTE ...]]β provide substitutions for json in form"foo.bar=spam"
COMMANDS β atomic-reactor [OPTIONS] build path
atomic-reactor [OPTIONS] build path
-h,--helpβ show this help message and exit--image IMAGEβ name under which the image will be accessible--uri URIβ URI of the directory with source (e.g."file:///foo/bar") or path (e.g."/foo/bar"); path can be relative--df-path SOURCE__DOCKERFILE_PATHβ path to Dockerfile within given directory (default is./)--source-registry REGISTRYβ registry to pull base image from--source-registry-insecureβ allow connecting to source registry over plain http--target-registries [REGISTRY [REGISTRY ...]]β list of registries to push image to--target-registries-insecureβ allow connecting to target registries over plain http--dont-pull-base-imageβ don't pull or update base image specified in dockerfile--build-image BUILD_IMAGEβ name of build image to use (build image type has to match method)--load-plugin [PLUGIN_FILE [PLUGIN_FILE ...]]β list of files where plugins live--method {hostdocker,privileged,here}β choose method for building image:'hostdocker'mounts socket inside privileged container to use docker from host,'privileged'runs separate docker instance inside privileged container and'here'executes build in current environment
COMMANDS β atomic-reactor [OPTIONS] create-build-image
atomic-reactor [OPTIONS] create-build-image
create build image π Atomic Reactor installs itself inside and is capable of building images within this image. self-sufficient queen behavior, honestly.
-h,--helpβ show this help message and exit--reactor-latestβ put latest Atomic Reactor inside (from public git)--reactor-remote-git REACTOR_REMOTE_GITβ URL to git repo with Atomic Reactor (has to containsetup.py)--reactor-local-path REACTOR_LOCAL_PATHβ path to directory with Atomic Reactor (has to containsetup.py)--reactor-tarball-path REACTOR_TARBALL_PATHβ path to distribution tarball with Atomic Reactor--use-cacheβ use cache to build image (may be faster, but not up to date β highkey a tradeoff bestie)
COMMANDS β atomic-reactor [OPTIONS] inside-build
atomic-reactor [OPTIONS] inside-build
we do expect we are inside container, therefore we'll read build configuration from json at '/run/share/build.json' and when the build is done, results are written in that dir so Atomic Reactor from host may read those. it's giving passing notes in class π
-h,--helpβ show this help message and exit--input INPUTβ input plugin name (determined automatically unless given)--input-arg INPUT_ARGβ argument for input plugin (in form of'key=value'), see input plugins to know what arguments they accept (can be specified multiple times)--dont-pull-base-imageβ don't pull or update base image specified in dockerfile--substitute SUBSTITUTEβ substitute values in build json (key=value, orplugin_type.plugin_name.key=value)
πΈ AUTHORS πΈ
the icons who made this happen, no cap:
- Jiri Popelka
<jpopelka@redhat.com> - Martin Milata
<mmilata@redhat.com> - Slavek Kabrda
<slavek@redhat.com> - Tim Waugh
<twaugh@redhat.com> - Tomas Tomecek
<ttomecek@redhat.com>
and that's the whole page bestie π this one's dated 2016-12-14 and it lives in the General Commands Manual as atomic-reactor(1). go build something cute π«Άβ¨
π¦ where this page comes from
- fedora 43: atomic-reactor 4.19.1-6.fc43 Β· BSD-2-Clause
- fedora 43: atomic-reactor 4.21.0-6.fc43 Β· BSD-2-Clause
- fedora 44: atomic-reactor 4.21.0-8.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms