A package to integrate Laravel with the Docker daemon
dominion-solutions/docker-minion is a Laravel package for a package to integrate laravel with the docker daemon.
It currently has 0 GitHub stars and 4.763 downloads on Packagist (latest version 0.0.3).
Install it with composer require dominion-solutions/docker-minion.
Discover more Laravel packages by dominion-solutions
or browse all Laravel packages to compare alternatives.
Last updated
Monitors the docker socket in order to be able to provide data about what containers are running.
Allows starting / stopping / restarting of containers.
use DominionSolutions\DockerMinion\Facades\DockerMinion;
...
DockerMinion::listContainers(['all'=>true|false,'filters'=>'<filter JSON>'])
Formatted such as
{
"<filter_name>": [ "<filter_value_0>", "<filter_value_1>", ...]
}
ancestor=(<image-name>[:<tag>], <image id>, or <image@digest>)before=(<container id> or <container name>)expose=(<port>[/<proto>]|<startport-endport>/[<proto>])exited=<int> containers with exit code of <int>health=(starting|healthy|unhealthy|none)id=<ID> a container's IDisolation=(default|process|hyperv) (Windows daemon only)is-task=(true|false)label=key or label="key=value" of a container labelname=<name> a container's namenetwork=(<network id> or <network name>)publish=(<port>[/<proto>]|<startport-endport>/[<proto>])since=(<container id> or <container name>)status=(created|restarting|running|removing|paused|exited|dead)volume=(<volume name> or <mount point destination>)We invest a lot of resources into creating best in class open source packages. You can support us by hiring us or buying one of our paid products.
You can install the package via composer:
composer require dominion-solutions/docker-minion
You can publish and run the migrations with:
php artisan vendor:publish --tag="docker-minion-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="docker-minion-config"
This is the contents of the published config file:
return [
'watch-docker' => env('WATCH_DOCKER', true),
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="docker-minion-views"
$dockerMinion = new DominionSolutions\DockerMinion();
echo $dockerMinion->echoPhrase('Hello, DominionSolutions!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.