]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Typo's, unified structure a bit.
authorB. van Berkum <dev@dotmpe.com>
Mon, 2 Oct 2017 22:33:39 +0000 (00:33 +0200)
committerB. van Berkum <dev@dotmpe.com>
Mon, 2 Oct 2017 22:35:27 +0000 (00:35 +0200)
- Fixes inevitable typo that crept in.
- Removed some blank lines, newlines, to match established whitespace use better.
- Minor grammar improvement.

doc/md/docker/docker-101.md
doc/md/index.md

index d12a1324632ee3dc28e33e1911eb3d989f240ae3..271dcd5b6f3b2c753dd38715a45a226fb208a562 100644 (file)
@@ -61,16 +61,14 @@ Digest: sha256:c584131da2ac1948aa3e66468a4424b6aea2f33acba7cec0b631bdb56254c4fe
 Status: Downloaded newer image for debian:wheezy
 ```
 
-Docker re-uses layers already downloaded. Iow. if you have only images based on some Alpine or Ubuntu version for example, those can share disk space.
+Docker re-uses layers already downloaded. Iow. if you have images based only Alpine or some Ubuntu version for example, those can share disk space.
 
 ### Start a container
 A container is an instance created from an image, that can be run and that keeps running until its main process exits. Or until the user stops the container. 
 
 The simplest way to start a container from image is ``docker run``. It also pulls the image for you if it is not locally available. For more advanced use, refer to ``docker create``.
 
-Note that stopped containers are not destroyed, unless you specify ``--rm``.
-To view all created, running and stopped containers, enter:
-
+Note that stopped containers are not destroyed, unless you specify ``--rm``. To view all created, running and stopped containers, enter:
 ```bash
 $ docker ps -a
 ```
@@ -78,8 +76,7 @@ $ docker ps -a
 Some containers may be designed or configured to be restarted, others are not. Note that both network ports and volumes of a container are created on start, and not editable later.
 
 ### Access a running container
-A running container is accessible using ``docker exec``, or ``docker copy``.
-You can use ``exec`` to start a root shell in the Shaarli container:
+A running container is accessible using ``docker exec``, or ``docker copy``. You can use ``exec`` to start a root shell in the Shaarli container:
 ```bash
 $ docker exec -ti <container-name-or-id> bash
 ```
@@ -90,8 +87,7 @@ Access can also be through one or more network ports, or disk volumes. Both are
 ### Docker disk use
 Trying out different images can fill some gigabytes of disk quickly. Besides images, the docker volumes usually take up most disk space.
 
-If you care only about trying out docker and not about what is running or saved,
-the following commands should help you out quickly:
+If you care only about trying out docker and not about what is running or saved, the following commands should help you out quickly:
 
 ```bash
 $ docker rmi -f $(docker images -aq) # remove or mark all images for disposal
index 5f10227f5b45c78006e6859cff42efce0b4fcee0..f83d17026067b7da836736431015fe4e52446b1c 100644 (file)
@@ -22,7 +22,7 @@ It runs the latest development version of Shaarli and is updated/reset daily.
 
 Login: `demo`; Password: `demo`
 
-Docker users can start a personal instance from an [autobuild image](https://hub.docker.com/r/shaarli/shaarli/). For an example to start a temporary Shaarli at ``localhost:8000``, and to keeps the data you create (config, storage) during the session:
+Docker users can start a personal instance from an [autobuild image](https://hub.docker.com/r/shaarli/shaarli/). For an example to start a temporary Shaarli at ``localhost:8000``, and keep the data you create (config, storage) during the session:
 ```
 MY_SHAARLI_VOLUME=$(cd /path/to/shaarli/data/ && pwd -P)
 docker run -ti --rm \
@@ -32,7 +32,6 @@ docker run -ti --rm \
 ```
 
 A brief guide on getting starting using docker is given in [Docker 101](docker/docker-101).
-
 To learn more about user data and how to keep it across versions, please see [Upgrade and Migration](Upgrade-and-migration) documentation.
 
 ## Features