f3bab52df4 
								
							 
						 
						
							
							
								
								Move getKernelVersion to utils package  
							
							
							
						 
						
							2013-05-15 17:40:47 -07:00  
				
					
						
							
							
								 
						
							
								2e69e1727b 
								
							 
						 
						
							
							
								
								Create a subpackage for utils  
							
							
							
						 
						
							2013-05-14 22:37:35 +00:00  
				
					
						
							
							
								 
						
							
								6f3e868a7b 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:dotcloud/docker into 471-cpu-limit  
							
							
							
						 
						
							2013-05-10 14:44:50 -07:00  
				
					
						
							
							
								 
						
							
								32cbd72ebe 
								
							 
						 
						
							
							
								
								Merge branch 'master' into remote-api  
							
							
							
						 
						
							2013-05-07 21:02:32 +02:00  
				
					
						
							
							
								 
						
							
								efd9becb78 
								
							 
						 
						
							
							
								
								implement "-c" option to allocate a number of CPU shares to a container  
							
							
							
						 
						
							2013-05-07 11:16:30 -07:00  
				
					
						
							
							
								 
						
							
								d2eb2455a1 
								
							 
						 
						
							
							
								
								kernel version - don't show the dash if flavor is empty  
							
							
							
						 
						
							2013-05-07 20:57:21 +03:00  
				
					
						
							
							
								 
						
							
								10c0e99037 
								
							 
						 
						
							
							
								
								update to master  
							
							
							
						 
						
							2013-05-07 19:23:50 +02:00  
				
					
						
							
							
								 
						
							
								d56c5406ac 
								
							 
						 
						
							
							
								
								Implemented  command  
							
							
							
						 
						
							2013-05-07 03:49:08 -07:00  
				
					
						
							
							
								 
						
							
								a46fc3a59e 
								
							 
						 
						
							
							
								
								Implement caching for docker builder  
							
							
							
						 
						
							2013-05-06 16:44:37 -07:00  
				
					
						
							
							
								 
						
							
								dade95844f 
								
							 
						 
						
							
							
								
								Make Builder.Build return the builded image  
							
							
							
						 
						
							2013-05-06 16:00:30 -07:00  
				
					
						
							
							
								 
						
							
								5a2a5ccdaf 
								
							 
						 
						
							
							
								
								removed rcli completly  
							
							
							
						 
						
							2013-05-06 16:59:33 +02:00  
				
					
						
							
							
								 
						
							
								f37399d22b 
								
							 
						 
						
							
							
								
								added login and push  
							
							
							
						 
						
							2013-05-06 13:34:31 +02:00  
				
					
						
							
							
								 
						
							
								6f9b574f25 
								
							 
						 
						
							
							
								
								bump to 0.2.2  
							
							
							
						 
						
							2013-05-06 11:53:00 +02:00  
				
					
						
							
							
								 
						
							
								da01dd3d56 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/registry-update'  
							
							... 
							
							
							
							+ Registry: Add the new registry support 
							
						 
						
							2013-05-05 07:13:25 -07:00  
				
					
						
							
							
								 
						
							
								d985050aeb 
								
							 
						 
						
							
							
								
								gofmt pass  
							
							
							
						 
						
							2013-05-06 10:57:36 -07:00  
				
					
						
							
							
								 
						
							
								be75608906 
								
							 
						 
						
							
							
								
								Fixed checksum computing. Ensure checksum is computed when image metadata is loaded from disk. Fixed docker push workflow. Moved hash computing to utils  
							
							
							
						 
						
							2013-05-06 10:56:10 -07:00  
				
					
						
							
							
								 
						
							
								589d7c68db 
								
							 
						 
						
							
							
								
								Check that the line is valid with 6 parts after split  
							
							
							
						 
						
							2013-05-03 13:49:10 -05:00  
				
					
						
							
							
								 
						
							
								4bc8ef42d4 
								
							 
						 
						
							
							
								
								strings.Split may return an empty string on no match  
							
							... 
							
							
							
							* This fixes an index out of range crash if cgroup memory is not
  enabled. 
							
						 
						
							2013-05-02 14:44:41 -05:00  
				
					
						
							
							
								 
						
							
								4f0bda2dd5 
								
							 
						 
						
							
							
								
								up to date with master  
							
							
							
						 
						
							2013-05-02 18:36:23 +02:00  
				
					
						
							
							
								 
						
							
								c6119da339 
								
							 
						 
						
							
							
								
								Use /proc/mounts instead of mount(8)  
							
							... 
							
							
							
							Specifically, Ubuntu Precise's cgroup-lite script uses mount -n
