Граф коммитов

5617 Коммитов

Автор SHA1 Сообщение Дата
Solomon Hykes a30e9f51a4 Merge pull request #16 from brianm/master
Add notice about kr/pty in NOTICE
2013-02-19 22:58:01 -08:00
Brian McCallister f0183fa069 add reference to https://github.com/kr/pty in NOTICE 2013-02-19 20:55:26 -07:00
Brian McCallister 7e5dfc51ad ignore produced binaries 2013-02-19 20:49:06 -07:00
Solomon Hykes 004272e6f5 docker/server: no more dependency on log 2013-02-19 13:07:25 -08:00
Solomon Hykes dd9bb4e0d3 dockerd: removed debug messages 2013-02-19 13:04:19 -08:00
Solomon Hykes 5e2f0639c6 dockerd: create /var/lib/docker if it doesn't exist 2013-02-19 13:03:58 -08:00
shin- 8002af43fb Better error context when failing to create a new image. Added basic tag support + unit tests 2013-02-18 21:10:19 -08:00
shin- 48974cc28d FakeTar: /var/log/postgres can't be both a folder and a file 2013-02-18 21:09:25 -08:00
shin- f3e06a784f Merge branch 'fs' of github.com:dotcloud/docker into fs 2013-02-18 16:37:58 -08:00
Solomon Hykes 6372a1a0d0 docker/fs: initial support for filesystem layers (adapted from image/layers.go) 2013-02-18 15:25:43 -08:00
Solomon Hykes a7e9582a53 Docker is now licensed under the Apache 2.0 license 2013-02-18 09:56:20 -08:00
Solomon Hykes 1531848ca6 Getting started with mountpoints 2013-02-15 21:51:36 -08:00
Solomon Hykes aab32e1012 Fix store.Register() 2013-02-15 21:50:59 -08:00
Solomon Hykes 07b6bc3fc7 fs.store.Get(): use gorp.Get() instead of gorp.Select() 2013-02-15 21:48:04 -08:00
Solomon Hykes 902d660d2f docker/fs: a robust filesytem store 2013-02-15 18:46:46 -08:00
Andrea Luzzardi c696eb8d12 vagrant: Changed the test image path 2013-02-15 12:19:50 -08:00
Andrea Luzzardi 994ec4c8c3 When the unit testing is not there, issue an error and offer a solution instead of automagically downloading the image 2013-02-15 12:18:36 -08:00
Andrea Luzzardi ac36c986e0 run as user tests: Check the exit codes 2013-02-15 12:17:58 -08:00
Andrea Luzzardi 9155d1dd6d Merge branch 'master' of github.com:dotcloud/docker 2013-02-15 10:55:55 -08:00
Andrea Luzzardi dd84ba3485 Autonomous testing: Don't depend on /var/lib/docker/images/ubuntu being
there. Instead, automatically downlaod the test image if not present.
2013-02-14 15:37:45 -08:00
Solomon Hykes d2885910bd 'docker start' and 'docker restart': start or restart a container 2013-02-14 13:49:05 -08:00
Andrea Luzzardi 0da9ccc18e Fixed a bug preventing proper reattachment to stdin upon container restart 2013-02-13 19:05:57 -08:00
Andrea Luzzardi f2c2d953a8 Added a restart test to ensure a container can be successfully run twice 2013-02-13 18:17:42 -08:00
Andrea Luzzardi 1793538a68 Generate LXC config upon start rather than at container creation 2013-02-13 18:14:46 -08:00
Andrea Luzzardi e871eadab1 Server: Restored -u option (from merge) 2013-02-13 17:41:50 -08:00
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