3980cc1280
Merge branch 'master' of github.com:dotcloud/docker into 471-cpu-limit
...
Upstream-commit: 6f3e868a7b8f239334d06b2385b776ce7ae5614f
Component: engine
2013-05-10 14:44:50 -07:00
ad97f9e37e
Add unit tests
...
Upstream-commit: 2a303dab8594420b6b7908183a73c5d744b1e66b
Component: engine
2013-05-09 19:19:24 -07:00
443030ccf1
implement "-c" option to allocate a number of CPU shares to a container
...
Upstream-commit: efd9becb78c82ddef07efb7e76e0100d7a712281
Component: engine
2013-05-07 11:16:30 -07:00
ba650a016c
Rebase master (autorun)
...
Upstream-commit: 6c168a8986261c95ae5e036f008375f77afbe78e
Component: engine
2013-05-06 16:01:00 -07:00
7b2bb0c965
Update the unit tests to reflect the new API
...
Upstream-commit: ff95f2b0ecf54fdfeffa1aa008e22cb5c7ec59d6
Component: engine
2013-05-06 16:00:30 -07:00
0f53d29623
+ Commit default runtime options with a layer
...
Upstream-commit: f7aaa06606e0acf36d2979533f40e51ae7ef29c0
Component: engine
2013-05-01 11:33:21 -07:00
43ca41eddd
Add TestCommitAutoRun
...
Upstream-commit: 30d327d37ecca58a41f4a370b581ee638ed3ff04
Component: engine
2013-04-25 17:03:13 -07:00
f98f16c605
Update unit test in order to comply with new api
...
Upstream-commit: 724e2d6b0aa5b1cbe95f39c5d22e733124cee9be
Component: engine
2013-04-25 17:02:38 -07:00
7dad97c027
Remove unecessary memeory limit within tests
...
Upstream-commit: 6ebb2491314afb3be4b0b82d14ddba743ec460de
Component: engine
2013-04-23 11:25:16 -07:00
7a87a87114
Improve TestMultipleAttachRestart to avoid unnecessary warning
...
Upstream-commit: c45beabcd54090bcb31eaa7a5af5878262b7b0e5
Component: engine
2013-04-23 11:22:30 -07:00
9868eec5a4
Add unit test for file deletion
...
Upstream-commit: 97535e5a6466dcad6ed9767960e869eadf68204f
Component: engine
2013-04-22 17:51:09 -07:00
d2c7306555
Merge pull request #415 from dotcloud/261-choose_grace_period-feature
...
added -t in docker stop and restart to choose grace period
Upstream-commit: e92c4b1f39eae970ca5f61abb7537ecc09b42431
Component: engine
2013-04-19 12:42:34 -07:00
847e9fb0f9
fixed test
...
Upstream-commit: 90602ab62a4dddadff6671d80815465556a267ee
Component: engine
2013-04-18 16:03:50 +02:00
51cf529c26
Added 'author' field to the image format
...
Upstream-commit: 4ef2d5c1e6e65b1e214071388618fc9fa4345be9
Component: engine
2013-04-17 19:58:17 -07:00
34381c942f
Add unit test for hanging kill + fix other tests behaviour
...
Upstream-commit: bb22cd492efdc67855bbcf8ab4a669e45ea9ee8e
Component: engine
2013-04-11 16:21:19 -07:00
cba4b1444c
Increase the timeout in TestStart() to make sure the container has the time to die within the function
...
Upstream-commit: 20085794f023e2e5cf7d772a67f9c3b2e3afc93f
Component: engine
2013-04-05 02:01:38 -07:00
d8fb828ed6
Avoid unwanted warnings from destroy() in TestStart()
...
Upstream-commit: cda9cf1539b4e3ce24ce77892b1e68ddb454f566
Component: engine
2013-04-04 20:30:24 -07:00
875003ed92
Avoid destroy() timeout by closing stdin in TestStart()
...
Upstream-commit: 91b1f9eee9729fc9845eaecdad88a7a5050a33de
Component: engine
2013-03-31 22:42:10 -07:00
1ceba2a123
Don't convert []byte to string unnecessarily.
...
Upstream-commit: 15b30881570369564bde3f7d8faf4491b2ebfaab
Component: engine
2013-04-01 11:15:40 -07:00
0d0aacb146
Add a check to avoid double start (resulting in dockerd to panic) and unit test for it
...
Upstream-commit: d949e2804a35497bc041537734dfeff150ea7e21
Component: engine
2013-03-31 14:15:10 -07:00
06b3a9272b
Merge remote-tracking branch 'origin/improve_container_tests'
...
Upstream-commit: 7dbb1eacc19d8393ad714866b3e3682bc23ca0dd
Component: engine
2013-03-29 23:41:09 -07:00
2944ce91cb
Add unit test for multiple attach / restart
...
Upstream-commit: 0ebdca5e6144b0176a4b161cb1bd40efc0dc7efe
Component: engine
2013-03-29 10:56:49 -07:00
84436a6982
Improve the containers unit tests (add error checking)
...
Upstream-commit: 232dbb186416df290fc698e92b3a120b92497559
Component: engine
2013-03-29 07:44:58 -07:00
798f3b00da
Add unit test for container id format
...
Upstream-commit: a8ae0aafe36664ce3e28909045f5aff016370035
Component: engine
2013-03-26 16:54:13 -07:00
6ae0955c01
Moved image name into config. runtime.Create() now receives a single Config parameter
...
Upstream-commit: 6ce64e8458b31aff150f2cae197d42e334018afa
Component: engine
2013-03-23 12:39:09 -07:00
3eb293999e
runtime.Create receives an image name + Config. The Config includes all required runtime information: command, environment, ports etc.
...
Upstream-commit: 031f91df1a158d37f7f068ca1e17c25e1f112f29
Component: engine
2013-03-23 12:16:58 -07:00
9e327a6d54
'docker commit' records parent container id and command, in addition to parent image
...
Upstream-commit: 05ae69a6eb72e012ed35422a6842038a01a24b61
Component: engine
2013-03-21 21:13:27 -07:00
8a9c33b407
Renamed Docker{} to Runtime{} for clarity
...
Upstream-commit: b8547f31e4ba5d4381c572e7efa4bea3ccb80515
Component: engine
2013-03-21 00:41:15 -07:00
3f5ac0b977
Simplified the core container API, ported it to the new graph. Some features are missing eg. image 'paths' and tags
...
Upstream-commit: 7c57a4cfc086b4af68ed9ec7c1b03b934db61f0c
Component: engine
2013-03-21 00:25:00 -07:00
35529bba2c
Put back the github.com path for the import
...
Upstream-commit: 453d49573c91a1c49ffbc54d040145804e38d91e
Component: engine
2013-03-12 11:59:27 -07:00
d6cad8aba4
Merge master within fs
...
Upstream-commit: 150a4fe7e5aaa5d733130e22eac09cb36ffadd82
Component: engine
2013-03-12 08:33:21 -07:00
22687838eb
gofmt
...
Upstream-commit: 45a8bba15e95b789c12a371036aa1ad42357dc08
Component: engine
2013-03-12 05:36:37 -07:00
090804e18e
Add TestCommitRun unit test
...
Upstream-commit: f2dc079c05c073d63b10a3c2a2bc784d1e94e82c
Component: engine
2013-03-12 05:35:47 -07:00
aee1baf2e0
Add "nuke" function to docker tests to avoid disk space waste
...
Upstream-commit: e0b09d4933a289da01508039995bd627ff1392df
Component: engine
2013-03-12 00:08:41 -07:00
5aded53217
Renamed Container property Ram to Memory before it is too late
...
Upstream-commit: 948961831ab6cfb0c94e1e80552f4438d1f434a7
Component: engine
2013-03-11 19:25:02 -07:00
ac42ba1efc
Implemented unit tests for the generated LXC config
...
Upstream-commit: 4e5ae883722ad814ef19e3f9d333f6218db752a5
Component: engine
2013-03-11 19:15:29 -07:00
347532ed43
Merged master branch into fs
...
Upstream-commit: 97a8209438dcc60395b244c14f4efced583eb364
Component: engine
2013-03-11 05:42:36 -07:00
5aae786a89
Setup a predictable, repeatable environment for containers
...
Upstream-commit: fb350e0c7705850cc78e1dc1dc63b56aca06c3cc
Component: engine
2013-03-07 09:25:41 -08:00
4c53a7568f
Halfway through fs branch fixes, TestUser not passing
...
Upstream-commit: 2ebf3464a1ed5bf32e33eff45cfa8e8394b5cd43
Component: engine
2013-02-26 17:45:46 -08:00
c795ddcc76
run as user tests: Check the exit codes
...
Upstream-commit: ac36c986e008e8e4e4f56fe510ba7ab0dab0c778
Component: engine
2013-02-15 12:17:58 -08:00
486ef707bc
Autonomous testing: Don't depend on /var/lib/docker/images/ubuntu being
...
there. Instead, automatically downlaod the test image if not present.
Upstream-commit: dd84ba348532b5c50a6c46573803952ac662bc67
Component: engine
2013-02-14 15:37:45 -08:00
966f1c8314
Fixed a bug preventing proper reattachment to stdin upon container restart
...
Upstream-commit: 0da9ccc18e9c30347f394e4cc1231b4b6edca69e
Component: engine
2013-02-13 19:05:57 -08:00
bdbd84a25c
Added a restart test to ensure a container can be successfully run twice
...
Upstream-commit: f2c2d953a871e847cc49b16573f4b1cdc483c4ab
Component: engine
2013-02-13 18:17:42 -08:00
aaedaa2b20
Implemented support to run as a different user (through the -u flag)
...
Upstream-commit: 6de3e8a22dfa736f88c0477392474d73f7bed3c5
Component: engine
2013-02-13 17:24:35 -08:00
9b61c28d6f
Created tests for stdin pipes and tty handling
...
Upstream-commit: ca40989e456cf81f26215059530b328d3be8c71c
Component: engine
2013-01-29 15:16:45 -08:00
9632a09e60
Added sequential and parallel benchmarks in order to stress test docker
...
(create, run, destroy workflow)
Upstream-commit: a2d7dd1a1908fc3dc6ac5648b5ea12eaecb19b1b
Component: engine
2013-01-28 11:51:51 -08:00
f33d685f66
Fixed lxc-wait race condition. Added unit test to try running multiple
...
containers in parallel.
Upstream-commit: f958bdba8a7c1c62f2f6e3e7bc2ddf1599029ecf
Component: engine
2013-01-22 17:30:09 -08:00
031dbdddeb
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.
Upstream-commit: 24dac22892cc3c8f34e90222f64b87d750b5025e
Component: engine
2013-01-21 18:03:23 -08:00
5c70746915
Initial commit
...
Upstream-commit: a27b4b8cb8e838d03a99b6d2b30f76bdaf2f9e5d
Component: engine
2013-01-18 16:13:39 -08:00