1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Brian Goff 7a9cb29fb9 Accept platform spec on container create
This enables image lookup when creating a container to fail when the
reference exists but it is for the wrong platform. This prevents trying
to run an image for the wrong platform, as can be the case with, for
example binfmt_misc+qemu.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-03-20 16:10:36 -07:00
..
cluster service: support --mount type=bind,bind-nonrecursive 2020-03-13 19:01:28 +09:00
config API: deprecate /info "ClusterStore" and "ClusterAdvertise" fields 2020-03-03 18:10:47 +01:00
discovery bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
events daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
exec
graphdriver Merge pull request #40483 from AkihiroSuda/fuse-overlayfs 2020-03-11 11:32:37 -07:00
images Accept platform spec on container create 2020-03-20 16:10:36 -07:00
initlayer
links daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
listeners vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
logger vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
names
network Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
stats Use condition variable to wake stats collector. 2020-02-08 11:06:34 -08:00
testdata
apparmor_default.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
apparmor_default_unsupported.go
archive.go
archive_tarcopyoptions.go
archive_tarcopyoptions_unix.go
archive_tarcopyoptions_windows.go
archive_unix.go
archive_windows.go
attach.go
auth.go
changes.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
checkpoint.go
cluster.go
commit.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
configs.go
configs_linux.go
configs_unsupported.go
configs_windows.go
container.go Merge pull request #40291 from akhilerm/privileged-device 2020-01-02 10:09:31 -08:00
container_linux.go daemon: normalize comment formatting 2019-11-27 15:43:53 +01:00
container_operations.go Merge pull request #40007 from arkodg/add-host-docker-internal 2020-01-27 13:42:26 +01:00
container_operations_unix.go
container_operations_windows.go
container_unix_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
container_windows.go
create.go Accept platform spec on container create 2020-03-20 16:10:36 -07:00
create_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
create_unix.go Check tmpfs mounts before create anon volume 2020-02-04 10:12:05 -08:00
create_windows.go
daemon.go Merge pull request #39816 from tao12345666333/rm-systeminfo-error-handler 2020-03-13 01:59:13 +09:00
daemon_linux.go
daemon_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
daemon_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
daemon_unix.go daemon: fail early if rootless && cgroupdriver == "systemd" && cgroup v1 2020-03-11 12:49:03 +09:00
daemon_unix_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
daemon_unsupported.go
daemon_windows.go cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
daemon_windows_test.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go
delete_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
dependency.go
devices_linux.go
disk_usage.go
errors.go
events.go
events_test.go
exec.go
exec_linux.go daemon: use constants for AppArmor profiles 2019-10-13 19:16:12 +02:00
exec_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
exec_windows.go
export.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
health.go
health_test.go daemon: suppress logs in unit tests 2019-10-18 00:57:56 +02:00
info.go Merge pull request #39816 from tao12345666333/rm-systeminfo-error-handler 2020-03-13 01:59:13 +09:00
info_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
info_unix.go prevent panic if TINI_COMMIT isn't set during build 2020-01-10 15:27:20 +01:00
info_unix_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
info_windows.go
inspect.go
inspect_linux.go
inspect_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
inspect_windows.go
keys.go
keys_unsupported.go
kill.go
licensing.go
licensing_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
links.go
list.go Accept platform spec on container create 2020-03-20 16:10:36 -07:00
list_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
list_unix.go
list_windows.go
logdrivers_linux.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logdrivers_windows.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logs.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logs_test.go
metrics.go
metrics_unix.go
metrics_unsupported.go
monitor.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
mounts.go
names.go
network.go
network_windows.go
nvidia_linux.go
oci_linux.go rootless: support --exec-opt native.cgroupdriver=systemd 2020-02-14 15:32:31 +09:00
oci_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
oci_utils.go
oci_windows.go Accept platform spec on container create 2020-03-20 16:10:36 -07:00
oci_windows_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
pause.go
prune.go
reload.go
reload_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
reload_unix.go
reload_windows.go
rename.go
resize.go
resize_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
restart.go
seccomp_disabled.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
seccomp_linux.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
seccomp_unsupported.go daemon: make supportsSeccomp a const 2019-10-13 19:16:31 +02:00
secrets.go
secrets_linux.go
secrets_unsupported.go
secrets_windows.go
selinux_linux.go
selinux_unsupported.go
start.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
start_unix.go cgroup2: use shim V2 2020-01-01 02:58:40 +09:00
start_windows.go
stats.go daemon: add "isWindows" const 2019-10-17 23:49:43 +02:00
stats_collector.go
stats_unix.go
stats_windows.go
stop.go
top_unix.go
top_unix_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
top_windows.go
trustkey.go
trustkey_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
unpause.go
update.go
update_linux.go
update_windows.go
util_test.go add NewContainerOpts to libcontainerd.Create 2019-10-03 11:45:41 -04:00
volumes.go
volumes_linux.go
volumes_linux_test.go
volumes_unit_test.go
volumes_unix.go
volumes_unix_test.go
volumes_windows.go
wait.go
workdir.go