MARMOTTA-588: extended doc
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/59a2b9ea Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/59a2b9ea Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/59a2b9ea Branch: refs/heads/develop Commit: 59a2b9eaf53537cf63410c8b7a11a88edadb1181 Parents: f47d214 Author: Sergio Fernández <[email protected]> Authored: Thu Nov 12 18:07:42 2015 +0100 Committer: Sergio Fernández <[email protected]> Committed: Thu Nov 12 18:07:42 2015 +0100 ---------------------------------------------------------------------- launchers/marmotta-webapp/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/59a2b9ea/launchers/marmotta-webapp/README.md ---------------------------------------------------------------------- diff --git a/launchers/marmotta-webapp/README.md b/launchers/marmotta-webapp/README.md index 8e361a6..88f38ae 100644 --- a/launchers/marmotta-webapp/README.md +++ b/launchers/marmotta-webapp/README.md @@ -2,6 +2,8 @@ This folder contains a JavaEE Web Application for launching Marmotta in any Servlet (>=3.0) container. +Further details at the `src/main/doc/README.txt` file. + ## WAR For building the WAR just execute: @@ -26,10 +28,20 @@ It also comes with support for creating a Docker images that you can user for de * Run the container: `docker run -p 8080:8080 marmotta` * Access Marmotta at [localhost:8080/marmotta](http://localhost:8080/marmotta) (IP address may be different, 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] ` + +If you want to further work with the container, here some basic instructions: + +* List running containers: `docker ps` (appending `--filter "ancestor=marmotta` shows only the `marmotta` images, `-a` lists all) +* Get details about the container: `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]` +* Start again the container: `docker start [CONTAINERID]` +* Remove a container: `docker rm CONTAINER_ID` +* Remove all containers `docker rm $(docker ps -a -q)` +* List all images: `docker images` +* Remove an image: `docker rmi IMAGE_ID` +* Remove all images: `docker rmi $(docker images -q)` For further instructions, please take a look to the [Docker User Guide](https://docs.docker.com/userguide/).
