You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on May 6, 2020. It is now read-only.
A note and a question:
Note: if you do a docker-runc ps xxx, where xxx is not a valid container ID, then it prints out an error message noting that it could not find the relevant state.json file. We of course don't have to copy this, but I found it interesting that we currently silently fail (with the correct exit code), whereas it looks like we could print something more useful.
Question: Is there a way to invoke the runtime ps command from the docker commandline? docker ps is something different (lists the containers, not their contents), and I've failed to identify if there is a way to get the container process list out of the docker command line. If we know of one, please update this ticket with that info.
Aha. The way to invoke the runtime ps from docker cli itself is by using docker top I believe.
Just checked, and this works for runc, but not for cor at least. I believe it will not work for cc-runtime at present either (I don't have an installation to hand to check right now)
Activity
grahamwhaley commentedon Aug 2, 2017
A note and a question:
Note: if you do a
docker-runc ps xxx, where xxx is not a valid container ID, then it prints out an error message noting that it could not find the relevant state.json file. We of course don't have to copy this, but I found it interesting that we currently silently fail (with the correct exit code), whereas it looks like we could print something more useful.Question: Is there a way to invoke the runtime ps command from the docker commandline?
docker psis something different (lists the containers, not their contents), and I've failed to identify if there is a way to get the container process list out of the docker command line. If we know of one, please update this ticket with that info.grahamwhaley commentedon Aug 3, 2017
Aha. The way to invoke the runtime
psfrom docker cli itself is by usingdocker topI believe.Just checked, and this works for
runc, but not forcorat least. I believe it will not work forcc-runtimeat present either (I don't have an installation to hand to check right now)agent: implement ps command
agent: implement ps command
agent: implement ps command
cli: implement ps command
vendor: update virtcontainers
agent: implement ps command
agent: implement ps command
14 remaining items
agent: implement ps command
agent: implement ps command
cli: implement ps command
cli: implement ps command
cli: implement ps command
agent: implement ps command
agent: implement ps command
cli: implement ps command
cli: implement ps command
agent: implement ps command
cli: implement ps command
cli: implement ps command
cli: implement ps command
cli: implement ps command