spiegel_podman/pkg
Matthew Heon e0d9404634 Enable detached exec for remote
The biggest obstacle here was cleanup - we needed a way to remove
detached exec sessions after they exited, but there's no way to
tell if an exec session will be attached or detached when it's
created, and that's when we must add the exit command that would
do the removal. The solution was adding a delay to the exit
command (5 minutes), which gives sufficient time for attached
exec sessions to retrieve the exit code of the session after it
exits, but still guarantees that they will be removed, even for
detached sessions. This requires Conmon 2.0.17, which has the new
`--exit-delay` flag.

As part of the exit command rework, we can drop the hack we were
using to clean up exec sessions (remove them as part of inspect).
This is a lot cleaner, and I'm a lot happier about it.

Otherwise, this is just plumbing - we need a bindings call for
detached exec, and that needed to be added to the tunnel mode
backend for entities.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-02 15:30:42 -04:00
..
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Enable detached exec for remote 2020-06-02 15:30:42 -04:00
auth compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
autoupdate Give auto-update ability to use per-container authfile specified by label. 2020-05-17 11:37:12 +02:00
bindings Enable detached exec for remote 2020-06-02 15:30:42 -04:00
cgroups cgroup: skip unified if we are using v1 2020-05-12 15:36:33 -04:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
checkpoint podmanv2 checkpoint and restore 2020-04-03 09:32:06 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Enable detached exec for remote 2020-06-02 15:30:42 -04:00
env Merge pull request #5381 from vrothberg/ENVFIX 2020-03-04 13:26:48 -05:00
errorhandling image removal: refactor part 2 2020-05-04 16:01:45 +02:00
hooks golangci: enable goimports 2020-03-05 20:03:44 +01:00
inspect consolidate env handling into pkg/env 2020-03-03 11:47:24 +01:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
lookup golangci: enable goimports 2020-03-05 20:03:44 +01:00
namespaces podman: assume user namespace if there are mappings 2020-04-24 15:55:38 +02:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network network compatibility endpoints for API 2020-05-22 13:48:52 -05:00
ps fix ps --last=N 2020-05-28 14:24:01 +02:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf use storage/pkg/ioutils 2020-03-09 09:03:51 +01:00
rootless rootless: move ns open before fork 2020-04-29 11:44:24 +02:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Ensure that signal names can be parsed on Windows 2020-05-28 14:26:36 -04:00
spec spec: fix order for setting rlimits 2020-05-11 13:02:33 +02:00
specgen Enable detached exec for remote 2020-06-02 15:30:42 -04:00
systemd V2 Fix support for tcp://[::]<port> connections 2020-04-17 16:39:59 -07:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust v2trust set and show 2020-05-07 09:55:52 -05:00
util Turn off 'noexec' option by default for named volumes 2020-05-20 16:48:20 -04:00
varlink V2 Move varlink home 2020-03-30 08:18:35 -07:00
varlinkapi podman version --format ... was not working 2020-05-21 16:31:34 -04:00