Quellcode durchsuchen

Update README

master
Chris Smith vor 7 Jahren
Ursprung
Commit
de31a64b5e
1 geänderte Dateien mit 14 neuen und 3 gelöschten Zeilen
  1. 14
    3
      README.md

+ 14
- 3
README.md Datei anzeigen

@@ -14,9 +14,16 @@ docker-rerun's got you covered.
14 14
 
15 15
 ## Installation
16 16
 
17
-You can install the latest version of docker-rerun using pip:
17
+You can install the current stable version of docker-rerun using pip:
18 18
 
19
-    $ pip install docker-rerun
19
+    $ pip install --upgrade docker-rerun
20
+
21
+Or the bleeding edge version from git:
22
+
23
+    $ pip install --upgrade git+https://github.com/csmith/docker-rerun.git
24
+
25
+Note that `docker-rerun` requires Python 3, so you may need to use `pip3` in
26
+place of `pip` depending on your system configuration.
20 27
 
21 28
 ## Usage
22 29
 
@@ -66,7 +73,9 @@ The built-in help shows all available arguments. `--dry-run` and `--pull`
66 73
 affect the behaviour of `docker-rerun`; other options allow modification
67 74
 of the container's parameters.
68 75
 
69
-    usage: docker-rerun [-h] [-d] [--pull] [--image IMAGE] [--port PORT] container
76
+    usage: docker-rerun [-h] [-d] [--pull] [--image IMAGE] [--label LABEL]
77
+                        [--network NETWORK] [--port PORT] [--tag TAG]
78
+                        container
70 79
     
71 80
     Reruns docker containers with different parameters.
72 81
     
@@ -79,6 +88,8 @@ of the container's parameters.
79 88
                             would happen.
80 89
       --pull                Docker pull the image before re-running the container
81 90
       --image IMAGE         Image to use in place of the original
91
+      --label LABEL, -l LABEL
92
+                            The new label to add to the container.
82 93
       --network NETWORK     The new network configuration to use
83 94
       --port PORT, -p PORT  Additional port to expose
84 95
       --tag TAG             Image tag (version) to use

Laden…
Abbrechen
Speichern