podman/libpod
Matthew Heon f02a9cd975 Handle removing containers with active exec sessions
For containers without --force set, an error will be returned

For containers with --force, all pids in the container will be
stopped, first with SIGTERM and then with SIGKILL after a timeout
(this mimics the behavior of stopping a container).

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #412
Approved by: baude
2018-03-01 21:17:51 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
boltdb_state.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
boltdb_state_internal.go Fix checks for configuration keys in the DB 2018-03-01 14:16:55 +00:00
container.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
container_api.go Ensure that Cleanup() will not run on active containers 2018-03-01 21:17:51 +00:00
container_attach.go Strip unused format specifier 2018-01-27 06:26:20 +00:00
container_ffjson.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
container_inspect.go Add tracking for exec session IDs 2018-03-01 21:17:51 +00:00
container_internal.go Add tracking for exec session IDs 2018-03-01 21:17:51 +00:00
container_top.go Restrict top output to container's pids only 2018-02-26 23:41:47 +00:00
diff.go remove unused functions and variables 2017-11-28 14:30:12 +00:00
errors.go Add schema validation to DB 2017-11-30 18:05:56 +00:00
finished_32.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
finished_64.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
image_inspect.go Change json to match docker inspect 2018-02-11 11:50:34 +00:00
in_memory_state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
info.go Tweak info time format 2018-02-28 18:06:50 +00:00
networking.go Enable port bindings 2018-01-20 18:51:21 +00:00
oci.go Handle removing containers with active exec sessions 2018-03-01 21:17:51 +00:00
options.go Address review comments 2018-02-24 09:15:47 +00:00
pod.go Remove unnecessary booleans 2018-02-22 14:49:36 +00:00
pod_ffjson.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
runtime.go podman info add registries 2018-02-28 21:26:46 +00:00
runtime_ctr.go Handle removing containers with active exec sessions 2018-03-01 21:17:51 +00:00
runtime_img.go podman load dont panic when no repotags 2018-02-26 22:30:44 +00:00
runtime_img_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
runtime_pod.go Handle removing containers with active exec sessions 2018-03-01 21:17:51 +00:00
sql_state.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
sql_state_internal.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
state_test.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
stats.go podman stats add networking 2018-02-28 16:46:29 +00:00
storage.go CreateContainerStorage by image id 2018-02-23 17:44:28 +00:00
test_common.go Add tracking for container exec sessions to DB 2018-03-01 21:17:50 +00:00
util.go Add tracking for exec session IDs 2018-03-01 21:17:51 +00:00
util_test.go kpod stats 2017-12-13 21:15:09 +00:00