buildah-mount man page

buildah mount — Mount a working container's root filesystem.

Synopsis

buildah mount

buildah mount containerID

Description

Mounts the specified container's root file system in a location which can be accessed from the host, and returns its location.

If you execute the command without any arguments, the tool will list all of the currently mounted containers.

Return Value

The location of the mounted file system.  On error an empty string and errno is returned.

Options

--notruncate
Do not truncate IDs in output.

Example

buildah mount c831414b10a3

/var/lib/containers/storage/overlay2/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged

buildah mount

c831414b10a3 /var/lib/containers/storage/overlay2/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged

a7060253093b /var/lib/containers/storage/overlay2/0ff7d7ca68bed1ace424f9df154d2dd7b5a125c19d887f17653cbcd5b6e30ba1/merged

See Also

buildah(1)

Referenced By

buildah(1).

March 2017 buildah