Commit Graph

422 Commits

Author SHA1 Message Date
Guillaume J. Charmes 75d2244023 Update docker build UI 2013-05-29 10:51:47 -07:00
Victor Vieux 2eb4e2a0b8 removed the -f 2013-05-29 16:31:47 +00:00
Victor Vieux e33ba9b36d split stdout and stderr in run if not -t 2013-05-29 14:14:51 +00:00
Victor Vieux a5fe6f8af4 Merge branch 'master' into split_stdout_stderr_run-feature 2013-05-29 13:56:27 +00:00
Victor Vieux f339fc2eb9 bump to master 2013-05-29 13:52:18 +00:00
Victor Vieux 044bdc1b5f fix ps output 2013-05-29 13:42:20 +00:00
Victor Vieux ea9095c562 merge master 2013-05-29 11:49:39 +00:00
Victor Vieux c00d1a6ebe improve attach 2013-05-29 11:40:54 +00:00
Solomon Hykes 11550c6063 Removed debug output in 'docker version' 2013-05-28 21:38:35 -07:00
Solomon Hykes c7985808ae + Runtime: stable implementation of 'docker build' 2013-05-28 19:40:38 -07:00
Guillaume J. Charmes e84306ca61 Merge pull request #730 from dotcloud/invert_status_created-fix
- Runtime: invert status created in docker ps
2013-05-28 15:45:52 -07:00
Guillaume J. Charmes 2127f8d6ad Fill the multipart writer directly instead of using reader 2013-05-28 15:22:34 -07:00
Guillaume J. Charmes cfb8cbe521 Small fix 2013-05-28 13:51:21 -07:00
Guillaume J. Charmes a48799016a Fix merge issue 2013-05-28 13:46:52 -07:00
Guillaume J. Charmes dce82bc856 Merge master 2013-05-28 13:42:50 -07:00
Guillaume J. Charmes 90ffcda055 Update the UI for docker build 2013-05-28 13:38:40 -07:00
Guillaume J. Charmes 6ae3800151 Implement the CmdAdd instruction 2013-05-28 13:38:26 -07:00
Victor Vieux 4f9443927e rename containers/ps to containers/json 2013-05-28 16:08:05 +00:00
Victor Vieux d9670f4275 invert status created 2013-05-28 15:06:26 +00:00
Victor Vieux fbcd8503b3 remove hijack on the client in logs, and split stdout / stderr 2013-05-27 16:07:05 +00:00
Victor Vieux 14212930e4 ensure valid json 2013-05-25 15:51:26 +00:00
Victor Vieux cb0bc4adc2 add error handling 2013-05-25 14:12:02 +00:00
Solomon Hykes 9775f0bd14 * Remote API: send push/pull progress bar as json 2013-05-24 17:59:27 -07:00
Guillaume J. Charmes b438565609 Fix merge issue 2013-05-24 14:48:13 -07:00
Guillaume J. Charmes ffd9e06deb Merge branch 'master' into tty_resize
Conflicts:
	commands.go
2013-05-24 14:45:31 -07:00
Guillaume J. Charmes 88ef309a94 Finish resize implementation client and server 2013-05-24 14:44:16 -07:00
Guillaume J. Charmes d8e60b797f Merge pull request #630 from dotcloud/check_if_logged_before_pull-fix
add login check before pull user's repo
2013-05-24 12:29:59 -07:00
Guillaume J. Charmes a3293ed854 Fix merge issue 2013-05-24 11:56:21 -07:00
Guillaume J. Charmes 3d1bc2660c Merge branch 'master' into help_command-fix
Conflicts:
	commands.go
2013-05-24 11:46:18 -07:00
Guillaume J. Charmes deb9963e6e Catch sigwinch client 2013-05-24 11:07:32 -07:00
Victor Vieux 92e4a51965 use -H 2013-05-24 16:49:18 +00:00
Victor Vieux 3c7bca7a21 first version of Pull 2013-05-24 16:34:03 +00:00
Victor Vieux 1f23b4caae fix docker login when same username 2013-05-24 14:23:43 +00:00
Victor Vieux 4dab2fccd3 removed useless params 2013-05-24 12:43:24 +00:00
Victor Vieux a7d7a06655 change %f to %g 2013-05-24 12:23:28 +00:00
Victor Vieux 9ebfcc9a15 bump to master 2013-05-24 12:17:44 +00:00
Guillaume J. Charmes d42c10aa09 Implement Context within docker build (not yet in use) 2013-05-23 18:32:56 -07:00
Guillaume J. Charmes 822056094a Bumped version to 0.3.3 2013-05-23 12:46:14 -07:00
Victor Vieux 31c98bdaaf bring Error: Command not found: <command>
Usage: docker COMMAND [arg...]

