docker_hub_api 1.0.1 copy "docker_hub_api: ^1.0.1" to clipboard
docker_hub_api: ^1.0.1 copied to clipboard

outdated

The Docker Registry HTTP API is the protocol to facilitate distribution of images to the docker engine. It interacts with instances of the docker registry, which is a service to manage information abo [...]

DockerHub API #

The Docker Registry HTTP API is the protocol to facilitate distribution of images to the docker engine.

It interacts with instances of the docker registry, which is a service to manage information about docker images and enable their distribution.

Usage #

import 'package:docker_hub_api/docker_hub_api.dart';

void main() async {
  var repo = DockerRepository('nginx');

  var images = await repo.images(page: 1);

  var image = images.first;

  print(image.user);
  print(image.name);
  print(image.namespace);
  print(image.repository_type);
  print(image.status);
  print(image.description);
  print(image.is_private);
  print(image.is_automated);
  print(image.can_edit);
  print(image.star_count);
  print(image.pull_count);
  print(image.last_updated);
  print(image.is_migrated);
  print(image.has_starred);
  print(image.full_description);
  print(image.affiliation);
  print(repo.imageCount);
  print(repo.pageCount);
}

1
likes
0
pub points
0%
popularity

Publisher

verified publisherluizeof.com.br

The Docker Registry HTTP API is the protocol to facilitate distribution of images to the docker engine. It interacts with instances of the docker registry, which is a service to manage information about docker images and enable their distribution.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http

More

Packages that depend on docker_hub_api