1podman-mount(1)()                                            podman-mount(1)()
2
3
4

NAME

6       podman-mount - Mount a working container's root filesystem
7
8

SYNOPSIS

10       podman mount [options] [container ...]
11
12
13       podman container mount [options] [container ...]
14
15

DESCRIPTION

17       Mounts  the  specified containers' root file system in a location which
18       can be accessed from the host, and returns its location.
19
20
21       If you execute the command without any arguments, Podman will list  all
22       of the currently mounted containers, including external containers. Ex‐
23       ternal containers are containers in container/storage  by  tools  other
24       then Podman. For example Buildah and CRI-O.
25
26
27       Rootless  mode  only supports mounting VFS driver, unless you enter the
28       user namespace via the podman unshare command. All other storage  driv‐
29       ers will fail to mount.
30
31

RETURN VALUE

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

OPTIONS

38   --all, -a
39       Mount all podman containers. (External containers will not be mounted)
40
41
42   --format=format
43       Print the mounted containers in specified format (json).
44
45
46   --latest, -l
47       Instead of providing the container name or ID,  use  the  last  created
48       container.  If you use methods other than Podman to run containers such
49       as CRI-O, the last started container could  be  from  either  of  those
50       methods. (This option is not available with the remote Podman client)
51
52
53   --notruncate
54       Do not truncate IDs in output.
55
56

EXAMPLE

58              podman mount c831414b10a3
59
60              /var/lib/containers/storage/overlay/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged
61
62
63
64              podman mount
65
66              c831414b10a3 /var/lib/containers/storage/overlay/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged
67              a7060253093b /var/lib/containers/storage/overlay/0ff7d7ca68bed1ace424f9df154d2dd7b5a125c19d887f17653cbcd5b6e30ba1/merged
68
69
70
71              podman mount c831414b10a3 a7060253093b
72
73              /var/lib/containers/storage/overlay/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged
74              /var/lib/containers/storage/overlay/0ff7d7ca68bed1ace424f9df154d2dd7b5a125c19d887f17653cbcd5b6e30ba1/merged
75
76
77
78              podman mount
79
80              c831414b10a3 /var/lib/containers/storage/overlay/f3ac502d97b5681989dff84dfedc8354239bcecbdc2692f9a639f4e080a02364/merged
81              a7060253093b /var/lib/containers/storage/overlay/0ff7d7ca68bed1ace424f9df154d2dd7b5a125c19d887f17653cbcd5b6e30ba1/merged
82
83
84

SEE ALSO

86       podman(1), podman-umount(1), mount(8), podman-unshare(1)
87
88
89
90                                                             podman-mount(1)()
Impressum