471e62f72d
Added tests for checksum computation in layer store Upstream-commit: 6d1054619d6d254ea3df0484cacb3c6778d58cd9 Component: engine
Solomon Hykes
2013-02-26 09:46:29 -08:00
6bc8a20d54
Integrated the network allocator into Docker. A networking environment is assigned to each container upon Start and released whenever the container exits. Upstream-commit: c08f5b2b8460f13f2094bae2a496bf308f7645bb Component: engine
Andrea Luzzardi
2013-02-25 14:06:22 -08:00
98683195b2
Network: Do not assume that we are using a class C. Instead, compute the IP addresses range and network size in order to allocate an IP address. Upstream-commit: e0e49b9a2259d779b31055339e67b054c8dffc3b Component: engine
Andrea Luzzardi
2013-02-21 18:33:23 -08:00
a99e747427
Network: Simple random IP allocation on the bridge network. Upstream-commit: 6124c5eb31ab8f9db4db288002388554d6181c86 Component: engine
Andrea Luzzardi
2013-02-20 19:18:01 -08:00
8326daf37d
Network: Automatically figure out the gateway and netmask by inspecting the lxc bridge interface Upstream-commit: 5039d4a2804561885e32f2a93cb2a51cbaa8e847 Component: engine
Andrea Luzzardi
2013-02-20 18:20:18 -08:00
d2dc806098
Basic networking support with hardcoded addresses. Work in progress. Upstream-commit: 5cecd548cd48cec8967f7ad0b0b42b30fa3ec7a0 Component: engine
Andrea Luzzardi
2013-02-20 17:47:09 -08:00
c17cf0dd79
sysinit: Support for the -g (gateway) flag used in networking setup Upstream-commit: b9b66d0e1b70cd0475d6fbba33eba5632f852dde Component: engine
Andrea Luzzardi
2013-02-20 17:45:46 -08:00
52fa34605c
white space
Jeff Lindsay
2013-02-20 12:23:47 +00:00
2d5e2c98cb
white space Upstream-commit: 52fa34605c Component: cli
Jeff Lindsay
2013-02-20 12:23:47 +00:00
bd1dc2a768
white space Upstream-commit: e8d48641de6c5e866dc18708e2e260b7578c1d50 Component: engine
Jeff Lindsay
2013-02-20 12:23:47 +00:00
4e24b235c3
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)
Jeff Lindsay
2013-02-20 12:19:22 +00:00
477023814c
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: 4e24b235c3 Component: cli
Jeff Lindsay
2013-02-20 12:19:22 +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
Jeff Lindsay
2013-02-20 12:19:22 +00:00
331c7cd0d3
dockerd: create /var/lib/docker if it doesn't exist Upstream-commit: 5e2f0639c64dc8a7ee5da81e0801bc4a17787407 Component: engine
Solomon Hykes
2013-02-19 13:03:58 -08:00
895d0e934a
Better error context when failing to create a new image. Added basic tag support + unit tests Upstream-commit: 8002af43fb54254ef786e4478ada7824e726baf7 Component: engine
shin-
2013-02-18 21:10:19 -08:00
8fc3a40e35
FakeTar: /var/log/postgres can't be both a folder and a file Upstream-commit: 48974cc28d72598f0a35a4a6483b7006a1c18f9f Component: engine
shin-
2013-02-18 21:09:25 -08:00
148e6f7d2a
Merge branch 'fs' of github.com:dotcloud/docker into fs Upstream-commit: f3e06a784f01a6c2fc5917ee5ec8a20a2b1c59c6 Component: engine
shin-
2013-02-18 16:37:58 -08:00
7adde75277
docker/fs: initial support for filesystem layers (adapted from image/layers.go) Upstream-commit: 6372a1a0d0b6506f25db7ba3dbba1e65fd6deb2d Component: engine
Solomon Hykes
2013-02-18 15:25:43 -08:00
84de8756d6
Docker is now licensed under the Apache 2.0 license Upstream-commit: a7e9582a53663453d0885b1a0217941ad1fe595f Component: engine
Solomon Hykes
2013-02-18 09:56:20 -08:00
00d8a73097
Getting started with mountpoints Upstream-commit: 1531848ca6ead7c46497a625feba1224825e9011 Component: engine
Solomon Hykes
2013-02-15 21:51:36 -08:00
96bd523083
fs.store.Get(): use gorp.Get() instead of gorp.Select() Upstream-commit: 07b6bc3fc738ab3a27e9760b0efc57c78d7f98af Component: engine
Solomon Hykes
2013-02-15 21:48:04 -08:00
56517a2572
docker/fs: a robust filesytem store Upstream-commit: 902d660d2ff48727386718440162ed2a8399eaf0 Component: engine
Solomon Hykes
2013-02-15 18:46:46 -08:00
bf8488f9ea
vagrant: Changed the test image path Upstream-commit: c696eb8d125528207522d1bbd06082aae9a8d494 Component: engine
Andrea Luzzardi
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
Andrea Luzzardi
2013-02-15 12:18:36 -08:00
c795ddcc76
run as user tests: Check the exit codes Upstream-commit: ac36c986e008e8e4e4f56fe510ba7ab0dab0c778 Component: engine
Andrea Luzzardi
2013-02-15 12:17:58 -08:00
e63a26936b
Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 9155d1dd6d452755e07330a04fb3bc7c7af6671d Component: engine
Andrea Luzzardi
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
Andrea Luzzardi
2013-02-14 15:37:45 -08:00
29aab0e4bf
'docker start' and 'docker restart': start or restart a container
Solomon Hykes
2013-02-14 13:49:05 -08:00
066591d505
'docker start' and 'docker restart': start or restart a container Upstream-commit: 29aab0e4bf Component: cli
Solomon Hykes
2013-02-14 13:49:05 -08:00
92f2fe8ab7
'docker start' and 'docker restart': start or restart a container Upstream-commit: d2885910bda77538eb31b86b10a3dd85ee2abadf Component: engine
Solomon Hykes
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
Andrea Luzzardi
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
Andrea Luzzardi
2013-02-13 18:17:42 -08:00
e710d4bb19
Generate LXC config upon start rather than at container creation Upstream-commit: 1793538a68c8fc2c7c85848d375f12f94c9012e5 Component: engine
Andrea Luzzardi
2013-02-13 18:14:46 -08:00
aaedaa2b20
Implemented support to run as a different user (through the -u flag) Upstream-commit: 6de3e8a22dfa736f88c0477392474d73f7bed3c5 Component: engine
Andrea Luzzardi
2013-02-13 17:24:35 -08:00
f5594142a8
Moved server and client logic into sub-packages docker/server and docker/client, respectively. The UI is not affected.
Solomon Hykes
2013-02-13 17:10:00 -08:00
cb4e2fcf43
Moved server and client logic into sub-packages docker/server and docker/client, respectively. The UI is not affected. Upstream-commit: f5594142a8 Component: cli
Solomon Hykes
2013-02-13 17:10:00 -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
Solomon Hykes
2013-02-13 17:10:00 -08:00
52ebb03e0b
Beefed up the README with down-to-earth material. Features, use cases, under the hood. Upstream-commit: 5e2cec7b4de5b797e3af3a981a4c40c92c1aeb09 Component: engine
Solomon Hykes
2013-02-13 14:58:32 -08:00
22a81ca759
Implemented a self-injecting process wrapper that runs inside the container
Andrea Luzzardi
2013-02-13 14:01:44 -08:00
bef500257a
go fmt Upstream-commit: 0d4600626919ec072289c003051f6323db3ffb5f Component: engine
Andrea Luzzardi
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
Andrea Luzzardi
2013-02-13 13:58:28 -08:00
f69baca3fc
LXC template: Cleanup using text/template variables Upstream-commit: 2416edd4002f9c142c19126b93f89e45aabf8d63 Component: engine
Andrea Luzzardi
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
Solomon Hykes
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
Solomon Hykes
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
Solomon Hykes
2013-02-12 22:23:14 -08:00
e6faaa4b36
Clean up list of available commands Upstream-commit: f20deac47f35520ace5ad1c1aadbd3f8c34ad571 Component: engine
Solomon Hykes
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
Solomon Hykes
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
Solomon Hykes
2013-02-12 09:10:47 -08:00
2d49a43787
Disabled remote access to dockerd. Preferred usage is over ssh. Upstream-commit: f330c2a2488b6c26973f0b0fb8da5115588b7f72 Component: engine
Solomon Hykes
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
Solomon Hykes
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
Solomon Hykes
2013-02-11 11:17:25 -08:00
c8f28dfa5c
Clearer error message in the client when DOCKER env variable is not set Upstream-commit: edc996860496f63b8e4eb786890e8ba2bab7e875 Component: engine
Solomon Hykes
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
Niall O'Higgins
2013-02-04 16:30:20 -08:00
72e57e46d1
Fixed a bug with 'docker run' Upstream-commit: bba4e368077cbc73db2a12c259c5fc2330dffe75 Component: engine
Solomon Hykes
2013-01-29 16:51:03 -08:00
aa7ddfed10
Merge branch 'master' of github.com:dotcloud/docker Upstream-commit: 5a3fe231a24cb75f9faf6b42434fa7ffd35a3f4e Component: engine
Andrea Luzzardi
2013-01-29 15:51:30 -08:00
2afd5c1951
Container: Improved pseudo-terminal support Upstream-commit: caea45dd72835926a615ecb36a256172c19f2a36 Component: engine
Andrea Luzzardi
2013-01-29 15:17:20 -08:00
2549d8dd89
'docker run' with no argument runs a shell in the base image Upstream-commit: 29410f43a0e576f3c7fe27456af2888cb8f9bc5f Component: engine
Solomon Hykes
2013-01-29 15:51:04 -08:00