Skip to content

Instantly share code, notes, and snippets.

@guitarrapc
Last active January 25, 2024 02:15
Show Gist options
  • Save guitarrapc/f6f6f585a6591d99d7ae4c717473420d to your computer and use it in GitHub Desktop.
Save guitarrapc/f6f6f585a6591d99d7ae4c717473420d to your computer and use it in GitHub Desktop.
Docker Dekstop for Windows. http://127.0.0.1:2375/info response for Docker Engine backend with Hyper-V or WSL2.

tl;dr;

http://127.0.0.1:2375/info response for Docker Engine backend with Hyper-V or WSL2.

Environment

Windows 11 Pro 22H2

$ wsl --version
WSL Version: 2.0.9.0
Kernel Version: 5.15.133.1-1

Diff

Hyper-V and WSL2 difference

Entry Hyper-V WSL2 Descption
KernelMemoryTCP n/a true Entry not exists on Hyper-V
OomKillDisable true false
NCPU Depends on DockerDesktop settings 2 WSL2 value may be fixed?
MemTotal Depends on DockerDesktop settings 8333266944 WSL2 value may be fixed?
Name (none) Host's MachineName
SecurityOptions ["name=seccomp,profile=unconfined","name=cgroupns"] ["name=seccomp,profile=unconfined"]
Warnings No throttle warnings Throttle warnings included
{
"ID": "5545cc4e-dde7-4907-a7ab-cc812b30ef0e",
"Containers": 35,
"ContainersRunning": 34,
"ContainersPaused": 0,
"ContainersStopped": 1,
"Images": 43,
"Driver": "overlay2",
"DriverStatus": [
[
"Backing Filesystem",
"extfs"
],
[
"Supports d_type",
"true"
],
[
"Using metacopy",
"false"
],
[
"Native Overlay Diff",
"true"
],
[
"userxattr",
"false"
]
],
"Plugins": {
"Volume": [
"local"
],
"Network": [
"bridge",
"host",
"ipvlan",
"macvlan",
"null",
"overlay"
],
"Authorization": null,
"Log": [
"awslogs",
"fluentd",
"gcplogs",
"gelf",
"journald",
"json-file",
"local",
"logentries",
"splunk",
"syslog"
]
},
"MemoryLimit": true,
"SwapLimit": true,
"CpuCfsPeriod": true,
"CpuCfsQuota": true,
"CPUShares": true,
"CPUSet": true,
"PidsLimit": true,
"IPv4Forwarding": true,
"BridgeNfIptables": true,
"BridgeNfIp6tables": true,
"Debug": false,
"NFd": 149,
"OomKillDisable": false,
"NGoroutines": 150,
"SystemTime": "2024-01-25T01:55:20.53481148Z",
"LoggingDriver": "json-file",
"CgroupDriver": "cgroupfs",
"CgroupVersion": "2",
"NEventsListener": 10,
"KernelVersion": "6.4.16-linuxkit",
"OperatingSystem": "Docker Desktop",
"OSVersion": "",
"OSType": "linux",
"Architecture": "x86_64",
"IndexServerAddress": "https://index.docker.io/v1/",
"RegistryConfig": {
"AllowNondistributableArtifactsCIDRs": null,
"AllowNondistributableArtifactsHostnames": null,
"InsecureRegistryCIDRs": [
"127.0.0.0/8"
],
"IndexConfigs": {
"docker.io": {
"Name": "docker.io",
"Mirrors": [],
"Secure": true,
"Official": true
},
"hubproxy.docker.internal:5555": {
"Name": "hubproxy.docker.internal:5555",
"Mirrors": [],
"Secure": false,
"Official": false
}
},
"Mirrors": null
},
"NCPU": 10,
"MemTotal": 25206079488,
"GenericResources": null,
"DockerRootDir": "/var/lib/docker",
"HttpProxy": "http.docker.internal:3128",
"HttpsProxy": "http.docker.internal:3128",
"NoProxy": "hubproxy.docker.internal",
"Name": "(none)",
"Labels": [],
"ExperimentalBuild": false,
"ServerVersion": "24.0.6",
"Runtimes": {
"io.containerd.runc.v2": {
"path": "runc"
},
"runc": {
"path": "runc"
}
},
"DefaultRuntime": "runc",
"Swarm": {
"NodeID": "",
"NodeAddr": "",
"LocalNodeState": "inactive",
"ControlAvailable": false,
"Error": "",
"RemoteManagers": null
},
"LiveRestoreEnabled": false,
"Isolation": "",
"InitBinary": "docker-init",
"ContainerdCommit": {
"ID": "8165feabfdfe38c65b599c4993d227328c231fca",
"Expected": "8165feabfdfe38c65b599c4993d227328c231fca"
},
"RuncCommit": {
"ID": "v1.1.8-0-g82f18fe",
"Expected": "v1.1.8-0-g82f18fe"
},
"InitCommit": {
"ID": "de40ad0",
"Expected": "de40ad0"
},
"SecurityOptions": [
"name=seccomp,profile=unconfined",
"name=cgroupns"
],
"Warnings": [
"WARNING: daemon is not using the default seccomp profile"
]
}
{
"ID": "9df89ebe-3b12-4be0-870d-f34b3d01617d",
"Containers": 18,
"ContainersRunning": 18,
"ContainersPaused": 0,
"ContainersStopped": 0,
"Images": 11,
"Driver": "overlay2",
"DriverStatus": [
[
"Backing Filesystem",
"extfs"
],
[
"Supports d_type",
"true"
],
[
"Using metacopy",
"false"
],
[
"Native Overlay Diff",
"true"
],
[
"userxattr",
"false"
]
],
"Plugins": {
"Volume": [
"local"
],
"Network": [
"bridge",
"host",
"ipvlan",
"macvlan",
"null",
"overlay"
],
"Authorization": null,
"Log": [
"awslogs",
"fluentd",
"gcplogs",
"gelf",
"journald",
"json-file",
"local",
"logentries",
"splunk",
"syslog"
]
},
"MemoryLimit": true,
"SwapLimit": true,
"KernelMemoryTCP": true,
"CpuCfsPeriod": true,
"CpuCfsQuota": true,
"CPUShares": true,
"CPUSet": true,
"PidsLimit": true,
"IPv4Forwarding": true,
"BridgeNfIptables": true,
"BridgeNfIp6tables": true,
"Debug": false,
"NFd": 147,
"OomKillDisable": true,
"NGoroutines": 143,
"SystemTime": "2024-01-25T02:00:52.255095865Z",
"LoggingDriver": "json-file",
"CgroupDriver": "cgroupfs",
"CgroupVersion": "1",
"NEventsListener": 8,
"KernelVersion": "5.15.133.1-microsoft-standard-WSL2",
"OperatingSystem": "Docker Desktop",
"OSVersion": "",
"OSType": "linux",
"Architecture": "x86_64",
"IndexServerAddress": "https://index.docker.io/v1/",
"RegistryConfig": {
"AllowNondistributableArtifactsCIDRs": null,
"AllowNondistributableArtifactsHostnames": null,
"InsecureRegistryCIDRs": [
"127.0.0.0/8"
],
"IndexConfigs": {
"docker.io": {
"Name": "docker.io",
"Mirrors": [],
"Secure": true,
"Official": true
},
"hubproxy.docker.internal:5555": {
"Name": "hubproxy.docker.internal:5555",
"Mirrors": [],
"Secure": false,
"Official": false
}
},
"Mirrors": null
},
"NCPU": 2,
"MemTotal": 8333266944,
"GenericResources": null,
"DockerRootDir": "/var/lib/docker",
"HttpProxy": "http.docker.internal:3128",
"HttpsProxy": "http.docker.internal:3128",
"NoProxy": "hubproxy.docker.internal",
"Name": "DESKTOP-FOO",
"Labels": [],
"ExperimentalBuild": false,
"ServerVersion": "24.0.6",
"Runtimes": {
"io.containerd.runc.v2": {
"path": "runc"
},
"runc": {
"path": "runc"
}
},
"DefaultRuntime": "runc",
"Swarm": {
"NodeID": "",
"NodeAddr": "",
"LocalNodeState": "inactive",
"ControlAvailable": false,
"Error": "",
"RemoteManagers": null
},
"LiveRestoreEnabled": false,
"Isolation": "",
"InitBinary": "docker-init",
"ContainerdCommit": {
"ID": "8165feabfdfe38c65b599c4993d227328c231fca",
"Expected": "8165feabfdfe38c65b599c4993d227328c231fca"
},
"RuncCommit": {
"ID": "v1.1.8-0-g82f18fe",
"Expected": "v1.1.8-0-g82f18fe"
},
"InitCommit": {
"ID": "de40ad0",
"Expected": "de40ad0"
},
"SecurityOptions": [
"name=seccomp,profile=unconfined"
],
"Warnings": [
"WARNING: No blkio throttle.read_bps_device support",
"WARNING: No blkio throttle.write_bps_device support",
"WARNING: No blkio throttle.read_iops_device support",
"WARNING: No blkio throttle.write_iops_device support",
"WARNING: daemon is not using the default seccomp profile"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment