> For the complete documentation index, see [llms.txt](https://devops.books.c-k.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops.books.c-k.dev/windows-docker/appendix.md).

# Appendix

## Check docker image ip address

`docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' sql`

## LCOW

### Linux Container on Windows (LCOW)

Linux containers with Hyper-V isolation run each Linux container (LCOW) in an optimized Linux VM with just enough OS to run containers. In contrast to the traditional approach, each LCOW has its own kernel and its own VM sandbox. They're also managed by Docker on Windows directly.

{% hint style="warning" %}
LCOW is under active development and not stable.
{% endhint %}

### Set up for LCOW&#x20;

In PowerShell, run the following commands:

```
# Set LCOW_SUPPORTED Variable to 1 for enabled
[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "1", "Machine")

# Enable Experimental Features in Dockerd daemon.conf
$configfile = @"
{
    "experimental": true
}
"@
$configfile|Out-File -FilePath C:\ProgramData\docker\config\daemon.json -Encoding ascii -Force
```

{% hint style="info" %}
For the 2nd command, you can create a daemon.json file and insert the content by your own.
{% endhint %}

Because Linux Containers still need a Linux kernel, we need to deploy LCOW for it to run.

```
Invoke-WebRequest -Uri "https://github.com/linuxkit/lcow/releases/download/v4.14.35-v0.3.9/release.zip" -UseBasicParsing -OutFile release.zip
Expand-Archive release.zip -DestinationPath "$Env:ProgramFiles\Linux Containers\."
```

Restart the virtual machine for everything to apply.

### Windows Update

Open Powershell with Administrator right and using the following command:

```
sconfig
```

![source: yowko](https://300361121-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_Dkia5mZCBvb7uhm6a%2F-Lcq_cNmu0gHbP4xqqMv%2F-LcqaUA_P2PGjP57rv5D%2Fgitbook%20-%20devops%203.png?alt=media\&token=aa15e505-be70-4d9f-8936-0cea81d335d0)

type 6 and install all the updates
