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

Restorefixforrunningcontainer #239

Merged
merged 1 commit into from
Sep 2, 2015

Conversation

rajasec
Copy link
Contributor

@rajasec rajasec commented Aug 31, 2015

With the runc, I've started the container by setting the terminal as false for checkpointing. In second terminal gave the command runc checkpoint --leave-running,
Checkpoint happened successfully and at the same time container running in first terminal is not stopped which is expected behavior.
In the second terminal I typed runc restore, this also started the container.
with single ID runc, two instances of runc were running.

Upon killing ./runc restore, it failed to remove the cgroup paths.

So I've added the check in restore, if the container with specific ID is already running, give an message saying " Container with ID already running".

Signed-off-by: Rajasekaran rajasec79@gmail.com

Signed-off-by: Rajasekaran <rajasec79@gmail.com>
@rajasec
Copy link
Contributor Author

rajasec commented Aug 31, 2015

@mrunalp @crosbymichael
I've commited the fix, but not sure why the jenkins build is not kicked off.

@mrunalp
Copy link
Contributor

mrunalp commented Aug 31, 2015

@rajasec I just kicked it off for you.

@rajasec
Copy link
Contributor Author

rajasec commented Sep 1, 2015

Thanks.

@mrunalp
Copy link
Contributor

mrunalp commented Sep 1, 2015

LGTM ping @crosbymichael @avagin @boucher

@boucher
Copy link
Contributor

boucher commented Sep 1, 2015

LGTM

mrunalp pushed a commit that referenced this pull request Sep 2, 2015
@mrunalp mrunalp merged commit 0f85e4e into opencontainers:master Sep 2, 2015
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants