Docker mirror image difference exporting method, computer storage medium and electronic equipment
The invention provides a docker mirror image difference exporting method, a computer storage medium and electronic equipment. The method comprises the following steps: S1, judging whether a source mirror image in a local cache and mirror image information of a base warehouse exist or not according t...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a docker mirror image difference exporting method, a computer storage medium and electronic equipment. The method comprises the following steps: S1, judging whether a source mirror image in a local cache and mirror image information of a base warehouse exist or not according to parameters transmitted by a user; S2, directly reading the cache or updating the cache according to a judgment result, and then reading the source mirror image in the cache and the mirror image information of the base warehouse; S3, carrying out union set processing on all the layers of the sourcemirror image obtained in the step S2 and the layer of the base warehouse to obtain a list of existing layers; S4, obtaining names of all layers needing to be exported through a docker API, and performing difference set calculation with the list to obtain layer information needing to be downloaded; S5, writing the existing template information into a configuration file deploy; and S6, downloadinga layer needing to be down |
---|