Files
podman/libpod
Daniel J Walsh 5b3503c0a1 Add container name to the /etc/hosts within the container
This will allow containers that connect to the network namespace be
able to use the container name directly.

For example you can do something like

podman run -ti --name foobar fedora ping foobar

While we can do this with hostname now, this seems more natural.

Also if another container connects on the network to this container it
can do

podman run --network container:foobar fedora ping foobar

And connect to the original container,without having to discover the name.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-06-20 06:20:46 -04:00
..
2020-06-19 09:00:03 -05:00
2020-06-10 05:49:41 -04:00
2020-06-19 14:47:36 +02:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2020-05-11 13:20:32 +02:00
2020-03-12 10:06:51 +05:30
2020-06-15 07:05:56 -04:00
2020-06-15 07:05:56 -04:00
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-06-15 07:05:56 -04:00
2020-06-15 07:05:56 -04:00
2020-06-15 07:05:56 -04:00
2020-05-11 13:11:07 +02:00
2020-06-15 07:05:56 -04:00
2019-07-22 15:57:23 -04:00
2020-04-05 15:54:51 -05:00
2020-06-15 07:05:56 -04:00
2020-06-10 13:28:09 -04:00
2020-06-15 07:05:56 -04:00
2020-06-15 07:05:56 -04:00
2020-01-25 15:09:09 -06:00
2020-03-28 17:32:22 +01:00
2019-06-25 13:51:24 -05:00
2020-06-11 11:01:13 +02:00
2020-03-27 14:36:03 -04:00
2020-01-13 14:27:02 +01:00
2020-05-04 16:01:45 +02:00
2020-06-15 07:05:56 -04:00
2020-04-17 17:30:58 -04:00
2019-08-28 11:35:00 -04:00
2020-06-15 07:05:56 -04:00
2020-06-15 07:05:56 -04:00
2020-03-27 14:36:03 -04:00
2020-03-27 14:36:03 -04:00
2020-05-05 08:46:51 -05:00
2020-05-05 08:46:51 -05:00
2020-06-15 07:05:56 -04:00
2020-02-13 21:42:57 -05:00
2020-05-05 08:46:51 -05:00
2020-05-13 11:49:17 -07:00
2020-06-15 07:05:56 -04:00
2020-05-05 12:24:33 -05:00