Skip to content

Commit 3d49970

Browse files
authored
docs: Add example etcd/nats commands to the container banner (#1423)
1 parent a673145 commit 3d49970

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

container/launch_message.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,14 @@ Try the following to begin interacting with a model:
5050
> dynamo --help
5151
> dynamo run Qwen/Qwen2.5-3B-Instruct
5252

53-
For more complete deployment configurations, check out the examples folder.
54-
To run the examples instances of etcd and nats are needed from the host system.
53+
To run more complete deployment examples, instances of etcd and nats need to be
54+
accessible within the container. This is generally done by connecting to
55+
existing etcd/nats services from the host or other containers. For simple
56+
cases, you can start them in the container as well:
57+
> nats-server -js &
58+
> etcd --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379 --data-dir /tmp/etcd &
59+
60+
With etcd/nats accessible, run the examples:
5561
> cd examples/hello_world
5662
> dynamo serve hello_world:Frontend
5763

0 commit comments

Comments
 (0)