2017-05-23 18:56:10 +00:00
|
|
|
<rd-header>
|
2017-11-12 19:27:28 +00:00
|
|
|
<rd-header-title title="Volume details"></rd-header-title>
|
2017-05-23 18:56:10 +00:00
|
|
|
<rd-header-content>
|
2018-02-01 12:27:52 +00:00
|
|
|
<a ui-sref="docker.volumes">Volumes</a> > <a ui-sref="docker.volumes.volume({id: volume.Id})">{{ volume.Id }}</a>
|
2017-05-23 18:56:10 +00:00
|
|
|
</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
|
|
|
<div class="row" ng-if="volume">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-cube" title="Volume details"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ volume.Id }}
|
2018-03-13 05:36:53 +00:00
|
|
|
<button class="btn btn-xs btn-danger" ng-click="removeVolume()"><i class="fa fa-trash-alt space-right" aria-hidden="true"></i>Remove this volume</button>
|
2017-05-23 18:56:10 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Mount path</td>
|
|
|
|
<td>{{ volume.Mountpoint }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Driver</td>
|
|
|
|
<td>{{ volume.Driver }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-if="!(volume.Labels | emptyobject)">
|
|
|
|
<td>Labels</td>
|
|
|
|
<td>
|
|
|
|
<table class="table table-bordered table-condensed">
|
|
|
|
<tr ng-repeat="(k, v) in volume.Labels">
|
|
|
|
<td>{{ k }}</td>
|
|
|
|
<td>{{ v }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-07-12 07:51:51 +00:00
|
|
|
<!-- access-control-panel -->
|
|
|
|
<por-access-control-panel
|
|
|
|
ng-if="volume && applicationState.application.authentication"
|
2017-07-20 13:48:05 +00:00
|
|
|
resource-id="volume.Id"
|
2017-07-12 07:51:51 +00:00
|
|
|
resource-control="volume.ResourceControl"
|
|
|
|
resource-type="'volume'">
|
|
|
|
</por-access-control-panel>
|
|
|
|
<!-- !access-control-panel -->
|
2017-05-23 18:56:10 +00:00
|
|
|
|
|
|
|
<div class="row" ng-if="!(volume.Options | emptyobject)">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-cogs" title="Volume options"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="(key, value) in volume.Options">
|
|
|
|
<td>{{ key }}</td>
|
|
|
|
<td>{{ value }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-17 06:45:19 +00:00
|
|
|
<div class="row" ng-if="containersUsingVolume.length > 0">
|
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-server" title="Containers using volume"></rd-widget-header>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<th>Container Name</th>
|
|
|
|
<th>Mounted At</th>
|
|
|
|
<th>Read-only</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="container in containersUsingVolume">
|
2018-02-01 12:27:52 +00:00
|
|
|
<td><a ui-sref="docker.containers.container({id: container.Id})">{{ container | containername }}</a></td>
|
2017-10-17 06:45:19 +00:00
|
|
|
<td>{{ container.volumeData.Destination }}</td>
|
|
|
|
<td>{{ !container.volumeData.RW }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|