pkg/bindings: document requirements for use

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
This commit is contained in:
Steve Kuznetsov 2022-04-11 11:24:59 -07:00
parent 311d66f515
commit ee4a583ed0
No known key found for this signature in database
GPG key ID: 8821C29EC988D9B4

View file

@ -30,6 +30,10 @@ rootful connections is `/run/podman/podman.sock` and for rootless it is `/run/US
information about the Podman system service, see `man podman-system-service`.
### Creating a connection
Ensure the [required dependencies](https://podman.io/getting-started/installation#build-and-run-dependencies) are installed,
as they will be required to compile a Go program making use of the bindings.
The first step for using the bindings is to create a connection to the socket. As mentioned earlier, the destination
of the socket depends on the user who owns it. In this case, a rootful connection is made.