docker_process

Creator: coderz1093

Last updated:

0 purchases

docker_process Image
docker_process Images

Languages

Categories

Add to Cart

Description:

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.