A self-sufficient runtime for linux containers.

Commands:
    attach    Attach to a running container
    insert    Insert a file in an image
    login     Register or Login to the docker registry server
    export    Stream the contents of a container as a tar archive
    diff      Inspect changes on a container's filesystem
    logs      Fetch the logs of a container
    pull      Pull an image or a repository from the docker registry server
    restart   Restart a running container
    build     Build a container from Dockerfile or via stdin
    history   Show the history of an image
    kill      Kill a running container
    rmi       Remove an image
    start     Start a stopped container
    tag       Tag an image into a repository
    commit    Create a new image from a container's changes
    import    Create a new filesystem image from the contents of a tarball
    ps        List containers
    rm        Remove a container
    run       Run a command in a new container
    wait      Block until a container stops, then print its exit code
    images    List images
    port      Lookup the public-facing port which is NAT-ed to PRIVATE_PORT
    info      Display system-wide information
    inspect   Return low-level information on a container
    push      Push an image or a repository to the docker registry server
    search    Search for an image in the docker index
    stop      Stop a running container
    version   Show the docker version information back
2013-05-23 16:32:39 +00:00
Victor Vieux 13f1939a63 switch to default 127.0.0.1, and mixed the two flags in one. -h 2013-05-23 16:09:28 +00:00
Victor Vieux cf35e8ed81 jsonstream WIP 2013-05-23 15:16:35 +00:00
Guillaume J. Charmes 0f135ad7f3 Start moving the docker builder into the server 2013-05-22 20:07:26 -07:00
Victor Vieux 800b401f0b improved doc and usage 2013-05-22 16:15:52 +00:00
Victor Vieux faae7220c0 api versionning 2013-05-22 15:29:54 +00:00
Victor Vieux 6fce89e60b bump to master 2013-05-22 13:41:29 +00:00
Victor Vieux 4489005cb2 add regexp check on repo's name 2013-05-21 12:53:05 +00:00
Victor Vieux a3ccec197e add -host and -port 2013-05-21 10:14:58 +00:00
Guillaume J. Charmes 0d2fb29537 Merge fix 2013-05-20 16:21:35 -07:00
Guillaume J. Charmes c2a14bb196 Add "Cmd" prefix to builder instructions 2013-05-20 12:09:15 -07:00
Victor Vieux 67b20f2c8c add check to see if the image isn't parent of another and add -f to force 2013-05-20 18:31:45 +00:00
Guillaume J. Charmes 372d81c325 Merge remove-hijack 2013-05-20 11:07:34 -07:00
Guillaume J. Charmes 0f312113d3 Move docker build to client 2013-05-19 10:46:24 -07:00
Victor Vieux 3703a65405 fixed insert 2013-05-17 17:09:09 +00:00
Victor Vieux 1b0b962b43 add login check before pull user's repo 2013-05-17 13:23:12 +00:00
Guillaume J. Charmes 6145812444 Update tests to reflect new behavior 2013-05-16 14:33:10 -07:00
Guillaume J. Charmes f29e5dc8a1 Remove hijack from api when not necessary 2013-05-16 12:09:06 -07:00
Guillaume J. Charmes acf1d5bf0e Merge pull request #592 from dotcloud/refactor_commands_object-feature
* Runtime: refactor commands.go into an object, will be easier for tests
2013-05-15 18:03:30 -07:00
Victor Vieux f27415540f rename client to DockerCli to prepare the split CLI/API 2013-05-15 14:16:46 +00:00
Guillaume J. Charmes 2e69e1727b Create a subpackage for utils 2013-05-14 22:37:35 +00:00
Guillaume J. Charmes 37b80325d0 Merge pull request #593 from dotcloud/579-move_display_options_to_client-feature
* Api: Move display options to client
2013-05-13 11:40:46 -07:00
Victor Vieux 4fb89027e6 add host 2013-05-13 20:34:09 +02:00
Victor Vieux a91b710961 add sizes in images and containers 2013-05-13 15:14:20 +02:00
Victor Vieux e82ff22fae add -notrunc on docker images 2013-05-13 12:26:18 +02:00
Victor Vieux 1990c49a62 removed only_ids and trunc_cmd from the api 2013-05-13 12:18:55 +02:00
Victor Vieux 761731215f refactor commands.go into an object, will be easier for tests 2013-05-13 11:48:27 +02:00
Victor Vieux 8b31d30601 fix error message in export 2013-05-13 11:39:24 +02:00
Victor Vieux 17c1704f4a fix run 2013-05-10 17:00:26 +02:00
Guillaume J. Charmes 26bfeb1d67 Merge pull request #432 from dotcloud/remote-api
+ Remote API: Implement the remote API.
2013-05-09 22:43:47 -07:00
Guillaume J. Charmes 1941c79195 make commands use the correct routes 2013-05-09 22:28:52 -07:00
Guillaume J. Charmes 483c942520 Fix typos whithin unit tests 2013-05-09 21:53:28 -07:00
Guillaume J. Charmes eeaea4e873 Update the routes within commands.go 2013-05-09 20:19:21 -07:00
Victor Vieux 93dc2c331e removed hijack in export 2013-05-09 23:28:03 +02:00
Victor Vieux 0ecf5e245d removed hijack on viz 2013-05-09 23:10:26 +02:00
Guillaume J. Charmes e289308dff Bumped version to 0.3.2 2013-05-09 13:51:32 -07:00
Victor Vieux 0862183c86 fix status code and error detection 2013-05-09 21:42:29 +02:00
Victor Vieux 7c7619ecf8 display warning on the server in debug in version don't match 2013-05-09 20:24:49 +02:00
Victor Vieux 4576e11121 fix attach and remove cli doc 2013-05-09 17:54:41 +02:00
Victor Vieux 842cb8909e pretty print json in inspect 2013-05-09 03:46:39 +02:00
Victor Vieux fc29f01528 bump to master 2013-05-09 02:20:16 +02:00
Guillaume J. Charmes 06767fb99d Bumped version to 0.3.1 2013-05-08 16:52:47 -07:00
Guillaume J. Charmes 5098c4fc00 Display the go version inf CmdInfo in non-debug mode 2013-05-08 16:40:48 -07:00
Guillaume J. Charmes d6c24092eb + Runtime: Add go version to debug infos 2013-05-08 15:35:35 -07:00
Victor Vieux 24c785bc06 fix login 2013-05-08 23:57:14 +02:00
Victor Vieux 4a1e0d321e change content-type and small fix in run 2013-05-08 18:36:37 +02:00
Victor Vieux bc3fa506e9 added pagination on ps 2013-05-08 18:28:11 +02:00
Victor Vieux 075e1ebb0e remove useless port endpoint 2013-05-08 18:06:43 +02:00
Victor Vieux 60ddcaa15d changes 2 endpoints to avoid confusion, changed some parameters, fix doc, add api unit tests 2013-05-08 17:35:50 +02:00
Guillaume J. Charmes cacc7e564a Fix non exiting client issue 2013-05-07 23:32:17 -07:00
Guillaume J. Charmes 755604a2bd Fix routes in api.go 2013-05-07 17:35:33 -07:00
Guillaume J. Charmes b56b2da5c5 Refactor api.go to use a factory with named functions 2013-05-07 16:33:12 -07:00
Victor Vieux a0880edc63 removed useless buffered pipe in import 2013-05-07 23:56:45 +02:00
Victor Vieux a5b765a769 remove useless wait in run 2013-05-07 22:52:58 +02:00
Victor Vieux ac0e27699c display id on run -s stdin 2013-05-07 21:36:24 +02:00
Victor Vieux 4079411375 fix run no parameter 2013-05-07 20:59:04 +02:00
Victor Vieux 59a6316f5e added search 2013-05-07 20:43:31 +02:00
Victor Vieux 10c0e99037 update to master 2013-05-07 19:23:50 +02:00
Victor Vieux 0b6c79b303 first draft of the doc, split commit and fix some issues in spi.go 2013-05-07 17:19:41 +02:00
shin- 3d25e09c3b missing comma 2013-05-07 03:54:31 -07:00
shin- d56c5406ac Implemented command 2013-05-07 03:49:08 -07:00
Guillaume J. Charmes 8472a27e80 Merge pull request #497 from justone/dot-graph-images
+ images: output graph of images to dot (graphviz)
2013-05-06 17:48:07 -07:00
Guillaume J. Charmes e8853ec3a4 Merge pull request #532 from dotcloud/login_cookie_fix
- Registry: Fix issue when login in with a different user and trying to push
2013-05-06 17:23:57 -07:00
Guillaume J. Charmes 2bc4ad9402 Rebase fix 2013-05-06 16:01:01 -07:00
Guillaume J. Charmes 6c168a8986 Rebase master (autorun) 2013-05-06 16:01:00 -07:00
Guillaume J. Charmes 034c7a7a5e Remove the open from CmdBuild 2013-05-06 16:00:30 -07:00
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