mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
bindings: suggest using -tags remote to reduce file size
Closes: https://github.com/containers/podman/issues/12548 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -239,3 +239,6 @@ $
|
|||||||
|
|
||||||
You can also verify that the information being passed back and forth is correct by putting
|
You can also verify that the information being passed back and forth is correct by putting
|
||||||
with a tool like `socat`, which can dump what the socket is seeing.
|
with a tool like `socat`, which can dump what the socket is seeing.
|
||||||
|
|
||||||
|
## Reducing Binary Size with "remote" Build Tag
|
||||||
|
When building a program that uses the Podman Go bindings, you can reduce the binary size by passing the "remote" build tag to the go build command. This tag excludes code related to local Podman operations, which is not needed for applications that only interact with Podman over a network.
|
||||||
|
Reference in New Issue
Block a user