fix
This commit is contained in:
parent
6658e74197
commit
2017988ea1
2
app.js
2
app.js
@ -401,7 +401,7 @@ function openDuplicateModal(container) {
|
||||
document.getElementById('container-hostname').value = config.Config.Hostname.replace(/^\//, '');
|
||||
document.getElementById('container-image').value = config.Config.Image;
|
||||
document.getElementById('container-netmode').value = config.HostConfig?.NetworkMode;
|
||||
document.getElementById('container-cpu').value = config.HostConfig?.CpuCount;
|
||||
document.getElementById('container-cpu').value = config.HostConfig?.CpusetCpus;
|
||||
document.getElementById('container-memory').value = Math.round(config.HostConfig?.Memory / (1024 * 1024));
|
||||
document.getElementById('container-config').value = JSON.stringify(config, null, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user