mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
fix(container-creation): set a default runtime value (#2325)
* fix(containers): creating a container with default runtime let the docker daemon assume the correct value * refactor(containers): implementation simplification of default runtime value
This commit is contained in:
parent
ca08b2fa2a
commit
e948d606f4
2 changed files with 7 additions and 13 deletions
|
@ -503,11 +503,11 @@
|
|||
<!-- !privileged-mode -->
|
||||
<!-- runtimes -->
|
||||
<div class="form-group">
|
||||
<label for="container_runtime" class="col-sm-2 col-lg-1 control-label text-left">Runtime</label>
|
||||
<div class="col-sm-1">
|
||||
<select class="form-control" ng-model="config.HostConfig.Runtime" id="container_runtime">
|
||||
<option selected disabled hidden value="">Select a runtime</option>
|
||||
<option ng-repeat="(runtime, _) in availableRuntimes" ng-value="runtime">{{ runtime }}</option>
|
||||
<label for="container_runtime" class="col-sm-1 control-label text-left">Runtime</label>
|
||||
<div class="col-sm-11">
|
||||
<select class="form-control" ng-model="config.HostConfig.Runtime"
|
||||
id="container_runtime" ng-options="runtime for runtime in availableRuntimes">
|
||||
<option selected value="">Default</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue