Guillaume J. Charmes
18f4e7e196
Put back the relative paths for dev purpose
2013-03-12 05:17:51 -07:00
Guillaume J. Charmes
687d6f25ee
Change relative paths to absolute
2013-03-11 02:59:52 -07:00
Solomon Hykes
c59fff422f
gofmt
2013-03-09 19:44:09 -08:00
shin-
93ba6dd82b
Plugged in image store in front-end (some commands are deactivated right now, will progressively reintroduce them
2013-03-08 10:48:22 -08:00
shin-
2ebf3464a1
Halfway through fs branch fixes, TestUser not passing
2013-02-26 17:45:46 -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
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
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
Solomon Hykes
3cfac8f335
'docker pull' will download images from a public mirror by default
2013-02-12 22:24:55 -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
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
a608f5e3b8
"docker info": display system-wide information.
2013-02-04 23:37:25 -08:00
Solomon Hykes
de1c361a6e
docker rmi: remove an image
2013-02-01 00:08:45 -08:00
Solomon Hykes
bba4e36807
Fixed a bug with 'docker run'
2013-01-29 16:51:03 -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
35f5cc239b
Fix web UI to work on remote URLs
2013-01-29 15:30:32 -08:00
Solomon Hykes
f8f9285cca
Fix bug introduced in c7a944caf2
which caused 'docker images' to crash
2013-01-29 12:15:39 -08:00
Solomon Hykes
dfd15fbee8
Generate shorter container IDs for readability
2013-01-29 03:25:00 -08:00
Solomon Hykes
c7a944caf2
List containers ordered by creation time
2013-01-29 03:24:31 -08:00
Solomon Hykes
4f3362b85a
docker run -c COMMENT
2013-01-29 03:21:23 -08:00
Solomon Hykes
bcfe2aa2a7
'docker ps' prints shorter lines
2013-01-29 03:18:07 -08:00
Solomon Hykes
1b898574cf
'docker inspect' can be used on images and containers
2013-01-28 23:22:45 -08:00
Solomon Hykes
903f091adc
'docker ps' lists running containers. 'docker ps -a' also includes stopped containers
2013-01-28 23:13:58 -08:00
Solomon Hykes
7a50153c32
'docker run -i' optionally opens stdin. 'docker attach' attaches to a running container (including stdin). 'docker run -t' allocates a tty (still buggy)
2013-01-28 17:50:12 -08:00
Solomon Hykes
904b0ab52b
Experimenting with a UI which differentiates images and containers
2013-01-27 15:42:42 -08:00
Solomon Hykes
6df37208be
Added various debugging commands: cat, write, ls, inspect, mount, umount
2013-01-27 01:08:34 -08:00
Solomon Hykes
55a7560436
Fixed bug which caused 'docker stop' to crash when specifying a non-existing container.
2013-01-27 01:07:21 -08:00
Solomon Hykes
e920cb9cd9
Removed dependency on docker.fake. Added extra information to 'docker list': Pid, Exit code, Mounted
2013-01-27 01:04:33 -08:00
Solomon Hykes
3703536303
docker tar: stream the contents of a container as a tar archive
2013-01-27 00:59:49 -08:00
Solomon Hykes
5d6dd22fb2
Plugged 4 more commands into the real backend: 'diff', 'reset', 'run', 'stop'. 'run' actually runs the process, but doesn't capture outptu properly, and encounters mount issues
2013-01-26 15:56:42 -08:00
Solomon Hykes
b397ce5dea
First integration of the actual docker package into the server. Pull and put create actual containers. Rm actually removes them. The rest is still fake.
2013-01-25 14:44:16 -08:00
Solomon Hykes
851812f1c6
'docker run -t': allocate a pseudo-tty for interactive mode (disabled by default)
2013-01-25 11:33:18 -08:00
Solomon Hykes
c885a05bdf
First implementation of a layer store. 'docker pull' and 'docker put' now really work (but containers are still fake)
2013-01-25 11:32:37 -08:00
Solomon Hykes
401dd3d8e0
Moved more utilities to docker/future
2013-01-25 11:23:18 -08:00
Solomon Hykes
f3ffba7afe
Factored out docker/rcli (remote cli protocol), docker/fake (mocking utilities) and docker/future (real utilities which don't yet fit in the core)
2013-01-24 20:01:32 -08:00
Solomon Hykes
553ca56d7e
Enabled stdin and interactive mode. 'docker run -a CONTAINER bash' will now correctly run an interactive shell. This required switching to a simple raw TCP protocol by default
2013-01-23 23:14:46 -08:00
Solomon Hykes
1a77a32a83
GFR model: Get, Fork, Run. There are no more layers, only containers
2013-01-22 18:29:44 -08:00
Solomon Hykes
3b69ff6441
'docker snapshot': create a new layer from a container. 'docker tar': stream the contents of a container or layer as a tar archive
2013-01-22 09:54:56 -08:00
Solomon Hykes
aa31e7764d
'docker logs': print full logs of a container
2013-01-21 18:31:12 -08:00
Solomon Hykes
72c0a091c0
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-01-21 18:15:19 -08:00
Solomon Hykes
559e3200fa
'docker rm': remove layers. Layers currently in use can't removed.
2013-01-21 18:12:56 -08:00