moby--moby/daemon
Michael Crosby ff4e58ff56 Get Mtu from default route
If no Mtu value is provided to the docker daemon, get the mtu from the
default route's interface.  If there is no default route, default to a
mtu of 1500.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-06-15 16:33:02 -07:00
..
events New package daemon/events 2015-04-07 08:43:14 -07:00
execdriver Correct getEnv split. 2015-06-11 14:40:46 -07:00
graphdriver Carry of PR #13520 2015-06-13 09:27:30 -07:00
logger add UDP GELF logging-driver 2015-06-10 20:21:50 +02:00
network Docker integration with libnetwork 2015-05-19 22:40:19 +00:00
README.md
attach.go Move container.WaitStop, AttachWithLogs and WsAttachWithLogs to daemon service in api server 2015-05-11 19:56:41 +02:00
changes.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
commit.go Merge pull request #13536 from Mic92/master 2015-06-01 15:57:14 -07:00
config.go Merge pull request #13259 from Microsoft/10662-configbridge 2015-05-28 12:59:57 -04:00
config_linux.go Restore --default-gateway{,-v6} daemon options. 2015-06-05 06:21:22 +00:00
config_windows.go Windows: Set default exec driver to windows 2015-05-26 16:17:33 -07:00
container.go Merge pull request #13547 from coolljt0725/fix_unpause_not_running_container 2015-06-15 23:56:32 +02:00
container_linux.go Vendoring in libnetwork to 3be488927db8d719568917203deddd630a194564 2015-06-12 16:10:40 -07:00
container_unit_test.go Ensure container names start with a-zA-Z0-9 2014-09-12 10:45:07 -07:00
container_windows.go Cleanup: remove some useless code and change verifyHostConfig to verifyContainerSetting 2015-06-08 09:06:58 +08:00
copy.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
create.go Add verify config to verifyContainerSettings 2015-06-13 09:31:19 +08:00
daemon.go Get Mtu from default route 2015-06-15 16:33:02 -07:00
daemon_aufs.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_btrfs.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_devicemapper.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_no_aufs.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_overlay.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_test.go Allow to downgrade local volumes from > 1.7 to 1.6. 2015-06-09 18:04:59 -07:00
daemon_unit_test.go Move security opts to HostConfig 2014-11-25 01:02:30 +02:00
daemon_unix.go Add verify config to verifyContainerSettings 2015-06-13 09:31:19 +08:00
daemon_windows.go Windows: Fixup compile in daemon_windows.go 2015-06-13 09:10:54 -07:00
daemon_zfs.go Windows: No ZFS graphdriver 2015-05-14 15:57:45 -07:00
debugtrap.go Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
debugtrap_unsupported.go Fix package on debugtrap_unsupported.go 2015-05-13 16:38:59 -07:00
delete.go Windows: Allow VFS 2015-06-12 09:21:17 -07:00
exec.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
exec_linux.go Windows: Split ContainerExecCreate 2015-05-06 16:19:27 -07:00
exec_windows.go Windows: Split ContainerExecCreate 2015-05-06 16:19:27 -07:00
export.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
history.go History.Swap Use parallel assignment to swap elements, as it's 2015-03-25 00:13:13 +03:00
image_delete.go Update graph walkhistory to pass by value 2015-06-05 18:06:09 -07:00
info.go Add DOCKER_EXPERIMENTAL environment variable 2015-05-20 12:21:17 -07:00
inspect.go Expose old config field for api < 1.19 2015-06-02 23:37:59 +02:00
kill.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
list.go Add a "Created" state for new containers that haven't been run yet 2015-05-30 07:48:46 -07:00
logdrivers_linux.go add UDP GELF logging-driver 2015-06-10 20:21:50 +02:00
logdrivers_windows.go Windows: Factor out syslog and journald 2015-05-14 10:34:09 -07:00
logs.go Fix goroutine leak on logs -f with no output 2015-06-04 13:56:40 -07:00
monitor.go Add RestartPolicy methods instead of using strings checking 2015-05-16 14:15:28 +02:00
pause.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
rename.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
resize.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
restart.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
start.go Add verify config to verifyContainerSettings 2015-06-13 09:31:19 +08:00
state.go Add a "Created" state for new containers that haven't been run yet 2015-05-30 07:48:46 -07:00
state_test.go Fix vet errors about unkeyed fields 2014-12-12 10:44:59 -08:00
stats.go Fixes content-type/length for stats stream=false 2015-06-12 13:06:06 -04:00
stats_collector_unix.go Windows: Factor out stat collector 2015-06-01 09:11:03 -07:00
stats_collector_windows.go Windows: Factor out stat collector 2015-06-01 09:11:03 -07:00
stats_linux.go Fixes content-type/length for stats stream=false 2015-06-12 13:06:06 -04:00
stats_windows.go Fixes content-type/length for stats stream=false 2015-06-12 13:06:06 -04:00
stop.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
top.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
unpause.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
utils.go Remove PortSpecs from Config 2015-05-29 22:38:09 +02:00
utils_linux.go --selinux-enabled flag should be ignored on Disabled SELinux systems 2014-09-23 13:21:25 -04:00
utils_nolinux.go --selinux-enabled flag should be ignored on Disabled SELinux systems 2014-09-23 13:21:25 -04:00
utils_test.go Decode container configurations into typed structures. 2015-04-15 10:22:07 -07:00
volumes.go Allow to downgrade local volumes from > 1.7 to 1.6. 2015-06-09 18:04:59 -07:00
volumes_experimental.go Mount bind volumes coming from the old volumes configuration. 2015-05-28 14:06:17 -07:00
volumes_experimental_unit_test.go apply selinux labels volume patch on volumes refactor 2015-05-27 12:50:16 -07:00
volumes_linux.go Allow to downgrade local volumes from > 1.7 to 1.6. 2015-06-09 18:04:59 -07:00
volumes_stubs.go Mount bind volumes coming from the old volumes configuration. 2015-05-28 14:06:17 -07:00
volumes_stubs_unit_test.go apply selinux labels volume patch on volumes refactor 2015-05-27 12:50:16 -07:00
volumes_unit_test.go Allow named volumes for external drivers. 2015-05-21 20:34:17 -07:00
volumes_windows.go Allow to downgrade local volumes from > 1.7 to 1.6. 2015-06-09 18:04:59 -07:00
wait.go Move container.WaitStop, AttachWithLogs and WsAttachWithLogs to daemon service in api server 2015-05-11 19:56:41 +02:00

README.md

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver