Comments (4)
This one is a tricky issue... Docker's engine api doesn't give us a graceful way to request one ContainerListResponse object or multiple ContainerResponse objects due to the way their rest endpoints are designed. We'll need to dig further, but it's likely that whatever we do now will be a work-around until the engine api is improved.
from docker-powershell.
I know its 100% less than ideal but we could theoretically just do client side processing for now. IE: get the full list but only write out the one that matches the -Id or -Name requested. We should open a tracking item in Docker to add the /containers/json to support /containers/json?id=<> in the filters list.
from docker-powershell.
Also, I haven't had a chance to try but what if we used since=<id>&limit=1
? Is it inclusive?
from docker-powershell.
Oh man... I didn't realize that since and before took ID/name. I thought those were timestamps. I'll give that a try and it could solve our issue (if since/before are inclusive).
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.