Commit Graph

151 Commits

Author SHA1 Message Date
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
47b5079cb2 'docker -i' can be used as an interpreter for scripts (#!/usr/bin/env docker -i)
Upstream-commit: 45c30b8eda828a65f509e774e93d54ec1af969a7
Component: engine
2013-02-12 22:24:15 -08:00
026bf169c9 Upload or download gzipped and bzipped images with put/pull -j/-b
Upstream-commit: 059837c92a6692feb5a6aad879e01e6380f82dca
Component: engine
2013-02-12 22:23:14 -08:00
e6faaa4b36 Clean up list of available commands
Upstream-commit: f20deac47f35520ace5ad1c1aadbd3f8c34ad571
Component: engine
2013-02-12 17:25:41 -08:00
2f7804f789 Make the web UI only accessible on localhost (recommended access is through ssh tunnel)
Upstream-commit: a6b7254a4e362fc6cc28088ba03f3d6cf497b9d5
Component: engine
2013-02-12 09:12:27 -08:00
4748d6a7b6 Fixed a bug which caused dockerd to crash when it received a call without arguments
Upstream-commit: 178e126a07d275105c5cf433bab165cdd8c66cff
Component: engine
2013-02-12 09:10:47 -08:00
7272cb93ab docker -i: interactive mode
Upstream-commit: d0b6f7ef3bebc4dac8f93b3782f58af2e1a94407
Component: engine
2013-02-12 08:48:30 -08:00
14c6c26526 Added comments to rcli
Upstream-commit: abb7b81b130ce9ddbb93a962b4ed84af6654e226
Component: engine
2013-02-12 08:42:15 -08:00
2d49a43787 Disabled remote access to dockerd. Preferred usage is over ssh.
Upstream-commit: f330c2a2488b6c26973f0b0fb8da5115588b7f72
Component: engine
2013-02-12 08:37:12 -08:00
2383f838a0 'docker kill': kill a running container without losing its filesystem and log state
Upstream-commit: bded592a15403e92feb06dcbbed41eb385cabb84
Component: engine
2013-02-11 11:39:28 -08:00
5a3a4033e0 Cosmetic: renamed the variable for sub-command argument parsing, to avoid confusion between 'flag' and 'flags'
Upstream-commit: 5926cfd0ec244f4d5013326ecfa2b9958ca9db88
Component: engine
2013-02-11 11:17:25 -08:00
6c9d4a2b4e Merge pull request #12 from niallo/master
Easy setup w/ Vagrant & Puppet
Upstream-commit: db6ba2b908ec5d25f381c14b30cc01816be45a7f
Component: engine
2013-02-08 19:22:09 -08:00
62200d164a "docker info": display system-wide information.
Upstream-commit: a608f5e3b8455f21dee94a1e358daed420b5e3b7
Component: engine
2013-02-04 23:37:25 -08:00
c8f28dfa5c Clearer error message in the client when DOCKER env variable is not set
Upstream-commit: edc996860496f63b8e4eb786890e8ba2bab7e875
Component: engine
2013-02-04 23:25:28 -08:00
72b568ab19 dropbox .tar.gz is now a gzip format file for real so change tar flag from j to z
Upstream-commit: 4355675d0c26b483f40295c0f335b528586adb96
Component: engine
2013-02-04 16:30:20 -08:00
979ce82007 spelling;
Upstream-commit: 581a1f0edb9f69cf4a614a2164a78ec3347f2ab5
Component: engine
2013-02-03 22:04:38 -08:00
1c4b96ee2f zap #
Upstream-commit: 738ed60407f52b97d43d8bff31c305f5684abcdc
Component: engine
2013-02-03 22:04:07 -08:00
7517727152 initial Vagrant & Puppet setup under Quantal64.
Upstream-commit: 814bb505ca5c713941d710566d85294962605317
Component: engine
2013-02-03 22:02:41 -08:00
4e4db8217c Added cool image to the README
Upstream-commit: 63ce08107e0b2c5a880e0aa0af99191fdb89c37c
Component: engine
2013-02-01 13:00:41 -08:00
dc0e5f02d3 Added 'Standard Container manifesto' to README
Upstream-commit: 0db56e6c519b19ec16c6fbd12e3cee7dfa6018c5
Component: engine
2013-02-01 12:57:02 -08:00
d5ca862c98 docker rmi: remove an image
Upstream-commit: de1c361a6eea95c867c43619fc1e7a7b8a147750
Component: engine
2013-02-01 00:08:45 -08:00
b0566e789f Fixed README formatting
Upstream-commit: 81459a5afc0a6b103c2076481451f56b5b94210e
Component: engine
2013-01-31 19:01:18 -08:00
2e395975c2 Added README file with setup instructions
Upstream-commit: cc3fece3f871a9bf51e9a802b98dfb2820db3c46
Component: engine
2013-01-31 18:58:05 -08:00
72e57e46d1 Fixed a bug with 'docker run'
Upstream-commit: bba4e368077cbc73db2a12c259c5fc2330dffe75
Component: engine
2013-01-29 16:51:03 -08:00
aa7ddfed10 Merge branch 'master' of github.com:dotcloud/docker
Upstream-commit: 5a3fe231a24cb75f9faf6b42434fa7ffd35a3f4e
Component: engine
2013-01-29 15:51:30 -08:00