1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Kir Kolyshkin 0fb1fb1ce0 Use container.HostConfig.ShmSize directly
It was noted[1] that container's HostConfig.ShmSize, if not set, should be
initialized to daemon default value during container creation.

In fact, it is already done in daemon.adaptContainerSettings, so we can use
value from container.HostConfig directly.

[1] https://github.com/moby/moby/pull/34087#discussion_r128656429

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2017-08-11 03:29:27 -07:00
..
caps
cluster hide swarm plugins behind experimental flag 2017-08-08 18:33:25 -07:00
config Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
discovery Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
events make engine support cluster config event 2017-07-11 17:21:15 +08:00
exec Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
graphdriver Merge pull request #34430 from AkihiroSuda/promote-overlay2 2017-08-09 21:41:36 +02:00
initlayer [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
links use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
listeners Move pkg/listeners away 2017-08-08 18:14:04 +02:00
logger Move pkg/templates away 2017-08-08 18:16:41 +02:00
network
stats Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
apparmor_default.go apparmor: make pkg/aaparser work on read-only root 2017-05-18 00:05:13 +10:00
apparmor_default_unsupported.go
archive.go Fix copy when used with scratch and images with empty RootFS 2017-06-08 15:07:16 -04:00
archive_tarcopyoptions.go Partial refactor of UID/GID usage to use a unified struct. 2017-06-07 11:44:33 -04:00
archive_tarcopyoptions_unix.go Fix vfs unit test and port VFS to the new IDMappings 2017-06-07 11:44:34 -04:00
archive_tarcopyoptions_windows.go daemon/archive.go: Fix copy routines to preserve UID. 2017-04-12 10:33:19 +00:00
archive_unix.go Remove CopyOnBuild from the daemon. 2017-06-08 15:06:54 -04:00
archive_windows.go Remove CopyOnBuild from the daemon. 2017-06-08 15:06:54 -04:00
attach.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
auth.go
bindmount_solaris.go
bindmount_unix.go
build.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
cache.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
changes.go
checkpoint.go Fix checkpoint ls 2017-05-18 10:57:10 +08:00
cluster.go Fix race condition between swarm and libnetwork 2017-05-10 21:16:52 -07:00
commit.go LCOW: Rework after 33454 merged which refactored daemon/builder interface 2017-06-20 19:50:13 -07:00
configs.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
configs_linux.go Add config support to executor backend 2017-05-11 10:08:21 -07:00
configs_unsupported.go Add Windows configs support 2017-05-16 14:25:32 -07:00
configs_windows.go Add Windows configs support 2017-05-16 14:25:32 -07:00
container.go Store container names in memdb 2017-07-13 12:35:00 -07:00
container_linux.go Added an apparmorEnabled boolean in the Daemon struct to indicate if AppArmor is enabled or not. It is set in NewDaemon using sysInfo information. 2017-01-30 16:23:23 +01:00
container_operations.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
container_operations_solaris.go Include Endpoint List for Shared Endpoints 2017-07-06 12:19:17 -07:00
container_operations_unix.go Use container.HostConfig.ShmSize directly 2017-08-11 03:29:27 -07:00
container_operations_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
container_windows.go Added an apparmorEnabled boolean in the Daemon struct to indicate if AppArmor is enabled or not. It is set in NewDaemon using sysInfo information. 2017-01-30 16:23:23 +01:00
create.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
create_unix.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
create_windows.go
daemon.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
daemon_experimental.go
daemon_linux.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
daemon_linux_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
daemon_solaris.go Fix solaris reference to config 2017-08-09 20:58:31 +02:00
daemon_test.go Store container names in memdb 2017-07-13 12:35:00 -07:00
daemon_unix.go Merge pull request #33722 from TomSweeneyRedHat/tsweeney/privmessage 2017-08-09 16:08:10 -07:00
daemon_unix_test.go avoid saving container state to disk before daemon.Register 2017-06-23 07:52:34 -07:00
daemon_unsupported.go
daemon_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
debugtrap_unix.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
debugtrap_unsupported.go
debugtrap_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
delete.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
delete_test.go LCOW: Remove CommonContainer - just Container 2017-06-20 08:55:46 -07:00
dependency.go Add config support to executor backend 2017-05-11 10:08:21 -07:00
disk_usage.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
errors.go Return an empty stats if "container not found" 2017-07-10 16:30:48 +08:00
events.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
events_test.go LCOW: Remove CommonContainer - just Container 2017-06-20 08:55:46 -07:00
exec.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
exec_linux.go daemon: also ensureDefaultApparmorProfile in exec path 2017-03-13 15:20:05 +11:00
exec_solaris.go
exec_windows.go LCOW: pass command arguments without extra quoting 2017-06-24 10:23:17 -07:00
export.go LCOW: Don't block export 2017-08-08 12:54:06 -07:00
getsize_unix.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
health.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
health_test.go Move checkpointing to the Container object 2017-06-23 07:52:32 -07:00
image.go LCOW: Move daemon stores to per platform 2017-06-20 19:49:52 -07:00
image_delete.go LCOW: Move daemon stores to per platform 2017-06-20 19:49:52 -07:00
image_exporter.go LCOW: Fix nits from 33241 2017-06-27 11:59:49 -07:00
image_history.go LCOW: Move daemon stores to per platform 2017-06-20 19:49:52 -07:00
image_inspect.go Set a LastUpdated time in image metadata when an image tag is updated. 2017-06-26 12:16:26 -07:00
image_pull.go LCOW: pull goes to correct stores 2017-06-20 19:49:52 -07:00
image_push.go LCOW: Fix nits from 33241 2017-06-27 11:59:49 -07:00
image_tag.go Set a LastUpdated time in image metadata when an image tag is updated. 2017-06-26 12:16:26 -07:00
images.go LCOW: Fix nits from 33241 2017-06-27 11:59:49 -07:00
import.go LCOW: Plumb through platform on Import 2017-06-20 19:49:54 -07:00
info.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
info_unix.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
info_unix_test.go Refactor "init" version parsing, and add unit-test 2017-04-08 11:28:37 +02:00
info_windows.go
inspect.go Merge pull request #32881 from coolljt0725/fix_exec_faild 2017-07-12 19:29:27 -07:00
inspect_solaris.go Move platform specific mount data to Container 2017-06-23 07:22:47 -07:00
inspect_unix.go Move platform specific mount data to Container 2017-06-23 07:22:47 -07:00
inspect_windows.go Move platform specific mount data to Container 2017-06-23 07:22:47 -07:00
keys.go
keys_unsupported.go
kill.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
links.go
list.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
list_unix.go stop grabbing container locks during ps 2017-06-23 07:52:31 -07:00
list_windows.go stop grabbing container locks during ps 2017-06-23 07:52:31 -07:00
logdrivers_linux.go
logdrivers_windows.go
logs.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
logs_test.go
metrics.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
metrics_unix.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
metrics_unsupported.go Add support for metrics plugins 2017-05-12 00:30:09 -04:00
monitor.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
monitor_linux.go
monitor_solaris.go
monitor_windows.go
mounts.go Fix issue backporting mount spec to pre-1.13 obj 2017-05-11 12:31:53 -04:00
names.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
network.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
oci_linux.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
oci_solaris.go Remove error return from RootPair 2017-06-07 11:45:33 -04:00
oci_windows.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
pause.go
prune.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
reload.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
reload_test.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
rename.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
resize.go
restart.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
search.go
search_test.go
seccomp_disabled.go
seccomp_linux.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
seccomp_unsupported.go
secrets.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
secrets_linux.go
secrets_unsupported.go Add Windows secrets support 2017-05-16 11:30:06 -07:00
secrets_windows.go Add Windows secrets support 2017-05-16 11:30:06 -07:00
selinux_linux.go Switch to using opencontainers/selinux for selinux bindings 2017-04-24 21:29:47 +02:00
selinux_unsupported.go
start.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
start_unix.go save deep copies of Container in the replica store 2017-06-23 07:52:33 -07:00
start_windows.go jhoward/opengcs --> Microsoft/opengcs 2017-08-08 14:43:43 -07:00
stats.go Send "Name" and "ID" when stating stopped containers 2017-02-09 09:46:59 +08:00
stats_collector.go
stats_unix.go
stats_windows.go
stop.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
top_unix.go Fixing issue of docker top command failure when dealing with -m option 2017-03-10 02:50:21 +00:00
top_unix_test.go Fixing issue of docker top command failure when dealing with -m option 2017-03-10 02:50:21 +00:00
top_windows.go
unpause.go
update.go save deep copies of Container in the replica store 2017-06-23 07:52:33 -07:00
update_linux.go Add --cpus support for docker update 2017-04-06 15:40:12 -07:00
update_solaris.go
update_windows.go
volumes.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
volumes_unit_test.go
volumes_unix.go avoid saving container state to disk before daemon.Register 2017-06-23 07:52:34 -07:00
volumes_unix_test.go Spelling fixes 2017-07-03 13:13:09 -07:00
volumes_windows.go Partial refactor of UID/GID usage to use a unified struct. 2017-06-07 11:44:33 -04:00
wait.go Update ContainerWait API 2017-05-16 15:11:39 -07:00
workdir.go Remove error return from RootPair 2017-06-07 11:45:33 -04:00