dart_docker 0.0.1 copy "dart_docker: ^0.0.1" to clipboard
dart_docker: ^0.0.1 copied to clipboard

A Dart client for the Docker API via local unix socket.

example/main.dart

import 'package:dart_docker/dart_docker.dart' as docker;

void main() async {
  final api = docker.DockerSocketClient();
  final images = await api.image.imageList();
  print(images);
  await api.container.containerCreate(docker.ContainerCreateRequest(
    image: 'dart-slim-stable:latest',
    cmd: ['echo', 'hello'],
  ));
}
4
likes
130
points
112
downloads

Publisher

verified publisherinvertase.io

Weekly Downloads

A Dart client for the Docker API via local unix socket.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, http, intl, meta

More

Packages that depend on dart_docker