-
-
22 Jun 2014 13:06:24 UTC
- Distribution: Net-Docker
- Module version: 0.002005
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (0 / 467 / 7)
- Kwalitee
Bus factor: 0- 31.78% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (11.5KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Net::Docker - Interface to the Docker API
SYNOPSIS
use Net::Docker; my $api = Net::Docker->new; my $id = $api->create( Image => 'ubuntu', Cmd => ['/bin/bash'], AttachStdin => \1, OpenStdin => \1, Name => 'my-container', ); say $id; $api->start($id); my $cv = $api->streaming_logs($id, stream => 1, logs => 1, stdin => 1, stderr => 1, stdout => 1, in_fh => \*STDIN, out_fh => \*STDOUT, ); $cv->recv;
DESCRIPTION
Perl module for using the Docker Remote API.
AUTHOR
Peter Stuifzand <peter@stuifzand.eu>
COPYRIGHT
Copyright 2013 - Peter Stuifzand
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Module Install Instructions
To install Net::Docker, copy and paste the appropriate command in to your terminal.
cpanm Net::Docker
perl -MCPAN -e shell install Net::Docker
For more information on module installation, please visit the detailed CPAN module installation guide.