mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
Fix up example description of podman-system commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -36,13 +36,24 @@ Port for ssh destination. The default value is `22`.
|
|||||||
Path to the Podman service unix domain socket on the ssh destination host
|
Path to the Podman service unix domain socket on the ssh destination host
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Add a named system connection:
|
||||||
```
|
```
|
||||||
$ podman system connection add QA podman.example.com
|
$ podman system connection add QA podman.example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Add a system connection using SSH data:
|
||||||
|
```
|
||||||
$ podman system connection add --identity ~/.ssh/dev_rsa production ssh://root@server.example.com:2222
|
$ podman system connection add --identity ~/.ssh/dev_rsa production ssh://root@server.example.com:2222
|
||||||
|
```
|
||||||
|
|
||||||
|
Add a named system connection to local Unix domain socket:
|
||||||
|
```
|
||||||
$ podman system connection add testing unix:///run/podman/podman.sock
|
$ podman system connection add testing unix:///run/podman/podman.sock
|
||||||
|
```
|
||||||
|
|
||||||
|
Add a named system connection to local tcp socket:
|
||||||
|
```
|
||||||
$ podman system connection add debug tcp://localhost:8080
|
$ podman system connection add debug tcp://localhost:8080
|
||||||
```
|
```
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
|
@ -10,6 +10,8 @@ podman\-system\-connection\-default - Set named destination as default for the P
|
|||||||
Set named ssh destination as default destination for the Podman service.
|
Set named ssh destination as default destination for the Podman service.
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Set the specified connection as default:
|
||||||
```
|
```
|
||||||
$ podman system connection default production
|
$ podman system connection default production
|
||||||
```
|
```
|
||||||
|
@ -31,6 +31,8 @@ Valid placeholders for the Go template listed below:
|
|||||||
Only show connection names
|
Only show connection names
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
List system connections:
|
||||||
```
|
```
|
||||||
$ podman system connection list
|
$ podman system connection list
|
||||||
Name URI Identity Default ReadWrite
|
Name URI Identity Default ReadWrite
|
||||||
|
@ -16,6 +16,8 @@ Delete named ssh destination.
|
|||||||
Remove all connections.
|
Remove all connections.
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Remove the specified system connection:
|
||||||
```
|
```
|
||||||
$ podman system connection remove production
|
$ podman system connection remove production
|
||||||
```
|
```
|
||||||
|
@ -10,6 +10,8 @@ podman\-system\-connection\-rename - Rename the destination for Podman service
|
|||||||
Rename ssh destination from *old* to *new*.
|
Rename ssh destination from *old* to *new*.
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Rename the specified connection:
|
||||||
```
|
```
|
||||||
$ podman system connection rename laptop devel
|
$ podman system connection rename laptop devel
|
||||||
```
|
```
|
||||||
|
@ -33,6 +33,8 @@ not be edited with the **podman system connection** commands.
|
|||||||
| rename | [podman-system-connection\-rename(1)](podman-system-connection-rename.1.md) | Rename the destination for Podman service |
|
| rename | [podman-system-connection\-rename(1)](podman-system-connection-rename.1.md) | Rename the destination for Podman service |
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
List system connections:
|
||||||
```
|
```
|
||||||
$ podman system connection list
|
$ podman system connection list
|
||||||
Name URI Identity Default ReadWrite
|
Name URI Identity Default ReadWrite
|
||||||
|
@ -31,13 +31,18 @@ Valid placeholders for the Go template are listed below:
|
|||||||
Show detailed information on space usage
|
Show detailed information on space usage
|
||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Show disk usage:
|
||||||
```
|
```
|
||||||
$ podman system df
|
$ podman system df
|
||||||
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
|
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
|
||||||
Images 6 2 281MB 168MB (59%)
|
Images 6 2 281MB 168MB (59%)
|
||||||
Containers 3 1 0B 0B (0%)
|
Containers 3 1 0B 0B (0%)
|
||||||
Local Volumes 1 1 22B 0B (0%)
|
Local Volumes 1 1 22B 0B (0%)
|
||||||
|
```
|
||||||
|
|
||||||
|
Show disk usage in verbose mode:
|
||||||
|
```
|
||||||
$ podman system df -v
|
$ podman system df -v
|
||||||
Images space usage:
|
Images space usage:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user