1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Erik St. Martin 56f77d5ade Implementing support for --cpu-rt-period and --cpu-rt-runtime so that
containers may specify these cgroup values at runtime. This will allow
processes to change their priority to real-time within the container
when CONFIG_RT_GROUP_SCHED is enabled in the kernel. See #22380.

Also added sanity checks for the new --cpu-rt-runtime and --cpu-rt-period
flags to ensure that that the kernel supports these features and that
runtime is not greater than period.

Daemon will support a --cpu-rt-runtime flag to initialize the parent
cgroup on startup, this prevents the administrator from alotting runtime
to docker after each restart.

There are additional checks that could be added but maybe too far? Check
parent cgroups to ensure values are <= parent, inspecting rtprio ulimit
and issuing a warning.

Signed-off-by: Erik St. Martin <alakriti@gmail.com>
2016-10-26 11:33:06 -04:00
..
caps
cluster cluster/container: correctly name swarm tasks 2016-10-25 14:17:57 -07:00
events
exec Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
graphdriver Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
links
logger Merge pull request #27471 from caarlos0/logentries 2016-10-18 01:33:28 -07:00
network
apparmor_default.go
apparmor_default_unsupported.go
archive.go
archive_unix.go
archive_windows.go
attach.go
auth.go
cache.go
changes.go
checkpoint.go
cluster.go add docker network prune 2016-10-25 06:43:54 +00:00
commit.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
config.go Merge pull request #24533 from yongtang/24392-docker-info-label-duplicate-keys 2016-10-24 18:12:28 -07:00
config_experimental.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
config_solaris.go
config_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
config_unix.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
config_unix_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
config_windows.go Windows: Calculate PID file after root 2016-10-17 11:48:51 -07:00
config_windows_test.go fix config load error with ulimits 2016-10-17 18:48:40 +08:00
container.go
container_operations.go Delete a redundant error return 2016-10-22 08:53:57 +08:00
container_operations_solaris.go
container_operations_unix.go Merge pull request #27367 from Microsoft/jjh/fieldsincontainer 2016-10-17 16:50:39 +02:00
container_operations_windows.go Windows: Factor out unused fields in container 2016-10-13 14:51:10 -07:00
create.go Delete a redundant error return 2016-10-22 08:53:57 +08:00
create_unix.go
create_windows.go
daemon.go Merge pull request #27525 from AkihiroSuda/prune-network-cluster 2016-10-25 09:02:28 -07:00
daemon_experimental.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
daemon_linux.go
daemon_linux_test.go
daemon_solaris.go daemon: do not use pointers to map 2016-10-10 11:37:36 -07:00
daemon_test.go support insecure registry in configuration reload 2016-10-20 07:54:31 +08:00
daemon_unix.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
daemon_unix_test.go
daemon_unsupported.go
daemon_windows.go Windows: Add comment re client containers 2016-10-25 10:30:00 -07:00
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go Windows: Set ACL on debug listener 2016-10-14 09:15:17 -07:00
delete.go
delete_test.go
discovery.go
discovery_test.go
disk_usage.go Add swagger.yaml 2016-10-20 13:24:23 -07:00
errors.go
events.go
events_test.go
exec.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
exec_linux.go
exec_solaris.go
exec_windows.go
export.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
health.go Reset health status to starting when a container is restarted 2016-10-14 15:49:12 +01:00
health_test.go
image.go
image_delete.go
image_exporter.go
image_history.go
image_inspect.go
image_pull.go
image_push.go
image_tag.go
images.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
import.go
info.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
inspect.go record pid of exec'd process 2016-10-20 17:06:11 +02:00
inspect_solaris.go
inspect_unix.go
inspect_windows.go
keys.go
keys_unsupported.go
kill.go
links.go
links_test.go
list.go Generate api/types:Port from swagger spec. 2016-10-20 13:24:23 -07:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
logs_test.go
monitor.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
monitor_linux.go
monitor_solaris.go
monitor_windows.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
mounts.go
names.go
network.go Remove duplicate nat, null in docker info for Windows 2016-10-24 15:21:14 -07:00
oci_linux.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
oci_solaris.go
oci_windows.go Merge pull request #26965 from Microsoft/jjh/rootpath 2016-10-19 15:50:37 +02:00
pause.go
prune.go add docker network prune 2016-10-25 06:43:54 +00:00
rename.go
resize.go
restart.go Update docker stop and docker restart to allow not specifying timeout and use the one specified at container creation time. 2016-10-17 12:53:35 -07:00
search.go
search_test.go
seccomp_disabled.go
seccomp_linux.go
seccomp_unsupported.go
selinux_linux.go
selinux_unsupported.go
start.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
start_linux.go
start_windows.go
stats.go
stats_collector.go
stats_collector_solaris.go
stats_collector_unix.go
stats_collector_windows.go
stats_unix.go
stats_windows.go
stop.go Update docker stop and docker restart to allow not specifying timeout and use the one specified at container creation time. 2016-10-17 12:53:35 -07:00
top_unix.go
top_unix_test.go
top_windows.go
unpause.go
update.go
update_linux.go
update_solaris.go
update_windows.go
volumes.go Show volume options for docker volume inspect 2016-10-20 05:14:27 -07:00
volumes_unit_test.go
volumes_unix.go
volumes_windows.go
wait.go