From f803b3fa3de35add0509feb80129f644e96206a7 Mon Sep 17 00:00:00 2001 From: makopo Date: Mon, 9 Jan 2017 12:16:45 +0900 Subject: [PATCH] adding a command for showing logs to README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9119ece..dff25f8 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,13 @@ You will need to forward both TCP and UDP port 9000 to your host. $ docker run --name=opensim -p 9000:9000 -p 9000:9000/udp -d opensim ``` -If you need to run any admin command on console, run it like that: +You can see the console logs like that: + +``` +$ docker logs -f opensim +``` + +If you need to run any admin command on console, start the container like that: ``` $ docker run --name=opensim -it -p 9000:9000 -p 9000:9000/udp opensim