to mount the cgroup filesystems so they don't appear in mtab, so
detection always fails unless the admin updates mtab with /proc/mounts.
/proc/mounts is valid on just about every Linux machine in existence and
as a bonus is much easier to parse.
I also removed the regex in favor of a more accurate parser that should
also support monolitic cgroup mounts (e.g. mount -t cgroup none /cgroup). 
							
						 
						
							2013-04-30 17:37:43 +00:00  
				
					
						
							
							
								 
						
							
								e5104a4cb4 
								
							 
						 
						
							
							
								
								working tty  
							
							
							
						 
						
							2013-04-29 15:12:18 +02:00  
				
					
						
							
							
								 
						
							
								e413340723 
								
							 
						 
						
							
							
								
								Update FindCgroupMountpoint to be more forgiving  
							
							... 
							
							
							
							On Gentoo, the memory cgroup is mounted at /sys/fs/cgroup/memory, but the mount line looks like the following:
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
(note that the first word on the line is "memory", not "cgroup", but the other essentials are there, namely the type of cgroup and the memory mount option) 
							
						 
						
							2013-04-23 01:09:29 -06:00  
				
					
						
							
							
								 
						
							
								16aeb77d51 
								
							 
						 
						
							
							
								
								Move the kernel detection to arch specific files  
							
							
							
						 
						
							2013-04-22 12:08:59 -07:00  
				
					
						
							
							
								 
						
							
								4ac3b803b9 
								
							 
						 
						
							
							
								
								Make the kernel version detection more generic  
							
							
							
						 
						
							2013-04-22 11:39:56 -07:00  
				
					
						
							
							
								 
						
							
								2ced94b414 
								
							 
						 
						
							
							
								
								Merge pull request  #454  from tianon/master  
							
							... 
							
							
							
							Update utils.go to not enforce extra constraints on the kernel "flavor" (such as being integral or even comparable one to another) 
							
						 
						
							2013-04-22 08:02:42 -07:00  
				
					
						
							
							
								 
						
							
								71b5806614 
								
							 
						 
						
							
							
								
								Do not stop execution if cgroup mountpoint is not found  
							
							
							
						 
						
							2013-04-22 00:44:57 -04:00  
				
					
						
							
							
								 
						
							
								1f65c6bf4c 
								
							 
						 
						
							
							
								
								Update utils.go to not enforce extra constraints on the kernel "flavor" (such as being integral or even comparable one to another)  
							
							... 
							
							
							
							This is especially to fix the current docker on kernels such as gentoo-sources, where the "flavor" is the string "gentoo", and that obviously fails to be converted to an integer. 
							
						 
						
							2013-04-21 19:19:38 -06:00  
				
					
						
							
							
								 
						
							
								965e8a02d2 
								
							 
						 
						
							
							
								
								'docker push' shows an additional progress bar while it buffers the archive to disk.  Fixes   #451 .  
							
							
							
						 
						
							2013-04-21 15:29:26 -07:00  
				
					
						
							
							
								 
						
							
								f3e89fae28 
								
							 
						 
						
							
							
								
								Use mount to determine the cgroup mountpoint  
							
							
							
						 
						
							2013-04-18 21:57:58 -07:00  
				
					
						
							
							
								 
						
							
								003622c8b6 
								
							 
						 
						
							
							
								
								Check kernel version and display warning if too low  
							
							
							
						 
						
							2013-04-18 20:47:24 -07:00  
				
					
						
							
							
								 
						
							
								626bfd87a7 
								
							 
						 
						
							
							
								
								Use integers instead of non-printable chars in the escape sequence detection  
							
							
							
						 
						
							2013-04-09 12:55:26 -07:00  
				
					
						
							
							
								 
						
							
								8f41f1fa60 
								
							 
						 
						
							
							
								
								Remove unused optimization that could lead in loosing the escape sequence  
							
							
							
						 
						
							2013-04-09 12:55:26 -07:00  
				
					
						
							
							
								 
						
							
								1f70b1e15d 
								
							 
						 
						
							
							
								
								Implement an escape sequence in order to be able to detach from a container  
							
							
							
						 
						
							2013-04-09 11:06:17 -07:00  
				
					
						
							
							
								 
						
							
								22f1cc955d 
								
							 
						 
						
							
							
								
								replace unreachable returns with panics  
							
							... 
							
							
							
							Not only is this a more common idiom, it'll make finding bugs easier,
