moby--moby/daemon
Phil Estes 16aa64dc82 Add linked container's name and hostname as aliases to `/etc/hosts`
Currently when containers are linked the alias name (e.g. from `--link
name:alias`) is added to the parent container's `/etc/hosts` with a
reference to the IP of the linked container.  Some software requires
using the official hostname or node name in operations that need to
match on those values, and it is therefore helpful if the parent
container can refer to the child/link using those same values and still
access the same IP.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-02-19 14:19:38 -08:00
..
execdriver
graphdriver Merge pull request #10474 from petervo/10473-availble-space 2015-02-10 16:32:51 +01:00
networkdriver Merge pull request #10215 from taohu/remove-assumption-first-ip-is-bridge-ip 2015-02-06 14:15:46 -08:00
MAINTAINERS
README.md
attach.go Merge pull request #10573 from LK4D4/return_attach_to_builder 2015-02-06 14:37:09 -08:00
changes.go
commit.go
config.go Move daemon-only flags into the daemon config struct 2015-02-08 12:56:18 +00:00
container.go Add linked container's name and hostname as aliases to `/etc/hosts` 2015-02-19 14:19:38 -08:00
container_unit_test.go
copy.go
create.go Merge pull request #10186 from rhatdan/selinux-build 2015-02-06 14:11:21 -08:00
daemon.go Merge pull request #9705 from acbodine/9311-truncindex-error-duplicate-id-on-ambiguous-id 2015-02-06 14:01:28 -08:00
daemon_aufs.go
daemon_btrfs.go
daemon_devicemapper.go
daemon_no_aufs.go
daemon_overlay.go
daemon_test.go
daemon_unit_test.go
delete.go
exec.go Merge pull request #10573 from LK4D4/return_attach_to_builder 2015-02-06 14:37:09 -08:00
export.go
history.go
image_delete.go
info.go
inspect.go
kill.go
list.go Use graphdb.Walk with depth=1 in /containers 2015-02-06 14:04:21 -08:00
logs.go Merge pull request #10424 from LK4D4/fix_non_tailed_log_format 2015-02-06 14:35:45 -08:00
monitor.go Remove explicit setting of ExitCode 2015-01-29 14:50:42 -08:00
network_settings.go
pause.go
rename.go
resize.go
restart.go
start.go
state.go
state_test.go
stats.go
stats_collector.go
stop.go
top.go
utils.go
utils_linux.go
utils_nolinux.go
utils_test.go
volumes.go Merge pull request #10112 from cpuguy83/4393_fix_volume_where_file_exists 2015-02-06 19:39:48 -05:00
wait.go

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