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

NAME

6       podman-attach - Attach to a running container
7
8

SYNOPSIS

10       podman attach [options] container
11
12
13       podman container attach [options] container
14
15

DESCRIPTION

17       The  attach  command  allows you to attach to a running container using
18       the container's ID or name, either to view its  ongoing  output  or  to
19       control it interactively.
20
21
22       You  can  detach from the container (and leave it running) using a con‐
23       figurable key sequence. The default sequence is ctrl-p,ctrl-q.  Config‐
24       ure  the keys sequence using the --detach-keys option, or specifying it
25       in the libpod.conf file: see libpod.conf(5) for more information.
26
27

OPTIONS

29       --detach-keys=sequence
30
31
32       Specify the key sequence for detaching a container. Format is a  single
33       character [a-Z] or one or more ctrl-<value> characters where <value> is
34       one of: a-z, @, ^, [, , or _. Specifying "" will disable this  feature.
35       The default is ctrl-p,ctrl-q.
36
37
38       --latest, -l
39
40
41       Instead  of  providing  the  container name or ID, use the last created
42       container. If you use methods other than Podman to run containers  such
43       as  CRI-O,  the  last  started  container could be from either of those
44       methods.
45
46
47       The latest option is not supported on the remote client.
48
49
50       --no-stdin
51
52
53       Do not attach STDIN. The default is false.
54
55
56       --sig-proxy=true|false
57
58
59       Proxy received signals to the process  (non-TTY  mode  only).  SIGCHLD,
60       SIGSTOP, and SIGKILL are not proxied. The default is true.
61
62

EXAMPLES

64              $ podman attach foobar
65              [root@localhost /]#
66
67
68
69              $ podman attach --latest
70              [root@localhost /]#
71
72
73
74              $ podman attach 1234
75              [root@localhost /]#
76
77
78
79              $ podman attach --no-stdin foobar
80
81
82

SEE ALSO

84       podman(1), podman-exec(1), podman-run(1)
85
86
87
88                                                            podman-attach(1)()
Impressum