mirror of https://github.com/portainer/portainer
parent
bba622a500
commit
f525c8d022
|
@ -111,6 +111,7 @@ angular.module('portainer.docker').controller('CreateContainerController', [
|
||||||
AutoRemove: false,
|
AutoRemove: false,
|
||||||
NetworkMode: 'bridge',
|
NetworkMode: 'bridge',
|
||||||
Privileged: false,
|
Privileged: false,
|
||||||
|
Init: false,
|
||||||
Runtime: '',
|
Runtime: '',
|
||||||
ExtraHosts: [],
|
ExtraHosts: [],
|
||||||
Devices: [],
|
Devices: [],
|
||||||
|
|
|
@ -606,6 +606,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- !privileged-mode -->
|
<!-- !privileged-mode -->
|
||||||
|
<!-- init -->
|
||||||
|
<div class="form-group" ng-if="applicationState.endpoint.apiVersion >= 1.37">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<label for="init" class="control-label text-left">
|
||||||
|
Init
|
||||||
|
</label>
|
||||||
|
<label class="switch" style="margin-left: 20px;"> <input type="checkbox" name="init" ng-model="config.HostConfig.Init" /><i></i> </label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- !init -->
|
||||||
<!-- runtimes -->
|
<!-- runtimes -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="container_runtime" class="col-sm-1 control-label text-left">Runtime</label>
|
<label for="container_runtime" class="col-sm-1 control-label text-left">Runtime</label>
|
||||||
|
|
Loading…
Reference in New Issue