mirror of
https://github.com/containers/podman.git
synced 2025-12-09 23:27:09 +08:00
Fix documentation of use of tcp connections
Fixes: https://github.com/containers/podman/issues/15430 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -95,12 +95,12 @@ $c2[ ]\+tcp://localhost:54321[ ]\+true" \
|
||||
# we need for the server.
|
||||
${PODMAN%%-remote*} --root ${PODMAN_TMPDIR}/root \
|
||||
--runroot ${PODMAN_TMPDIR}/runroot \
|
||||
system service -t 99 tcp:localhost:$_SERVICE_PORT &
|
||||
system service -t 99 tcp://localhost:$_SERVICE_PORT &
|
||||
_SERVICE_PID=$!
|
||||
wait_for_port localhost $_SERVICE_PORT
|
||||
|
||||
_run_podman_remote info --format '{{.Host.RemoteSocket.Path}}'
|
||||
is "$output" "tcp:localhost:$_SERVICE_PORT" \
|
||||
is "$output" "tcp://localhost:$_SERVICE_PORT" \
|
||||
"podman info works, and talks to the correct server"
|
||||
|
||||
_run_podman_remote info --format '{{.Store.GraphRoot}}'
|
||||
|
||||
@@ -46,7 +46,7 @@ function _run_podman_remote() {
|
||||
|
||||
${PODMAN%%-remote*} --root ${PODMAN_TMPDIR}/root \
|
||||
--runroot ${PODMAN_TMPDIR}/runroot \
|
||||
system service -t 99 tcp:localhost:$_SERVICE_PORT &
|
||||
system service -t 99 tcp://localhost:$_SERVICE_PORT &
|
||||
_SERVICE_PID=$!
|
||||
wait_for_port localhost $_SERVICE_PORT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user