Skip to content

Commit 17528b2

Browse files
committed
fix formatting
1 parent 04ede83 commit 17528b2

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

daemon/README.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,38 +97,45 @@ users (so usernames, password and registry) using the `add-user` command.
9797

9898
### add-image
9999

100-
**add-image** $IMAGE
100+
```
101+
add-image $IMAGE
102+
```
101103

102104
Will add the image to the internal database
103105

104106
### check-image-syntax
105107

106-
**check-image-syntax** $IMAGE
108+
```
109+
check-image-syntax $IMAGE
110+
```
107111

108112
Will parse your image and output what it is been able to parse.
109113

110-
### image-in-database
111-
112-
**image-in-database** $IMAGE
113-
114-
Check if an image is already inside the database, if it is return such image.
115-
116114
### list-images
117115

118-
**list-images**
116+
```
117+
list-images
118+
```
119119

120120
List all the images in the database
121121

122122
### migrate-database
123123

124-
**migrate-database**
124+
```
125+
migrate-database
126+
```
125127

126128
Apply all the migration to the database up to the newest version of the
127-
software
129+
software.
130+
131+
As first run is necessary to run this function and to run it as root since it
132+
will create the necessary directory for the database in `/var/lib/`
128133

129134
### download-manifest
130135

131-
**download-manifest** $IMAGE
136+
```
137+
download-manifest $IMAGE
138+
```
132139

133140
Will try to download the manifest of the image from the repository, if
134141
successful it will print the manifest itself, otherwise it will display the
@@ -137,13 +144,17 @@ images.
137144

138145
### convert
139146

140-
**convert**
147+
```
148+
convert
149+
```
141150

142151
This command will try to convert all the desiderata in the internal database.
143152

144153
### loop
145154

146-
**loop**
155+
```
156+
loop
157+
```
147158

148159
This command is equivalent to call `convert` in an infinite loop, usefull to
149160
make sure that all the images are up to date.
@@ -193,4 +204,6 @@ finally push the thin image to the registry.
193204

194205
Such images can be used by docker with the plugins.
195206

207+
## General workflow
196208

209+
TODO

0 commit comments

Comments
 (0)