Skip to content

Instantly share code, notes, and snippets.

@AlbertoMonteiro
Last active December 13, 2017 18:01
Show Gist options
  • Save AlbertoMonteiro/8b246edd297b7363ee43997fdb2e9514 to your computer and use it in GitHub Desktop.
Save AlbertoMonteiro/8b246edd297b7363ee43997fdb2e9514 to your computer and use it in GitHub Desktop.
Docker very slow
2017-12-13T15:00:18.059385800-03:00 container create 07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52 (image=microsoft/dotnet-framework, name=sleepy_gates)
2017-12-13T15:00:18.066377500-03:00 container attach 07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52 (image=microsoft/dotnet-framework, name=sleepy_gates)
2017-12-13T15:00:18.129877400-03:00 network connect e47d6abe799d43547cad0f7bb60ee0ab0525b169af5da925fa2d2fcf789f9afd (container=07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52, name=none, type=null)
2017-12-13T15:00:47.920780100-03:00 container start 07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52 (image=microsoft/dotnet-framework, name=sleepy_gates)
2017-12-13T15:00:50.979503000-03:00 container die 07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52 (exitCode=0, image=microsoft/dotnet-framework, name=sleepy_gates)
2017-12-13T15:00:51.000501000-03:00 network disconnect e47d6abe799d43547cad0f7bb60ee0ab0525b169af5da925fa2d2fcf789f9afd (container=07b3ae560d416356673e4fa8ae1a2bd4fe6ebf69a3f5e35fd015fb30f3236d52, name=none, type=null)
$vc = [System.Diagnostics.Stopwatch]::StartNew();
docker run --net none microsoft/dotnet-framework cmd /c echo hi;
$vc.Stop();
Write-Host $vc.Elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment