From 8b4382c7aa3a92440f292d7abdd4bce5b29ee405 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 8 Apr 2015 10:52:28 +0800 Subject: [PATCH] Add documentation for links. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index dcc0d29..99730fa 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,17 @@ volumes: Expose a directory inside the host to the container. +#### links: +``` +links: + - link: + name: postgres + alias: postgres +``` + +Links another container to the current container. This will add `--link postgres:postgres` +to the options when running the container. + ### Upgrading Discourse The Docker setup gives you multiple upgrade options: -- 2.25.1