You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2015/11/12 15:55:53 UTC
[6/6] marmotta git commit: MARMOTTA-588: added more documentation
MARMOTTA-588: added more documentation
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/2fa66e7d
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/2fa66e7d
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/2fa66e7d
Branch: refs/heads/MARMOTTA-588
Commit: 2fa66e7de4ea1fa6f4d5f40894224c9856fb0ba5
Parents: 92fadba
Author: Sergio Fernández <wi...@apache.org>
Authored: Thu Nov 12 15:55:25 2015 +0100
Committer: Sergio Fernández <wi...@apache.org>
Committed: Thu Nov 12 15:55:25 2015 +0100
----------------------------------------------------------------------
launchers/marmotta-webapp/README.md | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/2fa66e7d/launchers/marmotta-webapp/README.md
----------------------------------------------------------------------
diff --git a/launchers/marmotta-webapp/README.md b/launchers/marmotta-webapp/README.md
index d1ace68..8e361a6 100644
--- a/launchers/marmotta-webapp/README.md
+++ b/launchers/marmotta-webapp/README.md
@@ -16,17 +16,22 @@ The build also provides supprt for Debian packages, just append the profile to t
mvn package -Pdebian
-and you'll find the `.deb` file `target/`.
+and you can find the `.deb` file under `target/`.
## Docker
-It also comes witth support for creating a Docker images that you can user for developing or testing
-Apache Marmotta.
+It also comes with support for creating a Docker images that you can user for developing or testing:
* Build image: `docker build -t marmotta .`
-* Run the image: `docker run -p 8080:8080 marmotta`
+* Run the container: `docker run -p 8080:8080 marmotta`
* Access Marmotta at [localhost:8080/marmotta](http://localhost:8080/marmotta) (IP address may be different,
- use `docker inspect CONTAINER_ID` for details).
+ see point bellow).
+* Get details about the container: `docker ps --filter "ancestor=marmotta` and `docker inspect CONTAINER_ID`.
+* Get basic statistics about the container: `docker stats [CONTAINERID] `
+* Commit the container changes to a new image: `docker commit [CONTAINERID] my-marmotta`
+* Stop the container: `docker stop [CONTAINERID]`
+
+For further instructions, please take a look to the [Docker User Guide](https://docs.docker.com/userguide/).
@@TODO@@: push it to asf or docker hub