Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rkt: check if container was already terminated #1

Open
Mic92 opened this issue Mar 13, 2018 · 0 comments
Open

rkt: check if container was already terminated #1

Mic92 opened this issue Mar 13, 2018 · 0 comments

Comments

@Mic92
Copy link
Owner

Mic92 commented Mar 13, 2018

$ ./target/debug/cntr attach 5e020cea
no suitable container found, got the following errors:
  - ProcessId: not a valid pid: `5e020cea`: invalid digit found in string
  - Rkt: could not find container process belonging to rkt container '5e020cea': no child process found for pid 20849
  - Docker: Failed to list containers. 'docker inspect --format '{.State.Running};{.State.Pid}' 5e020cea' exited with exit code: 1: Error: No such object: 5e020cea
  - Nspawn: Failed to list containers. 'machinectl show --property=Leader 5e020cea' exited with exit code: 1: Could not get path to machine: No machine '5e020cea' known
  - Lxc: Failed to list containers. 'lxc-info --no-humanize --pid --name 5e020cea' exited with exit code: 1: 5e020cea doesn't exist

currently the error message is not too helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant