podman-system-service - Online Linux Manual PageSection : 1

NAMEpodman-system-service - Run an API service

SYNOPSISpodman system service [options]

DESCRIPTIONThe podman system service command creates a listening service that will answer API calls for Podman. You may optionally provide an endpoint for the API in URI form. For example, unix:///tmp/foobar.sock or tcp://localhost:8080​. If no endpoint is provided, defaults will be used. The default endpoint for a rootful service is unix:///run/podman/podman.sock and rootless is unix://$XDG_RUNTIME_DIR/podman/podman.sock (for example unix:///run/user/1000/podman/podman.sock) To access the API service inside a container: - mount the socket as a volume - run the container with --security-opt label=disable The REST API provided by podman system service is split into two parts: a compatibility layer offering support for the Docker v1.40 API, and a Podman-native Libpod layer. Documentation for the latter is available at https://docs.podman.io/en/latest/_static/api.html​. Both APIs are versioned, but the server will not reject requests with an unsupported version set. Please note that the API grants full access to Podman's capabilities, and as such should be treated as allowing arbitrary code execution as the user running the API. As such, we strongly recommend against making the API socket available via the network. The default configuration (a Unix socket with permissions set to only allow the user running Podman) is the most secure way of running the API. Note: The default systemd unit files (system and user) change the log-level option to info from error​. This change provides additional information on each API call.

OPTIONS

--corsCORS headers to inject to the HTTP response. The default value is empty string which disables CORS headers.

--help, -hPrint usage statement.

--time, -tThe time until the session expires in seconds​. The default is 5 seconds. A value of 0 means no timeout, therefore the session will not expire. The default timeout can be changed via the service_timeout=VALUE field in containers.conf. See containers.conf(5) for more information.

EXAMPLESRun an API listening for 5 seconds using the default socket. podman system service --time 5

SEE ALSOpodman(1), podman-system-connection(1), containers.conf(5)

HISTORYJanuary 2020, Originally compiled by Brent Baude <bbaude@redhat.com> November 2020, Updated by Jhon Honce (jhonce at redhat dot com)
0
Johanes Gumabo
Data Size   :   10,107 byte
man-podman-system-service.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 184,414
Visitor ID   :     :  
Visitor IP   :   3.133.148.222   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.