buildah-copy(1) General Commands Manual buildah-copy(1) (NAME) buildah-copy - (SYNOPSIS) buildah copy container src [[src ...] dest] (DESCRIPTION) . . (OPTIONS) --add-history (digest) . false . : --add-history BUILDAH_HISTORY : export BUILDAH_HISTORY=true --allow-empty-wildcard true (globbing) . --allow-wildcard true . false . --allow-wildcard (glob) . false (* ? [) . true . --cert-dir --from (*.crt *.cert *.key) . /etc/containers/certs.d . --checksum . (digest) . HTTP . --chmod . . --from 0755 . --chown : . --from 0:0 . --contextdir (context). Buildah chroot . chroot . --exclude . . ( --from ) . containerignore(5) . --from __ . buildah pull . --chown --chmod . --ignorefile containerignore. ( dockerignore.). --contextdir . --link . buildah run buildah copy --link buildah copy --link (committed) . --link . --no-follow-symlinks (dereference) . --parents << >> (pivot point) "." ( "/./" ). --quiet, -q (digest) . --retry _ . 3 . --retry-delay _ . 2s . --timestamp ("mtime") ( 00:00:00 UTC ) (deterministic) . . --tls-verify _ --from* ( true ). TLS . (EXAMPLES) buildah copy containerID '/myapp/app.conf' '/myapp/app.conf' buildah copy --exclude=*/.md docs containerID 'docs' '/docs' buildah copy --parents containerID './x/a.txt' './y/a.txt' '/parents' buildah copy --chown myuser:mygroup containerID '/myapp/app.conf' '/myapp/app.conf' buildah copy --chmod 660 containerID '/myapp/app.conf' '/myapp/app.conf' buildah copy containerID '/home/myuser/myproject.go' buildah copy containerID '/home/myuser/myfiles.tar' '/tmp' buildah copy containerID '/tmp/workingdir' '/tmp/workingdir' buildah copy containerID 'https://github.com/containers/buildah' '/tmp' buildah copy containerID 'passwd' 'certs.d' /etc buildah copy containerID '/tmp/myfiles-*' '/dest/' buildah copy --allow-empty-wildcard=true containerID '/tmp/logs-*' '/dest/' (FILES) .containerignore/.dockerignore containerignore./.dockerignore. buildah copy . containerignore. . --ignorefile Buildah . (glob) / . Buildah ** ( ) . **/*.go go. . containerignore./.dockerignore.: # here are files we want to exclude */*.c **/output* src */*.c c. include/rootless.c. **/output* output . src src src . ! ( ) . containerignore./.dockerignore. : *.doc !Help.doc doc. Help.doc . containerignore. : https://github.com/containers/common/blob/main/docs/containerignore.5.md (SEE ALSO) buildah(1), containerignore(5) buildah April 2021 buildah-copy(1)