This commit is contained in:
Blue 2025-11-21 16:01:34 -08:00
parent cff1cd25b4
commit 29971ace13
2 changed files with 5 additions and 7 deletions

View File

@ -21,12 +21,11 @@ using wsl::windows::service::wsla::WSLAContainer;
const std::string nerdctlPath = "/usr/bin/nerdctl";
// Constants for required default arguments for "nerdctl run..."
static std::vector<std::string> defaultNerdctlRunArgs{
//"--pull=never", // TODO: Uncomment once PullImage() is implemented.
"-it", // TODO: only enable if fds allow for a tty.
"--net=host", // TODO: default for now, change later
"--ulimit",
"nofile=65536:65536"};
static std::vector<std::string> defaultNerdctlRunArgs{ //"--pull=never", // TODO: Uncomment once PullImage() is implemented.
"-it", // TODO: only enable if fds allow for a tty.
"--net=host", // TODO: default for now, change later
"--ulimit",
"nofile=65536:65536"};
HRESULT WSLAContainer::Start()
{

View File

@ -88,7 +88,6 @@ try
std::lock_guard lock{m_lock};
THROW_HR_IF(HRESULT_FROM_WIN32(ERROR_INVALID_STATE), !m_virtualMachine);
// TODO: Log entrance into the function.
m_containerId++;
auto container = WSLAContainer::Create(*containerOptions, *m_virtualMachine.Get());