forked from docker/docker-hoster
Update README.md
This commit is contained in:
parent
b94a8f336d
commit
50cd480853
|
|
@ -19,7 +19,7 @@ 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" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue