Browse Source

Update README

master
Chris Smith 7 years ago
parent
commit
de31a64b5e
1 changed files with 14 additions and 3 deletions
  1. 14
    3
      README.md

+ 14
- 3
README.md View File

14
 
14
 
15
 ## Installation
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
 ## Usage
28
 ## Usage
22
 
29
 
66
 affect the behaviour of `docker-rerun`; other options allow modification
73
 affect the behaviour of `docker-rerun`; other options allow modification
67
 of the container's parameters.
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
     Reruns docker containers with different parameters.
80
     Reruns docker containers with different parameters.
72
     
81
     
79
                             would happen.
88
                             would happen.
80
       --pull                Docker pull the image before re-running the container
89
       --pull                Docker pull the image before re-running the container
81
       --image IMAGE         Image to use in place of the original
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
       --network NETWORK     The new network configuration to use
93
       --network NETWORK     The new network configuration to use
83
       --port PORT, -p PORT  Additional port to expose
94
       --port PORT, -p PORT  Additional port to expose
84
       --tag TAG             Image tag (version) to use
95
       --tag TAG             Image tag (version) to use

Loading…
Cancel
Save