Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we do not edit container config in Exec
The existing code grabs the base container's process, and then modifies it for use with the exec session. This could cause errors in `podman inspect` or similar on the container, as the definition of its OCI spec has been changed by the exec session. The change never propagates to the DB, so it's limited to a single process, but we should still avoid it when possible - so deep-copy it before use. Signed-off-by: Matthew Heon <[email protected]>
- Loading branch information