Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/renderer/lib/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ export class InstallManager {
composeContent.services.windows.environment.USERNAME = this.conf.username;
composeContent.services.windows.environment.PASSWORD = this.conf.password;


if (this.conf.addHostDockerInternal) {
composeContent.services.windows.extra_hosts = ["host.docker.internal:host-gateway"];
logger.info("Enabled host Docker internal access in compose file");
}

// Boot image mapping
if (this.conf.customIsoPath) {
composeContent.services.windows.volumes.push(`${this.conf.customIsoPath}:/boot.iso`);
Expand Down
Loading