Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Can't attach a container starting from succeed status #539

@Crazykev

Description

@Crazykev

How to reproduce:

$ sudo hyperctl run -d busybox sh
POD id is busybox-8211221991
Time to run a POD is 2428 ms
$ sudo hyperctl list container
Container ID                                                       Name                 POD ID               Status
4448eb62b4b50945a47cba27ac079f3c3798b439940d6147b6190b5a6755794d   busybox-8211221991   busybox-8211221991   running
$ sudo hyperctl stop -c 4448eb62b4b50
$ sudo hyperctl start -c 4448eb62b4b50
Successfully started container 4448eb62b4b50
$ sudo hyperctl attach 4448eb62b4b50
ls
ls
^C

This also apply in attach a container already attached and exited.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions