Commit Graph

181 Commits

Author SHA1 Message Date
Caleb Spare 1c71d0a65e Implement several golint suggestions, including:
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
Upstream-commit: 19121c16d9514b391ce8f15aeff3c47c1ea5a841
Component: engine
2013-07-03 14:36:04 -07:00
Caleb Spare 8f5746f4d9 Mutex style change.
For structs protected by a single mutex, embed the mutex for more
concise usage.

Also use a sync.Mutex directly, rather than a pointer, to avoid the
need for initialization (because a Mutex's zero-value is valid and
ready to be used).
Upstream-commit: 1cf9c80e976fb60b4d5d489cd1c4c9959bcc4f7f
Component: engine
2013-07-02 15:53:08 -07:00
Michael Crosby 2e70c0f0f0 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.
Upstream-commit: b16ff9f8598d30823f687d100d351cad11823e77
Component: engine
2013-07-01 05:34:27 -09:00
Gabriel Monroy 5327febeeb - Fix a few bugs in external mount-bind integration
Upstream-commit: 67239957c9e863f16a6d147d88dd2fae00c3770f
Component: engine
2013-06-26 15:10:38 -07:00
Solomon Hykes 1c5ea40b1c * Runtime: better integration of external bind-mounts (run -b) into the volume subsystem (run -v)
Upstream-commit: d4e62101abca637b5bc057ec13e73d9ce65d6161
Component: engine
2013-06-26 15:08:07 -07:00
Gabriel Monroy a223caa9e6 + Runtime: mount volumes from a host directory with 'docker run -b'
Upstream-commit: 4fdf11b2e62bf7d785a958afd4fc5b8cfc32f621
Component: engine
2013-06-26 15:07:31 -07:00
Victor Vieux 965a3d343a Merge pull request #970 from titanous/go1.1-unreachable
Remove code unreachable using Go 1.1
Upstream-commit: 63e8a4ac7441ac4af5ca8fdf05f44e9a8a7fc623
Component: engine
2013-06-21 10:44:40 -07:00
unclejack f8fc85e9e7 mark command as optional for docker run
Upstream-commit: 66910a76027d3e37b6a96c0bd1106cfd5d27ba40
Component: engine
2013-06-21 11:06:41 +03:00
Jonathan Rudenberg 9cf4a66364 Remove code unreachable using Go 1.1
Upstream-commit: 50b70eeb6830040db73c8b2b389d881a3200de8d
Component: engine
2013-06-20 23:19:44 -04:00
Victor Vieux 730a1370b2 Merge branch 'master' into 22-add_sizes_images_and_containers-feature
Upstream-commit: ddf5a1940fdbe2efa7136e7f5f26c2adc1a59b3e
Component: engine
2013-06-14 10:05:06 +00:00
Victor Vieux d307a95564 Merge pull request #804 from dotcloud/no_stdout_stale-fix
*Runtime: Fix stale command when stdout is not allocated
Upstream-commit: 697282d6ada16b53c013515117038f8f391e87f7
Component: engine
2013-06-13 04:22:29 -07:00
Guillaume J. Charmes b9f9359558 Fix typo
Upstream-commit: 7169212683ba02e2da4c80792702c5210f1c16ea
Component: engine
2013-06-10 11:08:40 -07:00
Victor Vieux fafb25034a bump to master again
Upstream-commit: bf63cb904592e1ca73aa3990c08ea0b752fec14d
Component: engine
2013-06-05 16:01:36 +00:00
Guillaume J. Charmes 8f6d6bc6c7 Fix nil pointer on some situatuion
Upstream-commit: 63e80384ea753c74046c2a4c3f64229c359f466f
Component: engine
2013-06-04 14:35:32 -07:00
Guillaume J. Charmes 82ddfc6a07 Put back panic for go1.0.3 compatibility
Upstream-commit: 7ef9833dbb299ebf796092a6921127ea77d38337
Component: engine
2013-06-04 14:26:40 -07:00
Victor Vieux 4747c5b99f linted names
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
Victor Vieux 9c0086fb7d drop/omit
Upstream-commit: 86ada2fa5d00820288df8a59eca3deef83f4aeb6
Component: engine
2013-06-04 13:51:12 +00:00
Victor Vieux 51d3c4635e go vet
Upstream-commit: b515a5a9ec5792c67be5fe8476df96903f43df71
Component: engine
2013-06-04 13:24:58 +00:00
Guillaume J. Charmes 6f2fd272da Fix stale command with stdout is not allocated
Upstream-commit: 0ca88443985e7a944106ed4ceaf877a97f1ca2ec
Component: engine
2013-06-03 17:39:29 -07:00
Victor Vieux a42c91a1f7 bump to master
Upstream-commit: 3afdd82e426c70c919d902eec5ec50d488c837fa
Component: engine
2013-05-30 23:38:40 +00:00
Guillaume J. Charmes c479ea1a4b Finish resize implementation client and server
Upstream-commit: 88ef309a940bcbb6f85a750372b8fdbc6569c3a7
Component: engine
2013-05-24 14:44:16 -07:00
Guillaume J. Charmes 767f8e7e9d Add resize endpoint to api
Upstream-commit: 70d2123efda0e92760b96b03ce27cb4f1fb61cb3
Component: engine
2013-05-23 19:33:28 -07:00
Victor Vieux 8c3121bf04 bump to master
Upstream-commit: 6fce89e60b71ee2306d66003697b6c746c456250
Component: engine
2013-05-22 13:41:29 +00:00
Guillaume J. Charmes bc6fad489c Create a subpackage for utils
Upstream-commit: 2e69e1727b4d5698a90c24c5800eecd5401dc319
Component: engine
2013-05-14 22:37:35 +00:00
Victor Vieux e0c6a8e8bb add sizes in images and containers
Upstream-commit: a91b710961b74341543a81b9d16f66d65b1907f1
Component: engine
2013-05-13 15:14:20 +02:00
Jérôme Petazzoni 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
Jérôme Petazzoni 8ac133e820 if -c is not specified, do not set cpu.shares (instead of using the default value of 1024)
Upstream-commit: e36752e03347bf46177d8ee810cdd5a019321dc9
Component: engine
2013-05-07 11:43:45 -07:00
Jérôme Petazzoni 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
Victor Vieux 44910e43b1 update to master
Upstream-commit: 10c0e990371e065d4fc1c9b680f03a46e5bacc5e
Component: engine
2013-05-07 19:23:50 +02:00
Guillaume J. Charmes 5993a0f74b Make sure the destination directory exists when using docker insert
Upstream-commit: 9db4972a70c2fb0921f984d67f816b81ea687a11
Component: engine
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes e91e3c75d3 Add insert command in order to insert external files within an image
Upstream-commit: 97514831128a7bc7bc6a2f740275bf6336ede999
Component: engine
2013-05-06 16:00:30 -07:00
Victor Vieux b659f35e7b bump to 0.2.2
Upstream-commit: 6f9b574f25e8fca5e4a28a35b71e4755a424bed8
Component: engine
2013-05-06 11:53:00 +02:00
Guillaume J. Charmes f515a96fa4 Merge remote-tracking branch 'origin/registry-update'
+ Registry: Add the new registry support
Upstream-commit: da01dd3d56a86f9a1256d3f80c0a4cac5d14bedb
Component: engine
2013-05-05 07:13:25 -07:00
shin- 915420b8dd Fixed checksum computing. Ensure checksum is computed when image metadata is loaded from disk. Fixed docker push workflow. Moved hash computing to utils
Upstream-commit: be7560890644759c0ddd229afed208c537f075d7
Component: engine
2013-05-06 10:56:10 -07:00
shin- 6164f7758f Prepend hash method to the image checksum
Upstream-commit: ea3374bcb0b7a78ccbaeb9cd927fbaf259a5cf29
Component: engine
2013-05-06 10:54:55 -07:00
shin- d652d6f892 Fixed checksum representation
Upstream-commit: 630d358384194489e834d86cb4ae2f6dcc6a0ee5
Component: engine
2013-05-06 10:54:50 -07:00
shin- 5a3c9e63e6 Implemented checksum computation on image creation (necessary for new push primitive)
Upstream-commit: 048fd671ef107aa14f02e6fe2db4a4100c23d37f
Component: engine
2013-05-06 10:52:42 -07:00
Victor Vieux 2c79fdbc57 up to date with master
Upstream-commit: 4f0bda2dd5cfe382f7fd9cfb9f5522f42377673b
Component: engine
2013-05-02 18:36:23 +02:00
Guillaume J. Charmes cc5f724fb6 Fix the graph.Create prototype
Upstream-commit: 897cc573f051f1d88be0fde05946e66d0c86c43e
Component: engine
2013-05-02 09:23:29 -07:00
Guillaume J. Charmes 2217f9531a Comply to the new graph.Create() prototype
Upstream-commit: b0459adc271b20cde11da6a74cc5a71bab23f2ac
Component: engine
2013-05-02 09:14:23 -07:00
Guillaume J. Charmes 4f88abdf1f Implement the data volume removal
Upstream-commit: 3edd14b8c2eb13f45834f5d9306a579b256f9348
Component: engine
2013-05-02 09:14:23 -07:00
Guillaume J. Charmes 50127083eb Implement the -volumes-from in order to mount volumes from an other container
Upstream-commit: 4099a31304863edf5b4d1b594b41c7ce1a33c5e1
Component: engine
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes f39494f601 Move the id of volumes to Container (instead of Container.Config)
Upstream-commit: 6fb495bf6ff545753518e9b9ed39c2676230c277
Component: engine
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes 1e08918b54 Switch back config to map[string]struct{}
Upstream-commit: faf8daa7c68f2511dedfad15e1fd05f9eff077a2
Component: engine
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes 307cd72164 Handle data volumes mount points
Upstream-commit: 8d9aaee60bf03397e51e8c84232a73fcb3baf36c
Component: engine
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes 4d826b11e2 Change the volumes type to map[string]string to store both source and destination
Upstream-commit: 35d704c8a006263d1539994f02c7bfbe97202528
Component: engine
2013-05-02 09:14:22 -07:00
Solomon Hykes be84d975bd docker run -v PATH: bind a new data volume to a container
Upstream-commit: 1df5f4094bf31edba6f2a2f07bfdada54340c1e4
Component: engine
2013-05-02 09:14:22 -07:00
Victor Vieux efa5049675 added run (wip), fixed ps and images, added port and tag
Upstream-commit: cf19be44a8eb9b790ba3bef29f851dc65cb61c3c
Component: engine
2013-04-23 18:20:53 +02:00
Guillaume J. Charmes af6dece8d5 Allow to kill/stop ghosts
Upstream-commit: f926ed182f908aba20980202becfcdbe2d1e9c34
Component: engine
2013-04-22 17:53:32 -07:00
Guillaume J. Charmes ffa41c520d Allow to kill container after docker server restarts
Upstream-commit: d440782e17d384d52c813f93cd53d2d8a15fd13a
Component: engine
2013-04-22 17:52:38 -07:00