d80b50d4b4 
								
							 
						 
						
							
							
								
								Improve formatting with 'go fmt' as stated in CONTRIBUTING.md  
							
							... 
							
							
							
							As 'go fmt' doesn't support verifying files in multiple directories,
it's probably a good idea to run it on all '*.go' files from time to
time with something like this:
  find . -name "*.go" | xargs dirname | sort -u | xargs -n 1 echo go fmt 
							
						 
						
							2013-08-27 10:05:25 +02:00  
				
					
						
							
							
								 
						
							
								f925edd12d 
								
							 
						 
						
							
							
								
								Merge pull request  #1525  from griff/1503-fix  
							
							... 
							
							
							
							Don't read from stdout when only attached to stdin 
							
						 
						
							2013-08-22 13:43:05 -07:00  
				
					
						
							
							
								 
						
							
								687d27ab57 
								
							 
						 
						
							
							
								
								Add an option to set the working directory.  
							
							... 
							
							
							
							This makes it possible to simply wrap a command inside a container. This makes
it easier to use a container as an unified build environment.
Examples:
~/workspace/docker
$ docker  run  -v `pwd`:`pwd` -w `pwd` -i -t  ubuntu ls
AUTHORS		 Makefile	archive.go	   changes.go	      docker
[...]
docker  run  -v `pwd`:`pwd` -w `pwd` -i -t  ubuntu pwd
/home/marco/workspace/docker 
							
						 
						
							2013-08-18 19:34:01 +02:00  
				
					
						
							
							
								 
						
							
								c7cda86e84 
								
							 
						 
						
							
							
								
								Don't read from stdout in hijack unless attached.  Fixes   #1503  
							
							
							
						 
						
							2013-08-15 02:54:06 +02:00  
				
					
						
							
							
								 
						
							
								9b2a5964fc 
								
							 
						 
						
							
							
								
								Fixed typos  
							
							
							
						 
						
							2013-08-12 18:53:06 +01:00  
				
					
						
							
							
								 
						
							
								6ae3305040 
								
							 
						 
						
							
							
								
								Merge pull request  #1277  from dotcloud/add_commands_unit_tests  
							
							... 
							
							
							
							* Tests: Reimplement old Commands unit tests in order to insure behavior 
							
						 
						
							2013-07-24 15:24:51 -07:00  
				
					
						
							
							
								 
						
							
								bc823acc25 
								
							 
						 
						
							
							
								
								Reimplement old Commands unit tests in order to insure behavior  
							
							
							
						 
						
							2013-07-23 17:27:49 -07:00  
				
					
						
							
							
								 
						
							
								ed7a4236b3 
								
							 
						 
						
							
							
								
								Add tests for the api  
							
							
							
						 
						
							2013-07-23 15:42:34 +00:00  
				
					
						
							
							
								 
						
							
								599f85d4e4 
								
							 
						 
						
							
							
								
								store both logs in a same file, as JSON  
							
							
							
						 
						
							2013-07-15 16:17:58 +00:00  
				
					
						
							
							
								 
						
							
								2ac1141980 
								
							 
						 
						
							
							
								
								Don't leave broken, commented out tests lying around.  
							
							
							
						 
						
							2013-07-11 17:58:45 -07:00  
				
					
						
							
							
								 
						
							
								ada0e1fb08 
								
							 
						 
						
							
							
								
								Merge pull request  #1049  from dotcloud/1040_ignore_stderr_tests-fix  
							
							... 
							
							
							
							- Tests: Ignore stderr while doing tests 
							
						 
						
							2013-07-09 10:32:24 -07:00  
				
					
						
							
							
								 
						
							
								19121c16d9 
								
							 
						 
						
							
							
								
								Implement several golint suggestions, including:  
							
							... 
							
							
							
							* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names 
							
						 
						
							2013-07-03 14:36:04 -07:00  
				
					
						
							
							
								 
						
							
								800d900688 
								
							 
						 
						
							
							
								
								Ignore stderr while doing tests  
							
							
							
						 
						
							2013-06-27 15:25:31 -07:00  
				
					
						
							
							
								 
						
							
								5190f7f33a 
								
							 
						 
						
							
							
								
								Implement regression test for stdin attach  
							
							
							
						 
						
							2013-06-24 18:36:04 -07:00  
				
					
						
							
							
								 
						
							
								a749fb2130 
								
							 
						 
						
							
							
								
								Make DockerCli use its own stdin/out/err instead of the os.Std*  
							
							
							
						 
						
							2013-06-24 18:27:57 -07:00  
				
					
						
							
							
								 
						
							
								6f3e868a7b 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:dotcloud/docker into 471-cpu-limit  
							
							
							
						 
						
							2013-05-10 14:44:50 -07:00  
				
					
						
							
							
								 
						
							
								15ae314cbb 
								
							 
						 
						
							
							
								
								Mock Hijack and Implement Unit test for Attach  
							
							
							
						 
						
							2013-05-09 21:55:08 -07:00  
				
					
						
							
							
								 
						
							
								af9f559f2e 
								
							 
						 
						
							
							
								
								in the tests, use a non-default value for cpu.shares  
							
							
							
						 
						
							2013-05-07 11:44:24 -07:00  
				
					
						
							
							
								 
						
							
								efd9becb78 
								
							 
						 
						
							
							
								
								implement "-c" option to allocate a number of CPU shares to a container  
							
							
							
						 
						
							2013-05-07 11:16:30 -07:00  
				
					
						
							
							
								 
						
							
								10c0e99037 
								
							 
						 
						
							
							
								
								update to master  
							
							
							
						 
						
							2013-05-07 19:23:50 +02:00  
				
					
						
							
							
								 
						
							
								8472a27e80 
								
							 
						 
						
							
							
								
								Merge pull request  #497  from justone/dot-graph-images  
							
							... 
							
							
							
							+ images: output graph of images to dot (graphviz) 
							
						 
						
							2013-05-06 17:48:07 -07:00  
				
					
						
							
							
								 
						
							
								ff95f2b0ec 
								
							 
						 
						
							
							
								
								Update the unit tests to reflect the new API  
							
							
							
						 
						
							2013-05-06 16:00:30 -07:00  
				
					
						
							
							
								 
						
							
								04cd20fa62 
								
							 
						 
						
							
							
								
								split api and server. run return exit code. import, pull and commit uses the smae endpoint. non zero status code on failure  
							
							
							
						 
						
							2013-05-06 11:31:22 +02:00  
				
					
						
							
							
								 
						
							
								3dba4022ad 
								
							 
						 
						
							
							
								
								add tests for 'images' subcommand  
							
							
							
						 
						
							2013-05-03 21:12:43 -07:00  
				
					
						
							
							
								 
						
							
								a22c78523f 
								
							 
						 
						
							
							
								
								Wait for the container to finish in TestAttachDisconnect before destroying it  
							
							
							
						 
						
							2013-04-23 11:09:48 -07:00  
				
					
						
							
							
								 
						
							
								acb546cd1b 
								
							 
						 
						
							
							
								
								Fix race within TestRunDisconnectTty  
							
							
							
						 
						
							2013-04-22 11:16:32 -07:00  
				
					
						
							
							
								 
						
							
								cc5a044a8c 
								
							 
						 
						
							
							
								
								update TestRunDisconnectTty to reflect the correct behavior of CmdRun  
							
							
							
						 
						
							2013-04-19 17:51:41 -07:00  
				
					
						
							
							
								 
						
							
								bb22cd492e 
								
							 
						 
						
							
							
								
								Add unit test for hanging kill + fix other tests behaviour  
							
							
							
						 
						
							2013-04-11 16:21:19 -07:00  
				
					
						
							
							
								 
						
							
								d063d52cce 
								
							 
						 
						
							
							
								
								Update the unit test to reflect the new CmdRun behaviour in tty mode  
							
							
							
						 
						
							2013-04-09 08:18:36 -07:00  
				
					
						
							
							
								 
						
							
								99b5bec069 
								
							 
						 
						
							
							
								
								Fix run disconnect behavious in tty mode + add unit test to enforce it  
							
							
							
						 
						
							2013-04-05 19:02:35 -07:00  
				
					
						
							
							
								 
						
							
								e9a68801ba 
								
							 
						 
						
							
							
								
								Update the tests according to the "optional raw mode" changes  
							
							
							
						 
						
							2013-04-08 16:07:12 -07:00  
				
					
						
							
							
								 
						
							
								bdf05d8368 
								
							 
						 
						
							
							
								
								Reenable CmdRunAttachStdin and CmdRunHostname now using the DockConn interface  
							
							
							
						 
						
							2013-04-08 15:58:09 -07:00  
				
					
						
							
							
								 
						
							
								80f6b4587b 
								
							 
						 
						
							
							
								
								Edit the tests for them to use the new command API. Disable TestRunHostname and TestAttachStdin.  
							
							
							
						 
						
							2013-04-08 15:58:09 -07:00  
				
					
						
							
							
								 
						
							
								6882c78ce4 
								
							 
						 
						
							
							
								
								Add a stdincloser to container.Attach in order to close the client connection when needed  
							
							
							
						 
						
							2013-04-02 12:18:20 -07:00  
				
					
						
							
							
								 
						
							
								43484e8b50 
								
							 
						 
						
							
							
								
								Add a TestRunExit, make sure cmdRun returns after process dies  
							
							
							
						 
						
							2013-04-02 09:22:30 -07:00  
				
					
						
							
							
								 
						
							
								15c3096e89 
								
							 
						 
						
							
							
								
								Merged attachStdin  
							
							
							
						 
						
							2013-04-02 20:46:32 -07:00  
				
					
						
							
							
								 
						
							
								b1fa26bb76 
								
							 
						 
						
							
							
								
								TestRunHostname checks that 'docker run -h' correctly sets a custom hostname  
							
							
							
						 
						
							2013-04-02 19:00:05 -07:00  
				
					
						
							
							
								 
						
							
								c77063afcd 
								
							 
						 
						
							
							
								
								Add test for attaching only stdin at run with 'docker run -i -a=stdin'  
							
							
							
						 
						
							2013-04-02 18:05:19 -07:00  
				
					
						
							
							
								 
						
							
								2db358146f 
								
							 
						 
						
							
							
								
								'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests.  
							
							
							
						 
						
							2013-04-02 11:07:49 -07:00  
				
					
						
							
							
								 
						
							
								1cc1cb099e 
								
							 
						 
						
							
							
								
								When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value  
							
							
							
						 
						
							2013-04-02 11:06:42 -07:00  
				
					
						
							
							
								 
						
							
								ad1e8a9b0f 
								
							 
						 
						
							
							
								
								Add unit test for CmdAttach  
							
							
							
						 
						
							2013-03-31 21:48:18 -07:00  
				
					
						
							
							
								 
						
							
								cfeed391d7 
								
							 
						 
						
							
							
								
								Change the commands unit tests in order to reflect the proper behaviour of CmdRun  
							
							
							
						 
						
							2013-03-31 20:52:35 -07:00  
				
					
						
							
							
								 
						
							
								a52a28b609 
								
							 
						 
						
							
							
								
								Temporarily disable a broken test (waiting for @creack to fix it), and silence a warning which pollutes unit tests but is complicated to fix  
							
							
							
						 
						
							2013-03-31 22:05:14 -07:00  
				
					
						
							
							
								 
						
							
								8cceafc834 
								
							 
						 
						
							
							
								
								Add unit test for the  #125  scenario. Reattach after client disconnect on stdin allocated container  
							
							
							
						 
						
							2013-03-30 06:55:47 -07:00