mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
dockerui-118 How to pull images / create container from repo image ?
Added a modal dialog that gets user's input (registry, repo, image name and tag) and performs the pull. Some hack was needed to parse the response, since it is not valid json (actually, it seems to be concatenated json objects).
This commit is contained in:
parent
7d073fdf0d
commit
5dd094e0b1
5 changed files with 97 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div ng-include="template" ng-controller="BuilderController"></div>
|
||||
<div ng-include="template" ng-controller="PullImageController"></div>
|
||||
|
||||
<h2>Images:</h2>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
|||
<li><a tabindex="-1" href="" ng-click="removeAction()">Remove</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a data-toggle="modal" data-target="#pull-modal" href="">Pull</a></li>
|
||||
</ul>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue