|
Apache Mesos
|
LocalPuller 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 <local_puller.hpp>
Public Member Functions | |
| ~LocalPuller () | |
| process::Future< std::vector < std::string > > | pull (const ::docker::spec::ImageReference &reference, const std::string &directory, const std::string &backend, const Option< Secret > &config=None()) |
| 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... | |
Public Member Functions inherited from mesos::internal::slave::docker::Puller | |
| virtual | ~Puller () |
Static Public Member Functions | |
| static Try< process::Owned < Puller > > | create (const Flags &flags) |
Static Public Member Functions inherited from mesos::internal::slave::docker::Puller | |
| static Try< process::Owned < Puller > > | create (const Flags &flags, const process::Shared< uri::Fetcher > &fetcher, SecretResolver *secretResolver=nullptr) |
LocalPuller 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::LocalPuller::~LocalPuller | ( | ) |
|
static |
|
virtual |
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).
| reference | The docker image reference. |
| directory | The target directory to store the layers. |
Implements mesos::internal::slave::docker::Puller.
1.8.5