2022-07-06 06:08:45 +00:00
|
|
|
<page-header title="'Volume details'" breadcrumbs="[{label:'Volumes', link:'docker.volumes'}, volume.Id]"> </page-header>
|
2017-05-23 18:56:10 +00:00
|
|
|
|
|
|
|
<div class="row" ng-if="volume">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<rd-widget>
|
2022-07-19 03:29:50 +00:00
|
|
|
<rd-widget-header icon="database" feather-icon="true" title-text="Volume details"></rd-widget-header>
|
2017-05-23 18:56:10 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>
|
|
|
|
{{ volume.Id }}
|
2020-04-10 21:54:53 +00:00
|
|
|
<button authorization="DockerVolumeDelete" 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>
|
2019-02-28 22:59:11 +00:00
|
|
|
<tr>
|
|
|
|
<td>Created</td>
|
|
|
|
<td>{{ volume.CreatedAt | getisodate }}</td>
|
|
|
|
</tr>
|
2017-05-23 18:56:10 +00:00
|
|
|
<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 -->
|
2022-03-16 06:35:32 +00:00
|
|
|
<access-control-panel
|
|
|
|
ng-if="volume"
|
|
|
|
resource-id="volume.ResourceId"
|
|
|
|
resource-control="volume.ResourceControl"
|
|
|
|
resource-type="resourceType"
|
|
|
|
on-update-success="(onUpdateResourceControlSuccess)"
|
|
|
|
>
|
|
|
|
</access-control-panel>
|
2017-07-12 07:51:51 +00:00
|
|
|
<!-- !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>
|
2018-06-06 16:12:35 +00:00
|
|
|
<rd-widget-header icon="fa-cogs" title-text="Volume options"></rd-widget-header>
|
2017-05-23 18:56:10 +00:00
|
|
|
<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>
|
2020-06-22 23:46:56 +00:00
|
|
|
<rd-widget-header icon="fa-cubes" title-text="Containers using volume"></rd-widget-header>
|
2017-10-17 06:45:19 +00:00
|
|
|
<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">
|
2020-04-10 21:54:53 +00:00
|
|
|
<td
|
|
|
|
><a ui-sref="docker.containers.container({ id: container.Id, nodeName: container.NodeName })">{{ 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>
|