Solomon Hykes
9afdd23e81
Merge remote-tracking branch 'origin/improve_container_tests'
2013-03-29 23:41:09 -07:00
Guillaume J. Charmes
58108a2d4f
Add unit test for multiple attach / restart
2013-03-29 10:56:49 -07:00
Guillaume J. Charmes
1df79124bc
Improve the containers unit tests (add error checking)
2013-03-29 07:44:58 -07:00
Solomon Hykes
d9ca46905b
Add unit test for container id format
2013-03-26 16:54:13 -07:00
Solomon Hykes
bc1b6a08ee
Moved image name into config. runtime.Create() now receives a single Config parameter
2013-03-23 12:39:09 -07:00
Solomon Hykes
a9752a83dc
runtime.Create receives an image name + Config. The Config includes all required runtime information: command, environment, ports etc.
2013-03-23 12:16:58 -07:00
Solomon Hykes
74c41cef9d
'docker commit' records parent container id and command, in addition to parent image
2013-03-21 21:13:27 -07:00
Solomon Hykes
7d26e81507
Renamed Docker{} to Runtime{} for clarity
2013-03-21 00:41:15 -07:00
Solomon Hykes
d25a4e3f33
Simplified the core container API, ported it to the new graph. Some features are missing eg. image 'paths' and tags
2013-03-21 00:25:00 -07:00
creack
d84004e46c
Put back the github.com path for the import
2013-03-12 11:59:27 -07:00
creack
640c100543
Merge master within fs
2013-03-12 08:33:21 -07:00
Guillaume J. Charmes
6bdf903140
gofmt
2013-03-12 05:36:37 -07:00
Guillaume J. Charmes
8593b62504
Add TestCommitRun unit test
2013-03-12 05:35:47 -07:00
Guillaume J. Charmes
b3de9a9232
Add "nuke" function to docker tests to avoid disk space waste
2013-03-12 00:08:41 -07:00
Sam Alba
847b00afcf
Renamed Container property Ram to Memory before it is too late
2013-03-11 19:25:02 -07:00
Sam Alba
246aab57fc
Implemented unit tests for the generated LXC config
2013-03-11 19:15:29 -07:00
shin-
b8e9b22862
Merged master branch into fs
2013-03-11 05:42:36 -07:00
Solomon Hykes
53e17c0f1d
Setup a predictable, repeatable environment for containers
2013-03-07 09:25:41 -08:00
shin-
e9741961ad
Halfway through fs branch fixes, TestUser not passing
2013-02-26 17:45:46 -08:00
Andrea Luzzardi
73fc7c4307
run as user tests: Check the exit codes
2013-02-15 12:17:58 -08:00
Andrea Luzzardi
c52600d590
Autonomous testing: Don't depend on /var/lib/docker/images/ubuntu being
...
there. Instead, automatically downlaod the test image if not present.
2013-02-14 15:37:45 -08:00
Andrea Luzzardi
8da8bea279
Fixed a bug preventing proper reattachment to stdin upon container restart
2013-02-13 19:05:57 -08:00
Andrea Luzzardi
f035f8ef94
Added a restart test to ensure a container can be successfully run twice
2013-02-13 18:17:42 -08:00
Andrea Luzzardi
251a700785
Implemented support to run as a different user (through the -u flag)
2013-02-13 17:24:35 -08:00
Andrea Luzzardi
16f63e8f40
Created tests for stdin pipes and tty handling
2013-01-29 15:16:45 -08:00
Andrea Luzzardi
5155bec5a1
Added sequential and parallel benchmarks in order to stress test docker
...
(create, run, destroy workflow)
2013-01-28 11:51:51 -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
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