and it'll make porting to Go 1.1 easier.
Go 1.1 will not require the final return or panic because it has a
notion of terminating statements. 
							
						 
						
							2013-04-03 11:18:23 +02:00  
				
					
						
							
							
								 
						
							
								22d1622926 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'robryk/writebroadcaster-stuff'  
							
							
							
						 
						
							2013-04-02 20:35:13 -07:00  
				
					
						
							
							
								 
						
							
								7666307931 
								
							 
						 
						
							
							
								
								Use an environment variable to activate debug mode, instead of a package-specific flag  
							
							
							
						 
						
							2013-04-02 10:58:16 -07:00  
				
					
						
							
							
								 
						
							
								a83d87abd4 
								
							 
						 
						
							
							
								
								Renamed writeBroadcaster.Close() to CloseWriters().  
							
							
							
						 
						
							2013-04-02 10:45:17 +02:00  
				
					
						
							
							
								 
						
							
								1632566ecb 
								
							 
						 
						
							
							
								
								Show shorthand image IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup images  
							
							
							
						 
						
							2013-03-31 22:11:55 -07:00  
				
					
						
							
							
								 
						
							
								0b9a3c86a2 
								
							 
						 
						
							
							
								
								Show shorthand container IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup containers  
							
							
							
						 
						
							2013-03-31 02:02:01 -07:00  
				
					
						
							
							
								 
						
							
								99f9b69716 
								
							 
						 
						
							
							
								
								Add debug infos in CmdInfo to know the amount of fds and goroutines in use  
							
							
							
						 
						
							2013-03-30 10:33:10 -07:00  
				
					
						
							
							
								 
						
							
								75ba07cb3a 
								
							 
						 
						
							
							
								
								Swapped a map for a list in writeBroadcaster.  
							
							
							
						 
						
							2013-03-30 16:04:19 +01:00  
				
					
						
							
							
								 
						
							
								0bdfcfaa33 
								
							 
						 
						
							
							
								
								Make writeBroadcaster safe for concurrent use.  
							
							
							
						 
						
							2013-03-30 16:02:22 +01:00  
				
					
						
							
							
								 
						
							
								0b2eee8b33 
								
							 
						 
						
							
							
								
								Fix   #108 , reattach now works properly  
							
							
							
						 
						
							2013-03-29 09:31:47 -07:00  
				
					
						
							
							
								 
						
							
								d52451bcf8 
								
							 
						 
						
							
							
								
								Fix a race condition in bufReader.  
							
							... 
							
							
							
							The race condition cen be detected by running existing bufReader tests
with Go's race detector. 
							
						 
						
							2013-03-29 11:00:50 +01:00  
				
					
						
							
							
								 
						
							
								a6da7f138c 
								
							 
						 
						
							
							
								
								Camelize some snake_case variable names  
							
							
							
						 
						
							2013-03-28 20:12:23 -04:00  
				
					
						
							
							
								 
						
							
								6576b19a28 
								
							 
						 
						
							
							
								
								Improve the debug function  
							
							
							
						 
						
							2013-03-25 01:29:01 -07:00  
				
					
						
							
							
								 
						
							
								6e507b9460 
								
							 
						 
						
							
							
								
								Add a Debugf() helper and a -D (debug) flag to docker  
							
							
							
						 
						
							2013-03-22 11:44:12 -07:00  
				
					
						
							
							
								 
						
							
								623e91e2e3 
								
							 
						 
						
							
							
								
								Moved Go() to the main package... And got rid of the useless docker/future package  
							
							
							
						 
						
							2013-03-21 01:13:55 -07:00  
				
					
						
							
							
								 
						
							
								d7c5d060c4 
								
							 
						 
						
							
							
								
								Moved Download() and progressReader{} to the main package  
							
							
							
						 
						
							2013-03-21 00:54:54 -07:00  
				
					
						
							
							
								 
						
							
								299d0b2720 
								
							 
						 
						
							
							
								
								Moved HumanDuration() to the main package  
							
							
							
						 
						
							2013-03-21 00:52:43 -07:00  
				
					
						
							
							
								 
						
							
								f437f5b8b4 
								
							 
						 
						
							
							
								
								'docker pull' and 'docker put' automatically detect tar compression (gzip, bzip2 or uncompressed). -j and -z flags are no longer required.  
							
							
							
						 
						
							2013-02-22 12:28:25 -08:00  
				
					
						
							
							
								 
						
							
								e6adfa2bc6 
								
							 
						 
						
							
							
								
								utils: Added SelfPath(), which figures out the current (absolute) path of the running binary  
							
							
							
						 
						
							2013-02-13 13:58:28 -08:00  
				
					
						
							
							
								 
						
							
								bcfe2aa2a7 
								
							 
						 
						
							
							
								
								'docker ps' prints shorter lines  
							
							
							
						 
						
							2013-01-29 03:18:07 -08:00  
				
					
						
							
							
								 
						
							
								333abbf85a 
								
							 
						 
						
							
							
								
								go fmt  
							
							
							
						 
						
							2013-01-28 14:30:05 -08:00  
				
					
						
							
							
								 
						
							
								3703536303 
								
							 
						 
						
							
							
								
								docker tar: stream the contents of a container as a tar archive  
							
							
							
						 
						
							2013-01-27 00:59:49 -08:00  
				
					
						
							
							
								 
						
							
								5d6dd22fb2 
								
							 
						 
						
							
							
								
								Plugged 4 more commands into the real backend: 'diff', 'reset', 'run', 'stop'. 'run' actually runs the process, but doesn't capture outptu properly, and encounters mount issues  
							
							
							
						 
						
							2013-01-26 15:56:42 -08:00  
				
					
						
							
							
								 
						
							
								a27b4b8cb8 
								
							 
						 
						
							
							
								
								Initial commit  
							
							
							
						 
						
							2013-01-18 16:13:39 -08:00