Skip to content

Commit

Permalink
docs: add example system service tcp
Browse files Browse the repository at this point in the history
  • Loading branch information
erlangparasu authored Dec 6, 2024
1 parent 8ff491b commit 9e705e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/markdown/podman-system-service.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,20 @@ podman system service --time 5

The default socket was used as no URI argument was provided.


Use `tcp:` for start listening API calls via TCP

Example:

```
podman system service -t 60 tcp:127.0.0.1:9580
```

Then call via curl
```
curl http://127.0.0.1:9580/v5.0.0/libpod/containers/json
```

## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-system-connection(1)](podman-system-connection.1.md)**, **[containers.conf(5)](https://github.com/containers/common/blob/main/docs/containers.conf.5.md)**

Expand Down

0 comments on commit 9e705e1

Please sign in to comment.