moby/daemon
Daniel, Dao Quang Minh cd2b019214 sort ports mapping before allocating
prioritize the ports with static mapping before dynamic mapping. This removes
the port conflicts when we allocate static port in the reserved range
together with dynamic ones.
When static port is allocated first, Docker will skip those when determining
free ports for dynamic ones.

Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
2015-04-30 02:18:04 +00:00
..
events New package daemon/events 2015-04-07 08:43:14 -07:00
execdriver Merge pull request #12829 from Microsoft/10662-execdriver-driver-refactor 2015-04-30 20:36:10 -04:00
graphdriver Small if err cleaning 2015-04-27 21:50:33 +02:00
logger Add journald as a supported logger for containers 2015-04-21 12:57:54 -04:00
network Remove jobs from daemon/networkdriver/bridge 2015-04-08 18:50:29 -04:00
networkdriver Merge pull request #11526 from mizzy/append-drop-rule-not-insert 2015-04-29 10:28:11 -07:00
attach.go Refactor utils/utils, fixes #11923 2015-04-14 01:37:36 +02:00
commit.go Windows: Commit() rwTar defer close 2015-04-30 12:17:33 -07:00
config.go option to configure cgroups 2015-04-27 17:50:39 -07:00
container.go sort ports mapping before allocating 2015-04-30 02:18:04 +00:00
container_unit_test.go Ensure container names start with a-zA-Z0-9 2014-09-12 10:45:07 -07:00
create.go Windows: Move workdir check daemon-side 2015-04-30 14:16:45 -07:00
daemon.go Remove engine mechanism 2015-04-30 01:35:16 +02:00
daemon_aufs.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
daemon_btrfs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_devicemapper.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_no_aufs.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
daemon_overlay.go Remove the last references to overlayfs 2014-12-03 14:06:19 +01:00
daemon_test.go Closes #9311 Handles container id/name collisions against daemon functionalities according to #8069 2015-01-21 17:11:31 -08:00
daemon_unit_test.go Move security opts to HostConfig 2014-11-25 01:02:30 +02:00
delete.go Fix undead containers 2015-04-27 16:45:51 -04:00
exec.go Small if err cleaning 2015-04-27 21:50:33 +02:00
export.go Remove job from export 2015-04-13 15:27:45 +02: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 'docker rmi -f IMAGE_ID' untag all names and delete the image 2015-04-11 09:24:21 +08:00
info.go Windows: Info no containerized check 2015-04-27 08:38:01 -07:00
inspect.go Remove job from container_inspect 2015-04-23 00:58:13 +02:00
kill.go Remove Job from docker kill 2015-04-09 16:06:54 -07:00
list.go fix up Image-name related issues in docker ps and CI 2015-04-09 23:03:23 +08:00
logs.go Remove job from logs 2015-04-13 08:25:31 +02:00
monitor.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
README.md Add readme for daemon directory 2014-05-17 17:56:02 +00:00
rename.go Remove Job from rename 2015-04-10 01:52:55 +08:00
resize.go Remove job from resize&execResize 2015-04-10 00:56:43 +02:00
restart.go Remove job from restart 2015-04-16 18:50:24 +02:00
start.go Move setHostConfig to daemon file 2015-04-23 10:23:02 +08:00
state.go Fix a typo in docker/daemon/state.go 2015-04-16 10:56:15 -04:00
state_test.go Fix vet errors about unkeyed fields 2014-12-12 10:44:59 -08:00
stats.go Remove jobs from stats 2015-04-13 08:33:53 +02:00
stats_collector.go statsCollector: fix data race in run() 2015-04-24 21:07:48 +03:00
stop.go Remove job from stop 2015-04-12 00:41:16 +02:00
top.go Remove Job from docker top 2015-04-09 18:17:50 -07:00
utils.go Decode container configurations into typed structures. 2015-04-15 10:22:07 -07: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 Merge pull request #11190 from cyphar/expose-path-sanitisation-wrappers 2015-04-28 18:45:36 -04:00
volumes_linux.go Windows: Refactor volumes 2015-04-27 09:27:15 -07:00
volumes_windows.go Windows: Refactor volumes 2015-04-27 09:27:15 -07:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver
  • networkdriver

Code pertaining to storing images:

  • graphdriver