Isao Jonas
d00fb40967
added tests for 1405
2013-08-05 09:30:27 -05:00
Guillaume J. Charmes
dde8f74cea
Fix TestEnv
2013-08-02 15:58:10 -07:00
Victor Vieux
8165e51ecc
Merge branch '858-disable-network-configuration' of https://github.com/stfp/docker into stfp-858-disable-network-configuration
2013-07-23 08:44:12 +00:00
Victor Vieux
5c1af383eb
fix test env
2013-07-22 16:26:05 +00:00
Stefan Praszalowicz
3342bdb331
Support networkless containers with new docker run option '-n'
2013-07-21 17:11:47 -07:00
Victor Vieux
2e0e455fa6
rebase master
2013-07-19 14:48:32 +00:00
Guillaume J. Charmes
d6fb313220
Merge pull request #1207 from crosbymichael/819-use-persistent-volume
...
* Runtime: Do not overwrite container volumes from config
2013-07-18 18:51:00 -07:00
Guillaume J. Charmes
eefbadd230
Merge -b and -v options
2013-07-15 17:51:32 -07:00
Michael Crosby
92cbb7cc80
Do not overwrite container volumes from config
...
Fixes #819 Use same persistent volume when a container is restarted
2013-07-15 11:59:11 -09:00
Guillaume J. Charmes
c8efd08384
Merge pull request #1208 from crosbymichael/1201-rw-volumes-from
...
- Volumes: Copy VolumesRW values when using --volumes-from
2013-07-15 10:59:51 -07:00
Guillaume J. Charmes
454cd147fb
Merge pull request #1096 from dotcloud/remove_os_user
...
* Runtime: Remove the os.user dependency and manually lookup /etc/passwd instead
2013-07-15 10:19:09 -07:00
Guillaume J. Charmes
e41507bde2
Add unit test to check wrong uid case
2013-07-15 10:05:09 -07:00
Michael Crosby
5ae8c7a985
Copy VolumesRW values when using --volumes-from
...
Fixes #1201
2013-07-14 18:23:20 -09:00
Solomon Hykes
080243f040
Hack: use helper functions in tests for less copy-pasting
2013-07-12 17:56:55 -07:00
Solomon Hykes
6bdb6f226b
Simplify unit tests code with mkRuntime()
2013-07-11 17:59:25 -07:00
Victor Vieux
ebba0a6024
add sleep in tests and go fmt
2013-07-02 10:47:37 +00:00
Louis Opter
f03c1b8eeb
More unit test fixes
...
- Fix TestGetImagesJSON when there is more than one image in the test
repository;
- Remove an hardcoded constant use in TestGetImagesByName;
- Wait in a loop in TestKillDifferentUser;
- Use env instead of /usr/bin/env in TestEnv;
- Create a daemon user in contrib/mkimage-unittest.sh.
2013-07-01 17:24:21 -07:00
Michael Crosby
b16ff9f859
Add Entrypoint to builder and container config
...
By setting an entrypoint in the Dockerfile this
allows one to run an image and only pass arguments.
2013-07-01 05:34:27 -09:00
Solomon Hykes
46a9f29bae
- Runtime: small bugfixes in external mount-bind integration
2013-06-26 15:26:47 -07:00
Solomon Hykes
d4e62101ab
* Runtime: better integration of external bind-mounts (run -b) into the volume subsystem (run -v)
2013-06-26 15:08:07 -07:00
Gabriel Monroy
4fdf11b2e6
+ Runtime: mount volumes from a host directory with 'docker run -b'
2013-06-26 15:07:31 -07:00
Erno Hopearuoho
fb86dcfb17
TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero. fixes #737
2013-06-25 17:52:10 +03:00
Solomon Hykes
f9acd605dc
- Runtime: add regression test for issue #995
2013-06-22 13:33:43 -07:00
Victor Vieux
fd224ee590
linted names
2013-06-04 18:00:22 +00:00
Victor Vieux
71b1657e8d
added test
2013-06-03 17:02:57 +00:00
Jérôme Petazzoni
6f3e868a7b
Merge branch 'master' of github.com:dotcloud/docker into 471-cpu-limit
2013-05-10 14:44:50 -07:00
Guillaume J. Charmes
2a303dab85
Add unit tests
2013-05-09 19:19:24 -07:00
Jérôme Petazzoni
efd9becb78
implement "-c" option to allocate a number of CPU shares to a container
2013-05-07 11:16:30 -07:00
Guillaume J. Charmes
6c168a8986
Rebase master (autorun)
2013-05-06 16:01:00 -07:00
Guillaume J. Charmes
ff95f2b0ec
Update the unit tests to reflect the new API
2013-05-06 16:00:30 -07:00
Solomon Hykes
f7aaa06606
+ Commit default runtime options with a layer
2013-05-01 11:33:21 -07:00
Guillaume J. Charmes
30d327d37e
Add TestCommitAutoRun
2013-04-25 17:03:13 -07:00
Guillaume J. Charmes
724e2d6b0a
Update unit test in order to comply with new api
2013-04-25 17:02:38 -07:00
Guillaume J. Charmes
6ebb249131
Remove unecessary memeory limit within tests
2013-04-23 11:25:16 -07:00
Guillaume J. Charmes
c45beabcd5
Improve TestMultipleAttachRestart to avoid unnecessary warning
2013-04-23 11:22:30 -07:00
Guillaume J. Charmes
97535e5a64
Add unit test for file deletion
2013-04-22 17:51:09 -07:00
Guillaume J. Charmes
e92c4b1f39
Merge pull request #415 from dotcloud/261-choose_grace_period-feature
...
added -t in docker stop and restart to choose grace period
2013-04-19 12:42:34 -07:00
Victor Vieux
90602ab62a
fixed test
2013-04-18 16:03:50 +02:00
Solomon Hykes
4ef2d5c1e6
Added 'author' field to the image format
2013-04-17 19:58:17 -07:00
Guillaume J. Charmes
bb22cd492e
Add unit test for hanging kill + fix other tests behaviour
2013-04-11 16:21:19 -07:00
Guillaume J. Charmes
20085794f0
Increase the timeout in TestStart() to make sure the container has the time to die within the function
2013-04-05 02:01:38 -07:00
Guillaume J. Charmes
cda9cf1539
Avoid unwanted warnings from destroy() in TestStart()
2013-04-04 20:30:24 -07:00
Guillaume J. Charmes
91b1f9eee9
Avoid destroy() timeout by closing stdin in TestStart()
2013-03-31 22:42:10 -07:00
Caleb Spare
15b3088157
Don't convert []byte to string unnecessarily.
2013-04-01 11:15:40 -07:00
Guillaume J. Charmes
d949e2804a
Add a check to avoid double start (resulting in dockerd to panic) and unit test for it
2013-03-31 14:15:10 -07:00
Solomon Hykes
7dbb1eacc1
Merge remote-tracking branch 'origin/improve_container_tests'
2013-03-29 23:41:09 -07:00
Guillaume J. Charmes
0ebdca5e61
Add unit test for multiple attach / restart
2013-03-29 10:56:49 -07:00
Guillaume J. Charmes
232dbb1864
Improve the containers unit tests (add error checking)
2013-03-29 07:44:58 -07:00
Solomon Hykes
a8ae0aafe3
Add unit test for container id format
2013-03-26 16:54:13 -07:00
Solomon Hykes
6ce64e8458
Moved image name into config. runtime.Create() now receives a single Config parameter
2013-03-23 12:39:09 -07:00