Commit graph

46192 commits

Author SHA1 Message Date
Andrea Luzzardi
51c11868b0 go fmt 2013-02-13 17:40:57 -08:00
Andrea Luzzardi
24ee152481 Restored dockerd from merge 2013-02-13 17:40:10 -08:00
Andrea Luzzardi
2f84bab879 go fmt 2013-02-13 17:28:13 -08:00
Andrea Luzzardi
cb6014d6fd merge 2013-02-13 17:26:25 -08:00
Andrea Luzzardi
6de3e8a22d Implemented support to run as a different user (through the -u flag) 2013-02-13 17:24:35 -08:00
Solomon Hykes
e1b25e9b08 Moved server and client logic into sub-packages docker/server and docker/client, respectively. The UI is not affected. 2013-02-13 17:10:00 -08:00
Solomon Hykes
ffc8d1e7b9 .gitignore 2013-02-13 16:38:50 -08:00
Solomon Hykes
23e55d2755 More README tweaking 2013-02-13 15:10:39 -08:00
Solomon Hykes
0ea4f3cc76 Fine-tuning the README 2013-02-13 15:07:15 -08:00
Solomon Hykes
2d5a1abf79 Merge 2013-02-13 14:59:24 -08:00
Solomon Hykes
5e2cec7b4d Beefed up the README with down-to-earth material. Features, use cases, under the hood. 2013-02-13 14:58:32 -08:00
Andrea Luzzardi
ec21a2d364 merge 2013-02-13 14:19:35 -08:00
Andrea Luzzardi
58a2294260 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)
2013-02-13 14:01:44 -08:00
Andrea Luzzardi
0d46006269 go fmt 2013-02-13 14:00:36 -08:00
Andrea Luzzardi
e6adfa2bc6 utils: Added SelfPath(), which figures out the current (absolute) path of the running binary 2013-02-13 13:58:28 -08:00
Andrea Luzzardi
2416edd400 LXC template: Cleanup using text/template variables 2013-02-13 13:56:19 -08:00
Solomon Hykes
3cfac8f335 'docker pull' will download images from a public mirror by default 2013-02-12 22:24:55 -08:00
Solomon Hykes
45c30b8eda 'docker -i' can be used as an interpreter for scripts (#!/usr/bin/env docker -i) 2013-02-12 22:24:15 -08:00
Solomon Hykes
059837c92a Upload or download gzipped and bzipped images with put/pull -j/-b 2013-02-12 22:23:14 -08:00
Solomon Hykes
f20deac47f Clean up list of available commands 2013-02-12 17:25:41 -08:00
Solomon Hykes
a6b7254a4e Make the web UI only accessible on localhost (recommended access is through ssh tunnel) 2013-02-12 09:12:27 -08:00
Solomon Hykes
178e126a07 Fixed a bug which caused dockerd to crash when it received a call without arguments 2013-02-12 09:10:47 -08:00
Solomon Hykes
d0b6f7ef3b docker -i: interactive mode 2013-02-12 08:48:30 -08:00
Solomon Hykes
abb7b81b13 Added comments to rcli 2013-02-12 08:42:15 -08:00
Solomon Hykes
f330c2a248 Disabled remote access to dockerd. Preferred usage is over ssh. 2013-02-12 08:37:12 -08:00
Solomon Hykes
bded592a15 'docker kill': kill a running container without losing its filesystem and log state 2013-02-11 11:39:28 -08:00
Solomon Hykes
5926cfd0ec Cosmetic: renamed the variable for sub-command argument parsing, to avoid confusion between 'flag' and 'flags' 2013-02-11 11:17:25 -08:00
Solomon Hykes
db6ba2b908 Merge pull request #12 from niallo/master
Easy setup w/ Vagrant & Puppet
2013-02-08 19:22:09 -08:00
Solomon Hykes
a608f5e3b8 "docker info": display system-wide information. 2013-02-04 23:37:25 -08:00
Solomon Hykes
edc9968604 Clearer error message in the client when DOCKER env variable is not set 2013-02-04 23:25:28 -08:00
Niall O'Higgins
4355675d0c dropbox .tar.gz is now a gzip format file for real so change tar flag from j to z 2013-02-04 16:30:20 -08:00
Niall O'Higgins
581a1f0edb spelling; 2013-02-03 22:04:38 -08:00
Niall O'Higgins
738ed60407 zap # 2013-02-03 22:04:07 -08:00
Niall O'Higgins
814bb505ca initial Vagrant & Puppet setup under Quantal64. 2013-02-03 22:02:41 -08:00
Solomon Hykes
63ce08107e Added cool image to the README 2013-02-01 13:00:41 -08:00
Solomon Hykes
0db56e6c51 Added 'Standard Container manifesto' to README 2013-02-01 12:57:02 -08:00
Solomon Hykes
de1c361a6e docker rmi: remove an image 2013-02-01 00:08:45 -08:00
Joffrey F
81459a5afc Fixed README formatting 2013-01-31 19:01:18 -08:00
shin-
cc3fece3f8 Added README file with setup instructions 2013-01-31 18:58:05 -08:00
Solomon Hykes
bba4e36807 Fixed a bug with 'docker run' 2013-01-29 16:51:03 -08:00
Andrea Luzzardi
5a3fe231a2 Merge branch 'master' of github.com:dotcloud/docker 2013-01-29 15:51:30 -08:00
Andrea Luzzardi
caea45dd72 Container: Improved pseudo-terminal support 2013-01-29 15:51:21 -08:00
Solomon Hykes
29410f43a0 'docker run' with no argument runs a shell in the base image 2013-01-29 15:51:04 -08:00
Solomon Hykes
d5be77075a Fix a bug which caused the client to never exit in interactive mode when NORAW is set. 2013-01-29 15:37:54 -08:00
Solomon Hykes
35f5cc239b Fix web UI to work on remote URLs 2013-01-29 15:30:32 -08:00
Solomon Hykes
0d9db39539 Merge branch 'master' of ssh://github.com/dotcloud/docker 2013-01-29 15:24:51 -08:00
Solomon Hykes
8c142c6127 export NORAW=1 to disable raw mode in the client 2013-01-29 15:24:39 -08:00
Andrea Luzzardi
ca40989e45 Created tests for stdin pipes and tty handling 2013-01-29 15:16:45 -08:00
Andrea Luzzardi
94b1cf4be3 go fmt 2013-01-29 13:50:27 -08:00
Solomon Hykes
f8f9285cca Fix bug introduced in c7a944caf2 which caused 'docker images' to crash 2013-01-29 12:15:39 -08:00