Skip to content

Comments

Ensure that the exit code from a docker is propagated#4017

Merged
thallgren merged 3 commits intorelease/v2.25from
thallgren/docker-exit-code
Dec 25, 2025
Merged

Ensure that the exit code from a docker is propagated#4017
thallgren merged 3 commits intorelease/v2.25from
thallgren/docker-exit-code

Conversation

@thallgren
Copy link
Member

When running a Docker command using telepresence docker-run or telepresence curl, the exit code would be 1 for all non-zero exit codes from the Docker command. This has been fixed so that the exit code from the Docker command becomes the exit code of the Telepresence command.

Ensure `PrepareIntercept` gracefully handles cases where the client
session is not found, returning a proper error and add retry logic to
the client so that `PrepareIntercept` reconnects when that error is
received.

Signed-off-by: Thomas Hallgren <thomas@tada.se>
Signed-off-by: Thomas Hallgren <thomas@tada.se>
When running a Docker command using `telepresence docker-run` or
`telepresence curl`, the exit code would be 1 for all non-zero exit
codes from the Docker command. This has been fixed so that the exit code
from the Docker command becomes the exit code of the Telepresence
command.

Signed-off-by: Thomas Hallgren <thomas@tada.se>

# Conflicts:
#	CHANGELOG.yml
#	docs/release-notes.md
#	docs/release-notes.mdx
@thallgren thallgren merged commit 4c6e24e into release/v2.25 Dec 25, 2025
9 checks passed
@thallgren thallgren deleted the thallgren/docker-exit-code branch December 25, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant