Comments (1)
ID is the parameter you are looking for. Everywhere that you see a "-Id" parameter, that also accepts the full friendly name (or partial ID). This matches docker CLI and docker engine api, where ID doesn't mean "fully qualified alphanumeric unique identifier" but rather "full name or unique subset of ID." Unfortunately, English is an insufficient language, and the word that means "either name or identifier" is "identifier." So you can already do what you want to do, ie:
new-container windowsservercore -containername test cmd /c echo test
start-container test -passthru
from docker-powershell.
Related Issues (20)
- config.Volumes are incorrectly processed HOT 1
- ShouldContinue & ShouldProcess attribute missing in the Cmdlets HOT 7
- New-ContainerImage missing option to specify network for build process HOT 1
- Get-ContainerImage returns Size property value as 0 HOT 1
- How to use PortBindings property of HostConfig? HOT 8
- Getting "Unknown URL scheme" error if docker is running on alternative protocol HOT 2
- Please add port mappings to default output of Get-Container cmdlet HOT 1
- Enhancment request to output history of the image HOT 1
- Mounted folder appears empty using Docker-PowerShell; fine with 'docker' HOT 1
- --build-args HOT 4
- get-container simplified query for Running or Stopped containers HOT 1
- We need a Find-ContainerImage for docker search HOT 1
- Cannot install Azure modules on Docker-PowerShell HOT 1
- Get-ContainerDetail Should return isolation type HOT 1
- v6.0.0-beta.3 release of PowerShellCore breaks module HOT 2
- Could not download reference symbols in local VS Code using docker
- Cannot restart a container
- powershell containers on docker hub can't be referenced by powershell version
- Name conflict with module already in PSGallery HOT 1
- Is this module dead HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-powershell.