docker_process 1.3.2 copy "docker_process: ^1.3.2" to clipboard
docker_process: ^1.3.2 copied to clipboard

Access wrapper to interact with a docker container like a process.

Access wrapper to interact with a docker container like a process.

Example #

import 'package:docker_process/docker_process.dart';

Future main() async {
  final dp = await DockerProcess.start(
    image: 'image-name',
    name: 'running-name',
    readySignal: (line) => line.contains('Done.'),
  );
  final pr = await dp.exec(<String>['ls', '-l']);
  print(pr.stdout);
  await dp.stop();
}
5
likes
160
pub points
45%
popularity

Publisher

verified publisheragilord.com

Access wrapper to interact with a docker container like a process.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

logging

More

Packages that depend on docker_process