@@ -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
102104Will 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
108112Will 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
120120List all the images in the database
121121
122122### migrate-database
123123
124- ** migrate-database**
124+ ```
125+ migrate-database
126+ ```
125127
126128Apply 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
133140Will try to download the manifest of the image from the repository, if
134141successful 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
142151This command will try to convert all the desiderata in the internal database.
143152
144153### loop
145154
146- ** loop**
155+ ```
156+ loop
157+ ```
147158
148159This command is equivalent to call ` convert ` in an infinite loop, usefull to
149160make sure that all the images are up to date.
@@ -193,4 +204,6 @@ finally push the thin image to the registry.
193204
194205Such images can be used by docker with the plugins.
195206
207+ ## General workflow
196208
209+ TODO
0 commit comments