0 purchases
docker 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();
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.