1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Yong Tang 9e8adbecf5 Add custom DNS settings to service definition
This fix tries to fix the issue raised in 24391 about allowing
custom DNS settings to service definition.

This fix adds `DNSConfig` (`Nameservers`, `Options`, `Search`) to
service definition, as well as `--dns`, `--dns-opt`, and `dns-search`
to `service create`.

An integration test has been added to cover the changes in this fix.

This fix fixes 24391.

A PR in swarmkit will be created separately.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-11-08 15:41:32 -08:00
..
caps
cluster Add custom DNS settings to service definition 2016-11-08 15:41:32 -08:00
events Merge pull request #25800 from vdemeester/25798-fix-event-actions 2016-10-28 05:20:49 +02:00
exec Small log formatting fixes 2016-10-27 15:29:24 -07:00
graphdriver Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
links
logger Merge pull request #28035 from thaJeztah/add-test-for-long-loglines 2016-11-04 07:59:20 +01:00
network
apparmor_default.go
apparmor_default_unsupported.go
archive.go
archive_unix.go
archive_windows.go
attach.go
auth.go
bindmount_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
bindmount_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
cache.go
changes.go Windows: support docker diff 2016-10-28 11:06:54 -07:00
checkpoint.go Allow providing a custom storage directory for docker checkpoints 2016-10-28 07:56:05 -04:00
cluster.go add docker network prune 2016-10-25 06:43:54 +00:00
commit.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config_common_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config_experimental.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
config_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
config_unix_test.go
config_windows.go
config_windows_test.go
container.go
container_operations.go Merge pull request #27466 from mrjana/net 2016-11-08 18:25:45 +01:00
container_operations_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
container_operations_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
container_operations_windows.go
create.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
create_unix.go
create_windows.go Windows: Fix COPY file . after WORKDIR 2016-10-30 13:12:27 -07:00
daemon.go Fix typo limitied 2016-11-08 13:06:24 -08:00
daemon_experimental.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
daemon_linux.go
daemon_linux_test.go
daemon_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
daemon_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
daemon_unix.go Add --cpus flag to control cpu resources 2016-11-04 09:43:10 -07:00
daemon_unix_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
daemon_unsupported.go
daemon_windows.go Windows: Add cpu count option 2016-11-04 13:38:50 -07:00
debugtrap.go Spew debugging 2016-11-03 10:05:11 -07:00
debugtrap_unix.go Spew debugging 2016-11-03 10:05:11 -07:00
debugtrap_unsupported.go Spew debugging 2016-11-03 10:05:11 -07:00
debugtrap_windows.go Spew debugging 2016-11-03 10:05:11 -07:00
delete.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
delete_test.go
discovery.go
discovery_test.go
disk_usage.go Add swagger.yaml 2016-10-20 13:24:23 -07:00
errors.go
events.go
events_test.go
exec.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
exec_linux.go
exec_solaris.go
exec_windows.go
export.go pkg/archive: remove unnecessary Archive and Reader type 2016-10-20 19:31:24 -07:00
getsize_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
health.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
health_test.go
image.go
image_delete.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
image_exporter.go
image_history.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
image_inspect.go
image_pull.go
image_push.go
image_tag.go
images.go Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
import.go
info.go daemon: add a flag to override the default seccomp profile 2016-11-02 21:41:29 +01:00
inspect.go record pid of exec'd process 2016-10-20 17:06:11 +02:00
inspect_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
inspect_unix.go
inspect_windows.go
keys.go
keys_unsupported.go
kill.go Taking stop-signal into account when docker kill 2016-10-24 11:10:14 -07:00
links.go
links_test.go
list.go Replace all "Filter" field with "Filters" for consistency 2016-11-01 23:09:30 +08:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
logs_test.go
metrics.go Add basic prometheus support 2016-10-27 10:34:38 -07:00
monitor.go Merge pull request #27615 from darrenstahlmsft/ExecCloseAsync 2016-11-07 16:16:21 -08:00
monitor_linux.go
monitor_solaris.go
monitor_windows.go Move stdio attach from libcontainerd backend to callback 2016-10-24 00:20:36 -07:00
mounts.go
names.go
network.go Merge pull request #28056 from LK4D4/solaris_me 2016-11-07 16:46:18 -08:00
oci_linux.go api: add TypeTmpfs to api/types/mount 2016-10-28 08:38:32 +00:00
oci_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
oci_windows.go Windows: Add cpu count option 2016-11-04 13:38:50 -07:00
pause.go
prune.go add docker network prune 2016-10-25 06:43:54 +00:00
rename.go
resize.go
restart.go Allow providing a custom storage directory for docker checkpoints 2016-10-28 07:56:05 -04:00
search.go
search_test.go
seccomp_disabled.go
seccomp_linux.go daemon: add a flag to override the default seccomp profile 2016-11-02 21:41:29 +01:00
seccomp_unsupported.go
selinux_linux.go
selinux_unsupported.go
start.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
start_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
start_windows.go
stats.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
stats_collector.go
stats_collector_solaris.go
stats_collector_unix.go
stats_collector_windows.go
stats_unix.go
stats_windows.go
stop.go
top_unix.go
top_unix_test.go
top_windows.go
unpause.go
update.go Generate container update response from swagger spec. 2016-10-31 11:16:02 -04:00
update_linux.go
update_solaris.go
update_windows.go
volumes.go Fix bunch of typos 2016-10-29 15:03:26 +08:00
volumes_unit_test.go
volumes_unix.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
volumes_windows.go
wait.go