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

Please clarify that this is for Linux containers #6780

Closed
jasonbivins opened this issue May 29, 2018 · 11 comments
Closed

Please clarify that this is for Linux containers #6780

jasonbivins opened this issue May 29, 2018 · 11 comments
Labels
area/cli Relates to the CLI client lifecycle/locked

Comments

@jasonbivins
Copy link

File: engine/reference/commandline/checkpoint.md

on my Windows environment, i get this error message when using Windows containers
Tested with both CE and EE versions

C:\Users\DockerJ>docker checkpoint create Tester checkpoint1 Error response from daemon: Cannot checkpoint container Tester: Windows: Containers do not support checkpoints

@gbarr01
Copy link
Contributor

gbarr01 commented May 30, 2018

@jasonbivins , two questions:

My guess is that you have experimental set to off. See the top of the checkpoint page for caveats.

@gbarr01 gbarr01 added the area/cli Relates to the CLI client label May 30, 2018
@jasonbivins
Copy link
Author

jasonbivins commented May 30, 2018

@gbarr01 I checked that before I posted :)

Clien:
 Version:       17.06.2-ee-11
 API version:   1.30
 Go version:    go1.8.7
 Git commit:    06fc007
 Built: Thu May 17 06:14:39 2018
 OS/Arch:       windows/amd64

Server:
 Engine:
  Version:      17.06.2-ee-11
  API version:  1.30 (minimum version 1.24)
  Go version:   go1.8.7
  Git commit:   06fc007
  Built:        Thu May 17 06:17:26 2018
  OS/Arch:      windows/amd64
  Experimental: true

@gbarr01
Copy link
Contributor

gbarr01 commented May 30, 2018

Off the top of my head, if you are using Command Prompt, try PowerShell instead (but not ISE).

@gbarr01
Copy link
Contributor

gbarr01 commented May 30, 2018

Oh hang on, I see. You are using Windows containers. Sorry about that. I need to think about how best to handle the docs. Editing the CLI reference docs is probably not the best solution.

Ps. I would still use PowerShell though ...

@jasonbivins
Copy link
Author

Is there a better place to send requests like this?

@gbarr01
Copy link
Contributor

gbarr01 commented May 30, 2018

Not necessarily. We need to clarify CLI limitations (if they exist) for Windows containers. But if you need help now, you could ask on the Docker forums or Stackoverflow, of course.

@gbarr01
Copy link
Contributor

gbarr01 commented May 30, 2018

@thaJeztah , @gtardif , do you know about CLI limitations for Windows containers?

@thaJeztah
Copy link
Member

In this case, it's an experimental feature that uses CRIU, which is a Linux only feature.

Not related to the Windows side of things, but checkpoint/restore currently has some issues due to the migration to containerd, and will get a major overhaul in future.

What should be done though, is that the CLI hides these commands if the daemon is running on Windows; I think we do so for some other commands (likely we didn't do that yet when this feature was implemented)

@thaJeztah
Copy link
Member

Opened docker/cli#1094 to address this

@ghost
Copy link

ghost commented Jan 2, 2019

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!

@ghost ghost closed this as completed Jan 2, 2019
@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 13, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli Relates to the CLI client lifecycle/locked
Projects
None yet
Development

No branches or pull requests

4 participants