Skip to content

Instantly share code, notes, and snippets.

@michaelPf85

michaelPf85/cmdlets.md

Forked from stknohg/cmdlets.md
Created Mar 28, 2017
Embed
What would you like to do?
PowerShell for Docker Cmdlets

PowerShell for Docker (Ver.0.1.0.100) Cmdlet list

|PowerShell Cmdlet|Alias|Equivalent docker command| |----|----|----|----| | ConvertTo-ContainerImage | Commit-Container | docker commit | | Copy-ContainerFile | - | docker cp | | Enter-ContainerSession | Attach-Container | docker attach | | Export-ContainerImage | Save-ContainerImage | docker save | | Get-Container | - | docker ps -a | | Get-ContainerDetail | - | docker inspect | | Get-ContainerImage | - | docker images | | Get-ContainerNet | - | docker network ls | | Get-ContainerNetDetail | - | docker network inspect | | Import-ContainerImage | Load-ContainerImage | docker load/docker import (tarball input only) | | Invoke-ContainerImage | Run-ContainerImage | docker run | | New-Container | - | docker create | | New-ContainerImage | Build-ContainerImage | docker build | | New-ContainerNet | - | docker network create | | Remove-Container | - | docker rm | | Remove-ContainerImage | - | docker rmi | | Remove-ContainerNet | - | docker netowrk rm | | Request-ContainerImage | Pull-ContainerImage | docker pull | | Set-ContainerImageTag | Tag-ContainerImage | docker tag | | Start-Container | - | docker start | | Start-ContainerProcess | Exec-Container | docker exec | | Stop-Container | - | docker stop | | Submit-ContainerImage | Push-ContainerImage | docker push | | Wait-Container | - | docker wait |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.