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

Cr daemon #5

Open
wants to merge 5 commits into
base: cr-driver
Choose a base branch
from
Open

Cr daemon #5

wants to merge 5 commits into from

Conversation

boucher
Copy link
Owner

@boucher boucher commented May 24, 2015

No description provided.

Saied Kazemi and others added 2 commits May 26, 2015 14:47
Methods for checkpointing and restoring containers were added to the
native driver.  The LXC driver returns an error message that these
methods are not implemented yet.

Signed-off-by: Saied Kazemi <[email protected]>

Conflicts:
	daemon/execdriver/native/create.go
	daemon/execdriver/native/driver.go
	daemon/execdriver/native/init.go
Docker-DCO-1.1-Signed-off-by: Ross Boucher <[email protected]> (github: boucher)
@huikang
Copy link

huikang commented May 26, 2015

@boucher
When I compile your cr-daemon branch, it gives me the
These files are not properly gofmt'd:

  • daemon/checkpoint.go
  • daemon/container.go
  • daemon/state.go
  • runconfig/restore.go

Please reformat the above files using "gofmt -s -w" and commit t he result.

I can bypass this issue by comment out some line in hack/make.sh. However you may consider reformat it. My gofmt setup has some problem and could not resolve all the format error.

  • Hui

Saied Kazemi and others added 2 commits May 26, 2015 15:44
Support was added to the daemon to use the Checkpoint and Restore methods
of the native exec driver for checkpointing and restoring containers.

Signed-off-by: Saied Kazemi <[email protected]>

Conflicts:
	api/server/server.go
	daemon/container.go
	daemon/daemon.go
	daemon/networkdriver/bridge/driver.go
	daemon/state.go
	vendor/src/github.com/docker/libnetwork/ipallocator/allocator.go
Restore failed if network resource not released during checkpoint,
e.g., a container with port open with -p

Signed-off-by: Hui Kang <[email protected]>

Conflicts:
	daemon/container.go
@boucher
Copy link
Owner Author

boucher commented May 26, 2015

@huikang Should be resolved now

Docker-DCO-1.1-Signed-off-by: Ross Boucher <[email protected]> (github: boucher)
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

Successfully merging this pull request may close these issues.

2 participants