2058 Commits

Author SHA1 Message Date
c3c0c4ab96 Add support for podman push --retry --retry-delay
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-29 10:20:21 -05:00
690b671ecd Merge pull request #20774 from giuseppe/passthrough-tty
logging: new mode -l passthrough-tty
2024-02-29 12:43:36 +00:00
950f612b56 logging: new mode -l passthrough-tty
it works in a similar way to passthrough but it allows to be used also
on a TTY.

conmon support: https://github.com/containers/conmon/pull/465

Closes: https://github.com/containers/podman/issues/20767

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-02-28 17:23:59 +01:00
5952486df8 podman network inspect: include running containers
Like docker podman network inspect should output the information of
running container with their ip/mac address on this network.
However the output format is not docker compatible as this cannot
include all the info we have and the previous output was already not
compatible so this is not new.

New example output:
```
[
     {
          ...
          "containers": {
               "7c0d295779cee4a6db7adc07a99e635909413a390eeab9f951edbc4aac406bf1": {
                    "name": "c2",
                    "interfaces": {
                         "eth0": {
                              "subnets": [
                                   {
                                        "ipnet": "10.89.0.4/24",
                                        "gateway": "10.89.0.1"
                                   },
                                   {
                                        "ipnet": "fda3:b4da:da1e:7e9d::4/64",
                                        "gateway": "fda3:b4da:da1e:7e9d::1"
                                   }
                              ],
                              "mac_address": "1a:bd:ca:ea:4b:3a"
                         }
                    }
               },
               "b17c6651ae6d9cc7d5825968e01d6b1e67f44460bb0c140bcc32bd9d436ac11d": {
                    "name": "c1",
                    "interfaces": {
                         "eth0": {
                              "subnets": [
                                   {
                                        "ipnet": "10.89.0.3/24",
                                        "gateway": "10.89.0.1"
                                   },
                                   {
                                        "ipnet": "fda3:b4da:da1e:7e9d::3/64",
                                        "gateway": "fda3:b4da:da1e:7e9d::1"
                                   }
                              ],
                              "mac_address": "f6:50:e6:22:d9:55"
                         }
                    }
               }
          }
     }
]
```

Fixes #14126
Fixes https://issues.redhat.com/browse/RHEL-3153

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-28 16:33:26 +01:00
3b127286a7 Adds example for secret creation from environment variable
Signed-off-by: Brett Calliss <brett@obligatory.email>
2024-02-24 19:00:54 +11:00
36d8e27601 Merge pull request #21517 from jakecorrenti/fix-qemu-todos
machine: Address some QEMU TODOs
2024-02-22 21:21:50 +00:00
be9aba7ccd Remove image provenance from machine inspect
We don't care about the provenance of the machine image, so this is no
longer applicable to have when displaying info.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2024-02-22 08:34:27 -05:00
8f1cebf96f cmd/podman: remove duplicated event ToHumanReadable()
ToHumanReadable() exists twice now, there is no reason for this just
call the function on the backend event type is fine as this still has to
be used there.

It also fixes a bug where the wrong event type was passed to the
template which did not match the docs and json output.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-22 12:10:57 +01:00
a3a1b44c31 libpod/events: Update event time format and add timeNano
Add new event type in cmd/podman to better match the docker format.

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-22 11:32:48 +01:00
59b6f48d90 Merge pull request #21735 from jakecorrenti/inspect-conn-vals
machine: Add `ConnectionInfo` to inspect
2024-02-22 02:36:50 +00:00
70091d57e7 Merge pull request #21699 from vikas-goel/i21663
Comply to Kubernetes specifications for annotation size.
2024-02-21 15:00:25 +00:00
89b415ba37 Comply to Kubernetes specifications for annotation size.
An annotation is a pair of key-value. The key has two parts, viz. a name and an optional prefix in DNS format.

The limitations on name is 63, prefix 253 chars. The limitation on total size of all key+value pairs combined is 256KB.

https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set

Fixes: https://github.com/containers/podman/issues/21663

Signed-off-by: Vikas Goel <vikas.goel@gmail.com>
2024-02-20 14:58:35 -08:00
c4b793f58c Merge pull request #21726 from rhatdan/docs7
[CI:DOCS] Fix up example description of podman-system commands
2024-02-20 14:41:11 +00:00
152978b336 Merge pull request #21710 from rhatdan/docs21
[CI:DOCS] Fix up example description of podman-inspect.1.md.in
2024-02-20 14:38:33 +00:00
09095acf2b machine: Add ConnectionInfo to MachineConfig
Adds `ConnectionInfo()` to the `MachineConfig` and fills out
`InspectInfo` accordingly. Additionally fixes the "inspect with go format" test.

