Skip to content

Commit 378c818

Browse files
committed
docs: correct rootlessport api reference
1 parent e39e1ef commit 378c818

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,17 @@ nanodock communicates directly with the Docker/Podman daemon using the
136136

137137
### Supported Daemon Paths
138138

139-
| Platform | Transport | Path |
140-
| -------- | ----------- | ----------------------------------------------- |
141-
| Linux | Unix socket | `/var/run/docker.sock` |
142-
| Linux | Unix socket | `/run/user/{uid}/docker.sock` |
143-
| Linux | Unix socket | `$HOME/.docker/desktop/docker.sock` |
144-
| Linux | Unix socket | `$HOME/.docker/run/docker.sock` |
145-
| Linux | Unix socket | `/run/user/{uid}/podman/podman.sock` |
146-
| Linux | Unix socket | `/run/podman/podman.sock` |
147-
| Windows | Named pipe | `\\.\pipe\docker_engine` |
148-
| Windows | Named pipe | `\\.\pipe\podman-machine-default` |
149-
| Both | TCP | `DOCKER_HOST=tcp://host:port` |
139+
| Platform | Transport | Path |
140+
| -------- | ----------- | ------------------------------------ |
141+
| Linux | Unix socket | `/var/run/docker.sock` |
142+
| Linux | Unix socket | `/run/user/{uid}/docker.sock` |
143+
| Linux | Unix socket | `$HOME/.docker/desktop/docker.sock` |
144+
| Linux | Unix socket | `$HOME/.docker/run/docker.sock` |
145+
| Linux | Unix socket | `/run/user/{uid}/podman/podman.sock` |
146+
| Linux | Unix socket | `/run/podman/podman.sock` |
147+
| Windows | Named pipe | `\\.\pipe\docker_engine` |
148+
| Windows | Named pipe | `\\.\pipe\podman-machine-default` |
149+
| Both | TCP | `DOCKER_HOST=tcp://host:port` |
150150

151151
## API Reference
152152

@@ -175,11 +175,11 @@ Full API documentation is available on [docs.rs](https://docs.rs/nanodock).
175175

176176
### Linux-only Functions
177177

178-
| Function | Description |
179-
| ------------------------------------- | ---------------------------------------- |
180-
| `is_podman_rootlessport_process(pid)` | Check if a PID is `rootlessport` |
181-
| `lookup_rootless_podman_container()` | Resolve container from rootlessport PIDs |
182-
| `RootlessPodmanResolver` | Cached resolver for rootless Podman |
178+
| Function | Description |
179+
| -------------------------------------- | ----------------------------------------- |
180+
| `is_podman_rootlessport_process(name)` | Check if a process name is `rootlessport` |
181+
| `lookup_rootless_podman_container()` | Resolve container from rootlessport PIDs |
182+
| `RootlessPodmanResolver` | Cached resolver for rootless Podman |
183183

184184
## Architecture
185185

0 commit comments

Comments
 (0)