moby--moby/daemon
Hu Keping 945fc9d882 Fix inconsistent date formats in API
Prior to this patch, the response of
- GET /images/json
- GET /containers/json
- GET /images/(name)/history

display the Created Time as UNIX format which doesn't make sense.

These should be more readable as CLI command `docker inspect` shows.

Due to the case that an older client with a newer version daemon, we
need the version check for now.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2015-05-14 18:58:55 +08:00
..
events New package daemon/events 2015-04-07 08:43:14 -07:00
execdriver Fix race between execdriver.Kill and execdriver.Run 2015-05-11 13:23:50 -07:00
graphdriver zfs: update filesystem cache on filesystem creation/deletion 2015-05-12 13:06:41 +02:00
logger journald log driver: use CONTAINER_ID field for container id 2015-04-30 10:42:27 -04:00
network Add `--userland-proxy` daemon flag 2015-05-04 16:07:45 -07:00
networkdriver Merge pull request #13162 from jfrazelle/add-modprobe-br_netfilter 2015-05-12 13:46:34 -07: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 Windows: Commit() rwTar defer close 2015-04-30 12:17:33 -07:00
config.go Add `--userland-proxy` daemon flag 2015-05-04 16:07:45 -07:00
container.go Merge pull request #13000 from runcom/refactor-server-to-use-daemon-service-followup 2015-05-12 10:27:43 -07:00
container_unit_test.go
copy.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
create.go Feature: option for disable OOM killer 2015-05-04 21:11:29 +08:00
daemon.go Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
daemon_aufs.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
daemon_btrfs.go
daemon_devicemapper.go
daemon_no_aufs.go
daemon_overlay.go
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
daemon_zfs.go Implement Docker on ZFS 2015-05-08 17:48:20 +02:00
debugtrap.go Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
debugtrap_unsupported.go Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
delete.go Fix undead containers 2015-04-27 16:45:51 -04:00
exec.go Windows: Split ContainerExecCreate 2015-05-06 16:19:27 -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 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 add cpu.cfs_period_us support 2015-05-09 10:02:46 +08:00
inspect.go Remove API codepaths < 1.12 2015-05-12 20:09:49 +02:00
kill.go Remove Job from `docker kill` 2015-04-09 16:06:54 -07:00
list.go Fix inconsistent date formats in API 2015-05-14 18:58:55 +08:00
logs.go Make sure log pipes are closed 2015-05-12 13:50:51 -04:00
monitor.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
pause.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
rename.go Remove Job from rename 2015-04-10 01:52:55 +08:00
resize.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +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 Allow pulling stats once and disconnecting. 2015-05-04 10:49:13 -04: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
unpause.go Refactor server to use daemon as the service layer in controllers 2015-05-02 03:12:58 +02:00
utils.go Decode container configurations into typed structures. 2015-04-15 10:22:07 -07:00
utils_linux.go
utils_nolinux.go
utils_test.go Decode container configurations into typed structures. 2015-04-15 10:22:07 -07:00
volumes.go Make /etc/hosts, /etc/resolv.conf, /etc/hostname read only if --read-only is enable 2015-05-04 21:30:52 +02: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
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