Commit Graph

175 Commits

Author SHA1 Message Date
58a8b7bd53 Update puppet/modules/docker/manifests/init.pp
Add required bsdtar dependency
Upstream-commit: ed85cb6508854f6d12d43e8a88a8c728bc633c3c
Component: engine
2013-02-26 18:17:51 -08:00
b9049f5277 Changed .gitignore to not match docker/*.go
Upstream-commit: 278aa5f045ad6dd8718933b4736c29567a17717a
Component: engine
2013-02-26 17:29:11 -08:00
ee05cc5bbc If curl is installed, 'docker pull' will use it to download images with a pretty progress bar. Otherwise it will fallback to regular http.Get()
Upstream-commit: 003ec21d360b08d50b61834795692542fff295e2
Component: engine
2013-02-26 17:28:24 -08:00
d2bed9b75c go fmt
Upstream-commit: aa12da6f5076738955b30470639d439a0cbe40f9
Component: engine
2013-02-26 17:26:46 -08:00
9ff14257ee Updated pybuilder example to use 'docker wait'
Upstream-commit: 4004e86fa9ca87332c8f5fa0acbe29af86e06908
Component: engine
2013-02-26 14:47:20 -08:00
3caf4d4dd5 docker wait: block until a container exits, and print its exit code
Upstream-commit: ebaa50c4c96a1ba69e480fab5612b5d6a97da145
Component: engine
2013-02-26 11:43:54 -08:00
c9db276294 New example: pybuilder
Upstream-commit: 8fa07c0e060a25141204533a2a3823d1cb0fdf63
Component: engine
2013-02-26 10:03:06 -08:00
471e62f72d Added tests for checksum computation in layer store
Upstream-commit: 6d1054619d6d254ea3df0484cacb3c6778d58cd9
Component: engine
2013-02-26 09:46:29 -08:00
bf25f46c0f Updated dependencies in install.sh
Upstream-commit: edf2e20e284a6a3bb28e178745d2069d63261235
Component: engine
2013-02-25 12:27:51 -08:00
f0b398797f Moved Jeff's install script to the repo
Upstream-commit: 2c7a2cbaf4f3b47786eee3726de61b67182a8d44
Component: engine
2013-02-25 12:27:29 -08:00
1b8770e955 ignore .vagrant
Upstream-commit: ac15003c05a844aa08e591ff7675ff6a406f188b
Component: engine
2013-02-23 13:59:06 -07:00
0b5203d2cd 'docker pull' and 'docker put' automatically detect tar compression (gzip, bzip2 or uncompressed). -j and -z flags are no longer required.
Upstream-commit: f437f5b8b4a706d56f9a7cfba1dbc6b21e9a33f3
Component: engine
2013-02-22 12:28:25 -08:00
4979c2522b Updated install instructions and requirements
Upstream-commit: dd96b6fccbe539f78c6957bacbbfaa3f048fdea1
Component: engine
2013-02-21 16:33:58 -08:00
27db035d5d Interactive mode preserves existing PATH, to facilitate scripting
Upstream-commit: db4c75f3c1cdbc654595bb3dda5455a93c1b56b4
Component: engine
2013-02-20 14:45:43 -08:00
bd1dc2a768 white space
Upstream-commit: e8d48641de6c5e866dc18708e2e260b7578c1d50
Component: engine
2013-02-20 12:23:47 +00:00
c032cffa1c make sure the standard "replace input carriage returns with line feeds" and "replace output line feeds with carriage return and line feed" flags are set, even on raw (I dont think it should actually be raw)
Upstream-commit: 3a59336f82e73150059c93398f283b8e15fdb4e9
Component: engine
2013-02-20 12:19:22 +00:00
3f76aea160 Merge pull request #15 from brianm/ignore-produced-binaries
ignore produced binaries
Upstream-commit: 302567df1da9bc9352d7518bac30c1c9525d8ff4
Component: engine
2013-02-19 22:58:24 -08:00
4d6e95fe39 add reference to https://github.com/kr/pty in NOTICE
Upstream-commit: f0183fa0690caf804301b8acbd0ac527a33d1cbd
Component: engine
2013-02-19 20:55:26 -07:00
cb554356a9 ignore produced binaries
Upstream-commit: 7e5dfc51ade66d75c1429a05334b500d1cb8db20
Component: engine
2013-02-19 20:49:06 -07:00
9f0b4cff0d docker/server: no more dependency on log
Upstream-commit: 004272e6f54c16e16f71ceddff44ae4d423da7c0
Component: engine
2013-02-19 13:07:25 -08:00
e46ebc5e55 dockerd: removed debug messages
Upstream-commit: dd9bb4e0d388788781af0c36dfca0d3792f07d6c
Component: engine
2013-02-19 13:04:19 -08:00
331c7cd0d3 dockerd: create /var/lib/docker if it doesn't exist
Upstream-commit: 5e2f0639c64dc8a7ee5da81e0801bc4a17787407
Component: engine
2013-02-19 13:03:58 -08:00
84de8756d6 Docker is now licensed under the Apache 2.0 license
Upstream-commit: a7e9582a53663453d0885b1a0217941ad1fe595f
Component: engine
2013-02-18 09:56:20 -08:00
bf8488f9ea vagrant: Changed the test image path
Upstream-commit: c696eb8d125528207522d1bbd06082aae9a8d494
Component: engine
2013-02-15 12:19:50 -08:00
81fe2865f4 When the unit testing is not there, issue an error and offer a solution instead of automagically downloading the image
Upstream-commit: 994ec4c8c399538102d47850fc50c7a481d49595
Component: engine
2013-02-15 12:18:36 -08:00
c795ddcc76 run as user tests: Check the exit codes
Upstream-commit: ac36c986e008e8e4e4f56fe510ba7ab0dab0c778
Component: engine
2013-02-15 12:17:58 -08:00
e63a26936b Merge branch 'master' of github.com:dotcloud/docker
Upstream-commit: 9155d1dd6d452755e07330a04fb3bc7c7af6671d
Component: engine
2013-02-15 10:55:55 -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
92f2fe8ab7 'docker start' and 'docker restart': start or restart a container
Upstream-commit: d2885910bda77538eb31b86b10a3dd85ee2abadf
Component: engine
2013-02-14 13:49:05 -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
e710d4bb19 Generate LXC config upon start rather than at container creation
Upstream-commit: 1793538a68c8fc2c7c85848d375f12f94c9012e5
Component: engine
2013-02-13 18:14:46 -08:00
d580173852 Server: Restored -u option (from merge)
Upstream-commit: e871eadab16563b4e64ef229c5aeb3cff5b37026
Component: engine
2013-02-13 17:41:50 -08:00
01e4adc046 go fmt
Upstream-commit: 51c11868b0374d2551023ed38a2e929e2ae2717a
Component: engine
2013-02-13 17:40:57 -08:00
cc26343144 Restored dockerd from merge
Upstream-commit: 24ee1524815140b2299a1d98d4690d903a4abeb7
Component: engine
2013-02-13 17:40:10 -08:00
379acaad60 go fmt
Upstream-commit: 2f84bab8797329955e42c3089388c540d8009f04
Component: engine
2013-02-13 17:28:13 -08:00
eacfe8775a merge
Upstream-commit: cb6014d6fdfc0770523ea05ee257f00c3758874a
Component: engine
2013-02-13 17:26:25 -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
e924ec5591 Moved server and client logic into sub-packages docker/server and docker/client, respectively. The UI is not affected.
Upstream-commit: e1b25e9b084a2375640b811a27b75b89d57666d9
Component: engine
2013-02-13 17:10:00 -08:00
f86f39ff84 .gitignore
Upstream-commit: ffc8d1e7b97bd9fce380f310e18dcd1402c7c9ac
Component: engine
2013-02-13 16:38:50 -08:00
3b7709c154 More README tweaking
Upstream-commit: 23e55d27555c07584fcd737d3f9a7fbb8c71eabf
Component: engine
2013-02-13 15:10:39 -08:00
25a4efb6b5 Fine-tuning the README
Upstream-commit: 0ea4f3cc765077559cd42f38dc24e71dfb330c29
Component: engine
2013-02-13 15:07:15 -08:00
04bbab3ac2 Merge
Upstream-commit: 2d5a1abf79e219547ef9caf502fdb6b86f93046c
Component: engine
2013-02-13 14:59:24 -08:00
52ebb03e0b Beefed up the README with down-to-earth material. Features, use cases, under the hood.
Upstream-commit: 5e2cec7b4de5b797e3af3a981a4c40c92c1aeb09
Component: engine
2013-02-13 14:58:32 -08:00
3f005f3a30 merge
Upstream-commit: ec21a2d364573fd65086e607d23178e7d6091a9b
Component: engine
2013-02-13 14:19:35 -08:00
22a81ca759 Implemented a self-injecting process wrapper that runs inside the container
- Before starting the container, docker injects itself inside the container by mount binding the dockerd binary into /sbin/init
- Instead of running the user process directly inside the container, we run /sbin/init targetprocess [args...]
- When docker is run as /sbin/init (e.g. argv[0] == "/sbin/init"), then its own sys init code kicks in
- The sys init code will be responsible for setting up the process environment prior to its execution (setuid, networking, ...).
- Finally, docker's sys init will exec() the container's process, thus replacing itself with the target binary (which will be running as pid 1)
Upstream-commit: 58a22942602f9035a1ed44c65ae2c501420600a3
Component: engine
2013-02-13 14:01:44 -08:00
bef500257a go fmt
Upstream-commit: 0d4600626919ec072289c003051f6323db3ffb5f
Component: engine
2013-02-13 14:00:36 -08:00
6d5ac81c48 utils: Added SelfPath(), which figures out the current (absolute) path of the running binary
Upstream-commit: e6adfa2bc68db8f1f1ccd9facea6fa8f8bed4a33
Component: engine
2013-02-13 13:58:28 -08:00
f69baca3fc LXC template: Cleanup using text/template variables
Upstream-commit: 2416edd4002f9c142c19126b93f89e45aabf8d63
Component: engine
2013-02-13 13:56:19 -08:00
8bfbfa7310 'docker pull' will download images from a public mirror by default
Upstream-commit: 3cfac8f335df1902ecdc58d78041ec632b8701fb
Component: engine
2013-02-12 22:24:55 -08:00