buildah-config(1) General Commands Manual buildah-config(1) (NAME) buildah-config - (SYNOPSIS) buildah config [] (DESCRIPTION) . (OPTIONS) --add-history --cmd --entrypoint --env --healthcheck --label --onbuild --port --shell --stop- signal --user --volume --workingdir . false . : --add-history BUILDAH_HISTORY . export BUILDAH_HISTORY=true --annotation, -a annotation=annotation (annotation) ( annotation=annotation) . . annotation - annotation . annotation "-" . --arch architecture (architecture) . . --author author (author) . --cmd command (command) . (entry point) . --comment comment (comment) . : OCIv1 OCIv1 . --created-by created (created) . --domainname domain (domain) . : OCIv1 OCIv1 . --entrypoint "command" | '["command", "arg1", ...]' (entry point) . buildah . . : cmd . cmd . : sh -c . . : $ buildah from scratch $ buildah config --entrypoint "/usr/bin/notashell" working-container $ buildah inspect --format '{{ .OCIv1.Config.Entrypoint }}' working-container [/bin/sh -c /usr/bin/notshell] $ buildah inspect --format '{{ .Docker.Config.Entrypoint }}' working-container [/bin/sh -c /usr/bin/notshell] : $ buildah config --entrypoint '["/usr/bin/notashell"]' working-container $ buildah inspect --format '{{ .OCIv1.Config.Entrypoint }}' working-container [/usr/bin/notashell] $ buildah inspect --format '{{ .Docker.Config.Entrypoint }}' working-container [/usr/bin/notashell] --env, -e env[=value] ( env=value) . . env = (value) . env - . env "-" . --healthcheck command . NONE "CMD ..." ( ) "CMD-SHELL ..." ( ) ( ) . : OCIv1 OCIv1 . --healthcheck-interval interval --healthcheck . : OCIv1 OCIv1 . --healthcheck-retries count --healthcheck . : OCIv1 OCIv1 . --healthcheck-start-interval interval . : OCIv1 OCIv1 . --healthcheck-start-period interval --healthcheck . . . : OCIv1 OCIv1 . --healthcheck-timeout interval --healthcheck . . : OCIv1 OCIv1 . --history-comment comment . --hostname host (host) . : OCIv1 OCIv1 . --label, -l label=value (label) ( label=value) . . label - . label "-" . --onbuild onbuild command ONBUILD . ONBUILD . : OCIv1 OCIv1 . --os operating system (operating system) . . --os-feature feature (feature) . . . feature - . feature "-" . --os-version version (version) . . . --port, -p port/protocol (port) . . TCP UDP "port/protocol" . TCP . TCP UDP port . port - . - . --shell shell (shell) . shell . "/bin/sh -c" . : OCIv1 OCIv1 . --stop-signal signal (signal) . SIGINT . --unsetannotation annotation . --unsetlabel label . --user, -u user[:group] (user) . UID GID (':') . /etc/passwd /etc/group . --variant variant (variant) . . --volume, -v volume (volume) . . volume - . volume "-" . --workingdir directory (directory) . (EXAMPLE) buildah config --author='Jane Austen' --workingdir='/etc/mycontainers' containerID buildah config --entrypoint /entrypoint.sh containerID buildah config --entrypoint '[ "/entrypoint.sh", "dev" ]' containerID buildah config --env foo=bar --env PATH=$PATH containerID buildah config --env foo- containerID buildah config --label Name=Mycontainer --label Version=1.0 containerID buildah config --label Name- containerID buildah config --annotation note=myNote containerID buildah config --annotation note- buildah config --volume /usr/myvol containerID buildah config --volume /usr/myvol- containerID buildah config --port 1234 --port 8080 containerID buildah config --port 514/tcp --port 514/udp containerID buildah config --env 1234=5678 containerID buildah config --env 1234- containerID buildah config --os-version 10.0.19042.1645 containerID buildah config --os-feature win32k containerID buildah config --os-feature win32k- containerID (SEE ALSO) buildah(1) buildah March 2017 buildah-config(1)