Changes `ConfigPath` to `ConfigDir` to better represent the
output.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2024-02-20 09:08:11 -05:00
9f1a9b1105 Merge pull request #21713 from rhatdan/docs18
[CI:DOCS] Fix up example description of podman-images.1.md.in
2024-02-20 13:26:57 +00:00
54351306d0 Merge pull request #21708 from rhatdan/docs25
[CI:DOCS] Fix up example description of podman-push.1.md.in
2024-02-20 13:24:08 +00:00
a6cce6ac01 Merge pull request #21705 from rhatdan/docs28
[CI:DOCS] Fix up example description of podman-stats.1.md.in
2024-02-20 13:21:23 +00:00
5effdcca3c Fix up example description of podman-system commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 08:18:51 -05:00
921b5bb0b1 Merge pull request #21709 from rhatdan/docs24
[CI:DOCS] Fix up example description of podman-port.1.md.in
2024-02-20 11:17:38 +00:00
34aa4cece8 Merge pull request #21718 from rhatdan/docs17
[CI:DOCS] Fix up example description of podman-history.1.md
2024-02-20 11:09:22 +00:00
a57c7dcd66 Merge pull request #21727 from rhatdan/docs8
[CI:DOCS] Fix up example description of podman-container commands
2024-02-20 11:03:53 +00:00
2009549f07 Merge pull request #21723 from rhatdan/docs10
[CI:DOCS] Fix up example description of podman-commit.1.md
2024-02-20 11:01:06 +00:00
159afc5193 Merge pull request #21722 from rhatdan/docs9
[CI:DOCS] Fix up example description of podman-build.1.md.in
2024-02-20 10:58:21 +00:00
5c4027e15b Merge pull request #21719 from rhatdan/docs12
[CI:DOCS] Fix up example description of podman-create.1.md.in
2024-02-20 10:55:44 +00:00
c5a71c4fdc Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:49:04 -05:00
67ead5cb5d Apply suggestions from code review
Co-authored-by: Valentin Rothberg <vrothberg@redhat.com>
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:48:04 -05:00
408772d34a Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:46:41 -05:00
1612ff69c0 Fix up example description of podman-inspect.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:45:41 -05:00
81b9914ede Merge pull request #21721 from rhatdan/docs14
[CI:DOCS] Fix up example description of podman-events.1.md
2024-02-20 10:44:39 +00:00
da73d98da9 Merge pull request #21720 from rhatdan/docs13
[CI:DOCS] Fix up example description of podman-diff.1.md.in
2024-02-20 10:41:51 +00:00
62148bf615 Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:39:27 -05:00
b8c1a8e79d Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:38:19 -05:00
07613dd84a Merge pull request #21724 from rhatdan/docs11
[CI:DOCS] Fix up example description of podman-cp.1.md
2024-02-19 21:10:17 +00:00
f63953de61 Merge pull request #21714 from rhatdan/docs19
[CI:DOCS] Fix up example description of podman-export/export commands
2024-02-19 21:07:30 +00:00
f063f96df2 Merge pull request #21711 from rhatdan/docs22
[CI:DOCS] Fix up example description of podman-kill.1.md.in
2024-02-19 21:04:45 +00:00
5b5343b38e Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:53:03 -05:00
9d73dc6ed0 Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:40:09 -05:00
f7659b12e4 Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:26:08 -05:00
fc71401516 Fix up example description of podman-mount.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:22:23 -05:00
ee078a7e62 Update docs/source/markdown/podman-cp.1.md
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:19:40 -05:00
606865a47e Fix up example description of podman-container commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:18:51 -05:00
22effe8d40 Fix up example description of podman-stats.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:01:47 -05:00
25a96d7a44 Merge pull request #21731 from rhatdan/docs2
[CI:DOCS] Fix up example description of podman-pod commands
2024-02-19 20:01:31 +00:00
322bc5eaa5 Merge pull request #21728 from rhatdan/docs3
[CI:DOCS] Fix up example description of podman-volume commands
2024-02-19 19:58:44 +00:00
41b2c31dae Merge pull request #21712 from rhatdan/docs23
[CI:DOCS] Fix up example description of podman-logout.1.md.in
2024-02-19 19:17:30 +00:00
a0109caa7d Fix up example description of podman-volume commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 10:09:06 -05:00
803410f1a1 Fix up example description of podman-kill.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 10:06:05 -05:00
bc5a4fbb23 Fix up example description of podman-pod commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 10:03:30 -05:00
8ed6d4fe58 Fix up example description of podman-build.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 08:58:17 -05:00