1
0
mirror of https://github.com/dvddarias/docker-hoster synced 2026-08-05 16:12:43 +02:00

Merge pull request #3 from jeffreyvdhondel/master

Updated the README.md
This commit is contained in:
David Darias
2018-10-08 11:46:38 -04:00
committed by GitHub
+3 -1
View File
@@ -19,10 +19,12 @@ Hoster provides by default the entries `<container name>, <hostname>, <container
For example, the following container would be available via DNS as `myname`, `myhostname`, `et54rfgt567` and `myserver.com`: For example, the following container would be available via DNS as `myname`, `myhostname`, `et54rfgt567` and `myserver.com`:
docker run -d \ docker run --restart=unless-stopped -d \
--name myname \ --name myname \
--hostname myhostname \ --hostname myhostname \
--network somenetwork --network-alias "myserver.com" \ --network somenetwork --network-alias "myserver.com" \
mycontainer mycontainer
If you need more features like **systemd integration** and **dns forwarding** please check [resolvable](https://hub.docker.com/r/mgood/resolvable/) If you need more features like **systemd integration** and **dns forwarding** please check [resolvable](https://hub.docker.com/r/mgood/resolvable/)
Any contribution is, of course, welcome. :)