|
@@ -22,3 +22,30 @@ option:
|
22
|
22
|
docker rm apache
|
23
|
23
|
docker run --name=apache -p=80:80/tcp --restart=always apache:latest
|
24
|
24
|
|
|
25
|
+## What's supported
|
|
26
|
+
|
|
27
|
+At present docker-rerun supports a small number of commonly used arguments:
|
|
28
|
+
|
|
29
|
+ * Names (--name)
|
|
30
|
+ * Networks (--net)
|
|
31
|
+ * Port publications (-p)
|
|
32
|
+ * Restart policies (--restart)
|
|
33
|
+ * Volumes (-v/--volume, and --volumes-from)
|
|
34
|
+
|
|
35
|
+## What's not done yet
|
|
36
|
+
|
|
37
|
+Many other command line arguments:
|
|
38
|
+
|
|
39
|
+ * Commands
|
|
40
|
+ * Environment variables
|
|
41
|
+ * Labels
|
|
42
|
+ * Linking and aliases
|
|
43
|
+ * Permissions and policies
|
|
44
|
+
|
|
45
|
+Additional options to allow mutating the container config when rerunning.
|
|
46
|
+For example:
|
|
47
|
+
|
|
48
|
+ $ ./docker-rerun --image nginx:1.11.1 nginx
|
|
49
|
+
|
|
50
|
+Should replace the previously used image with the one specified.
|
|
51
|
+
|