Skip to content

Docker images with sysinternals baked in for spelunking what's going on inside windows containers.

License

Notifications You must be signed in to change notification settings

pjh/docker-windows-sysinternals

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-windows-sysinternals

Docker images with sysinternals baked in for spelunking what's going on inside windows containers.

Clone this repository on a Windows Server machine with the appropriate version, then run:

& 'C:\Program Files\Git\bin\git.exe' clone `
  https://github.com/pjh/docker-windows-sysinternals.git
cd docker-windows-sysinternals
docker build -f .\windowsservercore-1803\Dockerfile .\windowsservercore-1803 `
  --tag pjh/sysinternals:1803

gcloud auth configure-docker
docker tag pjh/sysinternals:1803 us.gcr.io/<PROJECT>/sysinternals:1803
docker push us.gcr.io/<PROJECT>/sysinternals:1803

Old readme text:

Two versions of this image:

  • nanoserver: weshigbee/sysinternals or weshigbee/sysinternals:nanoserver
  • windowsservercore: weshigbee/sysinternals:windowsservercore

Exercises

# Run a vanilla Command Prompt in a nanoserver container:
docker run --rm -it weshigbee/sysinternals 

# Then inside the container:
# This will list handles used by the Command Prompt running in the container. 
handle64.exe -accepteula -p cmd  -a

# Then, run handle64.exe on the host targeting the PID returned from the container call to handle64 above, you'll notice differences that highlight the isolation of the container. Note: this is most interesting on a Windows Server machine because you can use a Windows Server container instead of a Hyper-V container, though a good exercise would be to vary the isolation type and try out both Windows container types.
docker run --rm --isolation=hyperv -it weshigbee/sysinternals

About

Docker images with sysinternals baked in for spelunking what's going on inside windows containers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 78.0%
  • PowerShell 22.0%