docs/daemon
Aaron Lehmann 1f61084d83 Fix uses of "int" where "int64" should be used instead
Some structures use int for sizes and UNIX timestamps. On some
platforms, int is 32 bits, so this can lead to the year 2038 issues and
overflows when dealing with large containers or layers.

Consistently use int64 to store sizes and UNIX timestamps in
api/types/types.go. Update related to code accordingly (i.e.
strconv.FormatInt instead of strconv.Itoa).

Use int64 in progressreader package to avoid integer overflow when
dealing with large quantities. Update related code accordingly.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-31 16:31:40 -07:00
..
events New package daemon/events 2015-04-07 08:43:14 -07:00
execdriver Merge pull request #15148 from hqhq/hq_golint_native 2015-07-30 15:51:06 -04:00
graphdriver Merge pull request #15146 from kolyshkin/mkdirall 2015-07-30 22:40:57 -04:00
links Cleanup links top level pkg 2015-07-29 23:39:18 +02:00
logger golint fixes for daemon/logger/* 2015-07-29 13:09:39 -07:00
network golint on daemon/network package 2015-07-21 22:49:49 +08:00
README.md
archive.go Fix `docker cp` Behavior With Symlinks 2015-07-30 12:14:28 -07:00
archive_unix.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
archive_windows.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
attach.go Fix regression in containers attach/wsattach api, return not found before hijacking 2015-07-01 18:16:17 +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 Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
config.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
config_experimental.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
config_stub.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
config_unix.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
config_windows.go Windows: Fixes panic on daemon binary 2015-07-24 12:30:49 -07:00
container.go Remove HostConfig,SetHostConfig from daemon.container 2015-07-30 22:25:31 +02:00
container_unit_test.go move nat tests from container's unit test to nat's ones 2015-07-21 00:29:24 +02:00
container_unix.go Merge pull request #14922 from rhatdan/netlabel 2015-07-30 15:03:49 -07:00
container_windows.go Windows: Remove some TODOs 2015-07-30 14:46:51 -07:00
create.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
create_unix.go Replace GenerateRandomID with GenerateNonCryptoID 2015-07-28 22:31:01 -07:00
create_windows.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
daemon.go Merge pull request #15179 from Microsoft/10662-yetmoretodos 2015-07-30 23:58:16 -04:00
daemon_aufs.go Move graph.SetupInitLayer to daemon package where it is used 2015-06-16 16:50:56 -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 make docker compile on freebsd 2015-07-29 21:25:56 +03:00
daemon_overlay.go Windows: Don't build Linux graph drivers 2015-06-08 15:09:33 -07:00
daemon_test.go Merge pull request #15076 from hqhq/hq_merge_daemon_test 2015-07-29 14:53:34 -04:00
daemon_unix.go Windows: Address more todos 2015-07-30 15:28:11 -07:00
daemon_windows.go Windows: Address more todos 2015-07-30 15:28:11 -07:00
daemon_zfs.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
debugtrap_unix.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_unsupported.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_windows.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
delete.go Cleanup links top level pkg 2015-07-29 23:39:18 +02:00
exec.go Replace GenerateRandomID with GenerateNonCryptoID 2015-07-28 22:31:01 -07:00
exec_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03: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 Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
info.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
inspect.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
inspect_unix.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
inspect_windows.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
kill.go Keep backwards compatibility in kill api. 2015-07-28 12:25:36 -07:00
list.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
logdrivers_linux.go Add new logging driver: fluentd 2015-06-26 11:03:11 +09:00
logdrivers_windows.go Windows: Factor out syslog and journald 2015-05-14 10:34:09 -07:00
logs.go Split reader interface from logger interface 2015-07-21 20:47:31 -04:00
monitor.go Split reader interface from logger interface 2015-07-21 20:47:31 -04: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 Windows: hostconfig on start 2015-07-16 15:33:13 -07:00
state.go Validate status= filter to docker ps 2015-07-02 16:12:42 -07:00
state_test.go Fix vet errors about unkeyed fields 2014-12-12 10:44:59 -08:00
stats.go Update libcontainer 2015-07-16 16:02:26 -07:00
stats_collector_unix.go Update libcontainer 2015-07-16 16:02:26 -07:00
stats_collector_windows.go Windows: Factor out stat collector 2015-06-01 09:11:03 -07:00
stats_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
stats_linux.go Update libcontainer 2015-07-16 16:02:26 -07:00
stats_windows.go Update libcontainer 2015-07-16 16:02:26 -07:00
stop.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
top_unix.go Windows: Top (non-)implementation 2015-07-30 14:25:15 -07:00
top_windows.go Windows: Top (non-)implementation 2015-07-30 14:25:15 -07:00
unpause.go Cleanup container LogEvent calls 2015-06-01 12:39:28 -07:00
utils_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
utils_linux.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
utils_nounix.go Windows: Tidy up daemon\utils*.go 2015-07-09 18:47:32 -07:00
utils_test.go Windows: Tidy up daemon\utils*.go 2015-07-09 18:47:32 -07:00
volumes.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -07:00
volumes_linux_unit_test.go Promote volume drivers from experimental to master. 2015-07-21 09:32:44 -07:00
volumes_unit_test.go Allow named volumes for external drivers. 2015-05-21 20:34:17 -07:00
volumes_unix.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
volumes_windows.go Windows: Factoring out unused fields 2015-07-27 17:44:18 -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