Commit Graph

7 Commits

Author SHA1 Message Date
Andrea Luzzardi 1a65969e9a Docker: Fixed an issue with container unmarshaling which prevented
docker.restore() to work properly.
2013-01-25 14:09:21 -08:00
Andrea Luzzardi d76cdea5bf Fixed lxc-wait race condition. Added unit test to try running multiple
containers in parallel.
2013-01-22 17:30:09 -08:00
Andrea Luzzardi 8bdb36c7a4 Restart() implementation 2013-01-22 15:03:40 -08:00
Andrea Luzzardi aa3645cbe7 Container: Better serialization/reloading support 2013-01-22 11:13:22 -08:00
Andrea Luzzardi 9d28066178 container.Name -> container.Id 2013-01-21 18:39:52 -08:00
Andrea Luzzardi 910340e533 Docker: Clean shutdown of containers.
Stop() will send a SIGTERM to the init process of the container and give it 10 seconds to shutdown properly.
After the timeout is reached, the process will be force killed (SIGKILL).
Also available is Kill() which kills the process on the spot.
2013-01-21 18:03:23 -08:00
Andrea Luzzardi 70e2b10ccf Initial commit 2013-01-18 16:13:39 -08:00