ImageTarPuller assumes Docker images are stored in a local directory (configured with flags.docker_registry), with all the images saved as tars with file names in the form of <repo>:<tag>.tar.
More...
#include <image_tar_puller.hpp>
|
| | ~ImageTarPuller () override |
| |
| process::Future< Image > | pull (const ::docker::spec::ImageReference &reference, const std::string &directory, const std::string &backend, const Option< Secret > &config=None()) override |
| | Pull a Docker image layers into the specified directory, and return the list of layer ids in that image in the right dependency order (i.e., base images are at the front). More...
|
| |
| virtual | ~Puller () |
| |
ImageTarPuller assumes Docker images are stored in a local directory (configured with flags.docker_registry), with all the images saved as tars with file names in the form of <repo>:<tag>.tar.
| mesos::internal::slave::docker::ImageTarPuller::~ImageTarPuller |
( |
| ) |
|
|
override |
| process::Future<Image> mesos::internal::slave::docker::ImageTarPuller::pull |
( |
const ::docker::spec::ImageReference & |
reference, |
|
|
const std::string & |
directory, |
|
|
const std::string & |
backend, |
|
|
const Option< Secret > & |
config = None() |
|
) |
| |
|
overridevirtual |
Pull a Docker image layers into the specified directory, and return the list of layer ids in that image in the right dependency order (i.e., base images are at the front).
- Parameters
-
| reference | The docker image reference. |
| directory | The target directory to store the layers. |
- Returns
- an ordered list of layer ids.
Implements mesos::internal::slave::docker::Puller.
The documentation for this class was generated from the following file: