Commit 999cf38 1 parent 7ad0bb4 commit 999cf38 Copy full SHA for 999cf38
File tree 1 file changed +61
-0
lines changed
1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # dkr-util
2
+
3
+ ## Usage
4
+
5
+ ```
6
+ usage: dkr [<flags>] <command> [<args> ...]
7
+
8
+ Docker utilities
9
+
10
+ Flags:
11
+ --help Show context-sensitive help (also try --help-long and --help-man).
12
+ --version Show application version.
13
+
14
+ Commands:
15
+ help [<command>...]
16
+ Show help.
17
+
18
+
19
+ package [<flags>]
20
+ Make a new image without running docker
21
+
22
+ -i, --input=FILE Tar archive to use
23
+ -o, --output=FILE Path to output Tar archive
24
+
25
+ push [<flags>]
26
+ Push an image archive to a registry
27
+
28
+ -i, --input=FILE Tar archive to use
29
+
30
+ cat-tags [<flags>]
31
+ Print the tags conatined in an image archive
32
+
33
+ -i, --input=FILE Tar archive to use
34
+ ```
35
+
36
+ ## .docker.json format
37
+
38
+ ``` json5
39
+ {
40
+ " repo_tags" : [" <tag>" ], // required
41
+ " author" : " <author>" ,
42
+ " config" : {
43
+ " User" : " <User>" ,
44
+ " Memory" : 123 ,
45
+ " MemorySwap" : 123 ,
46
+ " CpuShares" : 100 ,
47
+ " ExposedPorts" : {
48
+ " 80/tcp" : {}
49
+ },
50
+ " Env" : [
51
+ " VAR=val" ,
52
+ ],
53
+ " Entrypoint" : [" cmd" , " args" ],
54
+ " Cmd" : [" cmd" , " args" ],
55
+ " Volumes" : {
56
+ " /data:ro" : {}
57
+ },
58
+ " WorkingDir" : " <WorkingDir>"
59
+ }
60
+ }
61
+ ```
You can’t perform that action at this time.
0 commit comments