This commit is contained in:
Raven Scott 2024-11-28 07:15:28 -05:00
parent 6658e74197
commit 2017988ea1

2
app.js
View File

@ -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);