wartron/yii2docker
Composer 安装命令:
composer require wartron/yii2docker
包简介
Yii2 Docker Module
关键字:
README 文档
README
This provides a simple Yii2 Module to view and interact with the Docker Remote API. It includes simple grid views for both containers and images.
Installation
Add to the modules in config/main.php
If you are using the advanced template you want to add this to backend/config/main.php
You can override the default layout as well.
'modules' => [
'docker' => [
'class' => 'wartron\yii2docker\Module',
'layout' => '@admin-views/layouts/main',
],
],
Optional Override the views by updating the theme pathMap
'view' => [
'theme' => [
'pathMap' => [
'@vendor/wartron/yii2docker/views' => '@app/views/docker',
],
],
],
Configuration
This uses my fork of stage1/docker-php found @ wartron/docker-php which is configued with ENV variables.
DOCKER_HOST- defaults to unix:///var/run/docker.sockDOCKER_TLS_VERIFY- defaults to 0DOCKER_CERT_PATH-
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-09