Guillaume J. Charmes
dade95844f
Make Builder.Build return the builded image
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
f7c5e92a2e
Move runtime.Commit to builder.Commit
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
6f2125386a
Moving runtime.Create to builder.Create
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
9db4972a70
Make sure the destination directory exists when using docker insert
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
9751483112
Add insert command in order to insert external files within an image
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
27319da0d2
Add build command
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
f20b5e1323
Fix issue when login in with a different user and trying to push
2013-05-06 15:58:04 -07:00
Victor Vieux
5a2a5ccdaf
removed rcli completly
2013-05-06 16:59:33 +02:00
Victor Vieux
f37399d22b
added login and push
2013-05-06 13:34:31 +02:00
Victor Vieux
6f9b574f25
bump to 0.2.2
2013-05-06 11:53:00 +02:00
Victor Vieux
04cd20fa62
split api and server. run return exit code. import, pull and commit uses the smae endpoint. non zero status code on failure
2013-05-06 11:31:22 +02:00
Guillaume J. Charmes
4f202cd07f
Bumped version to 0.3.0
2013-05-05 07:46:25 -07:00
Guillaume J. Charmes
da01dd3d56
Merge remote-tracking branch 'origin/registry-update'
...
+ Registry: Add the new registry support
2013-05-05 07:13:25 -07:00
shin-
6e2ddf6f60
Checksum system overhaul
2013-05-06 10:56:49 -07:00
shin-
e81a53eea9
Added support for REPO:TAG format in docker pull (overrides -t option)
2013-05-06 10:56:47 -07:00
shin-
6644a3c78a
Reactivated CmdPush in commands.go
2013-05-06 10:54:45 -07:00
shin-
e639309a7a
Reimplemented feature: downloading all tags on a repository using docker pull. Temporarily commented out CmdPush
2013-05-06 10:51:10 -07:00
shin-
2f082510a7
Implemented new version of PullRepository. Missing support for whole repository pull (= no tag specified)
2013-05-06 10:51:07 -07:00
Nate Jones
3dba4022ad
add tests for 'images' subcommand
2013-05-03 21:12:43 -07:00
Nate Jones
f4de9d919d
add image graph output (dot/graphviz)
2013-05-03 21:12:43 -07:00
Solomon Hykes
5ffd63070f
Bumped version to 0.2.2
2013-05-03 15:19:20 -07:00
Victor Vieux
4f0bda2dd5
up to date with master
2013-05-02 18:36:23 +02:00
Guillaume J. Charmes
3edd14b8c2
Implement the data volume removal
2013-05-02 09:14:23 -07:00
Guillaume J. Charmes
faf8daa7c6
Switch back config to map[string]struct{}
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes
35d704c8a0
Change the volumes type to map[string]string to store both source and destination
2013-05-02 09:14:22 -07:00
Solomon Hykes
1df5f4094b
docker run -v PATH: bind a new data volume to a container
2013-05-02 09:14:22 -07:00
Victor Vieux
a4bcf7e1ac
refactoring run/attach/logs
2013-05-02 05:07:06 +02:00
Solomon Hykes
d42639e5c5
Bumped version to 0.2.1
2013-05-01 17:17:13 -07:00
Guillaume J. Charmes
a75a1b3859
When no -config is set while committing, use the config of the base image
2013-05-01 15:24:28 -07:00
Solomon Hykes
5c30faf6f7
Set a layer's default runtime options with 'docker commit -run' instead of 'docker commit -config'
2013-05-01 12:45:45 -07:00
Solomon Hykes
f7aaa06606
+ Commit default runtime options with a layer
2013-05-01 11:33:21 -07:00
Victor Vieux
36b968bb09
[] instead fon null, timetsamps and wip import
2013-04-30 17:04:31 +02:00
Victor Vieux
131c6ab3e6
more accurate http errors, attach handle tty correctly now
2013-04-29 17:46:41 +02:00
Victor Vieux
e5104a4cb4
working tty
2013-04-29 15:12:18 +02:00
Victor Vieux
30cb4b351f
run now try to pull if unknown image
2013-04-29 11:46:31 +02:00
Guillaume J. Charmes
ae97477284
Remove -command in CmdCommit and make -config use Json
2013-04-26 10:48:33 -07:00
Guillaume J. Charmes
51d6228261
Implement -config and -command in CmdCommit in order to allow autorun
2013-04-25 16:48:31 -07:00
Guillaume J. Charmes
50144aeb42
Add -r flag to dockerd in order to restart previously running container. Fixes #26
2013-04-24 19:01:23 -07:00
Victor Vieux
75c0dc9526
fixed inspect
2013-04-24 18:50:26 +02:00
Victor Vieux
c7bbe7ca79
added export
2013-04-24 16:32:51 +02:00
Victor Vieux
79512b2a80
added commit
2013-04-24 16:06:30 +02:00
Victor Vieux
1e357c6969
changed not found errors to 404, added inspect, wait and diff
2013-04-24 14:01:40 +02:00
Solomon Hykes
90668a8a99
Bumped version to 0.2.0
2013-04-23 23:15:09 -07:00
Victor Vieux
cf19be44a8
added run (wip), fixed ps and images, added port and tag
2013-04-23 18:20:53 +02:00
Solomon Hykes
95e066d24f
- Runtime: ghost containers can be killed.
2013-04-22 22:30:33 -07:00
Solomon Hykes
97badbd29e
Bumped version to 0.1.8
2013-04-22 22:04:57 -07:00
Guillaume J. Charmes
b76d63cb0c
Forbid attach to ghost
2013-04-22 17:53:32 -07:00
Victor Vieux
6ce475dbdf
added push hijack (wip)
2013-04-22 23:37:22 +02:00
Guillaume J. Charmes
acb546cd1b
Fix race within TestRunDisconnectTty
2013-04-22 11:16:32 -07:00
Victor Vieux
1aa7f1392d
restify api
2013-04-22 18:17:47 +02:00
Solomon Hykes
965e8a02d2
'docker push' shows an additional progress bar while it buffers the archive to disk. Fixes #451 .
2013-04-21 15:29:26 -07:00
Solomon Hykes
76b40ad6c9
Merge remote-tracking branch 'origin/check_kernel_capabilities'
2013-04-20 17:40:25 -07:00
Solomon Hykes
3b6c540fe8
Bumped version to 0.1.7
2013-04-20 17:35:00 -07:00
Solomon Hykes
931ca464a7
'docker ps' shows port mappings
2013-04-19 19:29:13 -07:00
Guillaume J. Charmes
3bfb70db24
Wait for the container terminate at the end of CmdRun
...
Fixes the race condition between docker run and docker logs from #428 .
2013-04-19 18:06:13 -07:00
Guillaume J. Charmes
e92c4b1f39
Merge pull request #415 from dotcloud/261-choose_grace_period-feature
...
added -t in docker stop and restart to choose grace period
2013-04-19 12:42:34 -07:00
Victor Vieux
b295239de2
added: info, history, logs, ps, start, stop, restart, rm, rmi
2013-04-19 15:24:37 +02:00
Guillaume J. Charmes
2d32ac8cff
Improve the docker version output
2013-04-18 21:08:33 -07:00
Guillaume J. Charmes
f68d107a13
Remove the NO_MEMORY_LIMIT constant
2013-04-18 21:08:20 -07:00
Guillaume J. Charmes
640efc2ed2
Add capabilities check to allow docker to run on kernel that does not have all options
2013-04-18 20:55:41 -07:00
Victor Vieux
79e9105806
added kill and images(wip)
2013-04-18 18:56:22 +02:00
Solomon Hykes
ee82870ff7
Bumped version to 0.1.6 to mark image format change (author field)
2013-04-17 20:18:35 -07:00
Solomon Hykes
227a8142a3
Record the author of an image with 'docker commit -author'
2013-04-17 20:13:11 -07:00
Solomon Hykes
4ef2d5c1e6
Added 'author' field to the image format
2013-04-17 19:58:17 -07:00
Victor Vieux
c0d5d5969b
skeleton remote API, only version working (wip)
2013-04-18 03:13:43 +02:00
Solomon Hykes
e34e44e8e6
Bumped version to 0.1.5
2013-04-17 17:12:08 -07:00
Victor Vieux
1615bb08c7
added -t in docker stop and restart to choose grace period
2013-04-17 11:56:30 +02:00
Solomon Hykes
a11b31399b
Skeleton of http API
2013-04-16 19:53:08 +02:00
Solomon Hykes
fdf3308260
Merge remote-tracking branch 'origin/396-disabling_memory_limit-feature'
2013-04-13 21:25:53 -07:00
Guillaume J. Charmes
c2c72bcfd7
Add \r to error message in run raw mode
2013-04-13 15:03:24 -07:00
Guillaume J. Charmes
1967c8342a
Allow to disable memory limit at compilation time
2013-04-12 10:48:20 -07:00
Guillaume J. Charmes
a8c15477d9
Merge pull request #381 from dotcloud/371-add-l-ps
...
Add options to docker ps
2013-04-12 07:16:00 -07:00
Guillaume J. Charmes
9d03b2bb62
Merge pull request #395 from dotcloud/commands_usage-fix
...
fixes some usages (multiple parameters mostly)
2013-04-12 07:03:36 -07:00
Victor Vieux
8987bd5832
removed not needed [OPTIONS] and remove poor messages like 'Not enough arguments'
2013-04-12 12:26:31 +02:00
Solomon Hykes
79d934bfb0
Simplify the output of 'docker images' by removing the PARENT column
2013-04-11 12:11:41 -07:00
Solomon Hykes
54dfedc516
Merge remote-tracking branch 'origin/148-remove_repositories-feature'
2013-04-11 11:36:28 -07:00
Solomon Hykes
0eb7157b6f
Merge remote-tracking branch 'origin/crlf_on_raw_mode'
2013-04-11 11:31:17 -07:00
Victor Vieux
3ba44d2d5f
fixes some usages
2013-04-11 18:46:47 +02:00
Victor Vieux
c105049f7e
display usage when no parameter
2013-04-11 16:27:01 +02:00
Victor Vieux
17136d58f2
snake_case to camelCase
2013-04-11 13:09:40 +02:00
Guillaume J. Charmes
9d1fd2317d
use crlf in login in order to avoir issue due to real raw mode
2013-04-10 19:08:46 -07:00
Guillaume J. Charmes
97f48e59fc
Allow rmi to remove image from its name
2013-04-10 17:23:42 -07:00
Victor Vieux
8bd192fb16
changed last to n
2013-04-10 21:09:21 +02:00
Victor Vieux
8c3331dc97
add -l to docker ps
2013-04-10 19:30:57 +02:00
Solomon Hykes
40ebe78bb1
Bumped version to 0.1.4
2013-04-09 13:00:50 -07:00
Guillaume J. Charmes
1eaaa6b744
Flush stdout on import to avoid deadklock when waiting for stdin (import -). Fixed #365
2013-04-09 10:02:57 -07:00
Guillaume J. Charmes
cb54e9c659
Flush whether or not there we set the rawmode to avoid the client to lock
2013-04-09 09:59:30 -07:00
Guillaume J. Charmes
c83393a541
Move the DockerConn flush to its own function
2013-04-05 20:08:31 -07:00
Guillaume J. Charmes
7e1e7d14fa
Make sure to flush buffer when setting raw mode
2013-04-05 19:48:49 -07:00
Guillaume J. Charmes
dcf4572a69
Set the raw mode only for tty enabled containers
2013-04-08 16:07:12 -07:00
Guillaume J. Charmes
d530d581f7
Make commands.go more idiomatic. Use DockerConn only when needed, keep io.Writer when not
2013-04-08 15:58:09 -07:00
Louis Opter
7d0ab3858e
Only set the terminal in raw mode for commands which need it
...
The raw mode is actually only needed when you attach to a container.
Having it enabled all the time can be a pain, e.g: if docker crashes
your terminal will end up in a broken state.
Since we are currently missing a real API for the docker daemon to
negotiate this kind of options, this changeset actually enable the raw
mode on the login (because it outputs a password), run and attach
commands.
This "optional raw mode" is implemented by passing a more complicated
interface than io.Writer as the stdout argument of each command. This
interface (DockerConn) exposes a method which allows the command to set
the terminal in raw mode or not.
Finally, the code added by this changeset will be deprecated by a real
API for the docker daemon.
2013-04-08 15:58:09 -07:00
Solomon Hykes
a4fc52305a
Bumping version to 0.1.3
2013-04-04 23:05:03 -07:00
Solomon Hykes
586a79cca0
Merge remote-tracking branch 'dominikh/minor-code-touchups'
2013-04-04 16:20:37 -07:00
Solomon Hykes
26088a72b3
Merge remote-tracking branch 'dominikh/improve-attachopts'
2013-04-04 15:18:41 -07:00
Solomon Hykes
a7f191d51d
Merge remote-tracking branch 'origin/328-i_o_error_uncloced_connection-fix'
2013-04-04 11:03:39 -07:00
Solomon Hykes
dce5a06aba
Bumped version to 0.1.2
2013-04-03 15:35:32 -07:00
Dominik Honnef
4f36039e7b
clean up AttachOpts type
...
Primarily, there is no reason to have a pointer to a map. Furthermore,
make() can be used on AttachOpts directly.
2013-04-03 16:06:35 +02:00
Dominik Honnef
5ecd940a59
remove dead code in CmdPush
2013-04-03 11:08:32 +02:00
Dominik Honnef
3b8c2417fb
use fmt.Fprintf instead of fmt.Fprint
...
fmt.Fprint does not allow format strings
2013-04-03 11:04:33 +02:00