Guillaume J. Charmes
bd144a64f6
Make sure the ID is displayed usgin run -d
2013-06-27 12:48:25 -07:00
Victor Vieux
9d3ec7b39f
fix panic with unix socket
2013-06-27 12:57:19 +00:00
Andrews Medina
3d5633a0a0
following the 'go vet' suggestions.
2013-06-27 01:33:55 -03:00
Gabriel Monroy
4fdf11b2e6
+ Runtime: mount volumes from a host directory with 'docker run -b'
2013-06-26 15:07:31 -07:00
Guillaume J. Charmes
6127d757a7
Add missing fprintf instead of printf
2013-06-25 10:39:11 -07:00
Guillaume J. Charmes
5190f7f33a
Implement regression test for stdin attach
2013-06-24 18:36:04 -07:00
Guillaume J. Charmes
873a5aa8e7
Make NewDockerCli handle terminal
2013-06-24 18:29:08 -07:00
Guillaume J. Charmes
672d3a6c6c
Make term function consistent with each other
2013-06-24 18:27:57 -07:00
Guillaume J. Charmes
a749fb2130
Make DockerCli use its own stdin/out/err instead of the os.Std*
2013-06-24 18:27:57 -07:00
Guillaume J. Charmes
25d1bc2c09
Fix issue when attaching stdin alone
2013-06-24 18:27:57 -07:00
Solomon Hykes
9fe8bfb2bc
Bump version to 0.4.6
2013-06-22 13:36:45 -07:00
Victor Vieux
ec6b35240e
fix raw terminal
2013-06-22 00:37:02 +00:00
Guillaume J. Charmes
c792c0a6c9
Merge pull request #986 from dotcloud/bump_0.4.5
...
Bump version to 0.4.5
2013-06-21 17:13:38 -07:00
Guillaume J. Charmes
f5d08fc49c
Bump version to 0.4.5
2013-06-21 17:01:01 -07:00
Victor Vieux
4d1692726b
merge master and add doc
2013-06-22 01:08:20 +02:00
Guillaume J. Charmes
de1a5a75cc
Merge pull request #848 from dotcloud/builder_server-3
...
Improve Docker build
2013-06-21 14:55:08 -07:00
Victor Vieux
42bcfcc927
add options to docker login
2013-06-21 10:00:25 +00:00
Victor Vieux
8f2a80804c
Merge branch 'master' into fix-auth
2013-06-21 09:18:03 +00:00
Solomon Hykes
352991bdf4
Merge branch 'simpler-build-upload' ( #900 ) into builder_server-3 ( #848 )
2013-06-20 22:02:36 -07:00
Solomon Hykes
86e83186b5
Merge branch 'master' into simpler-build-upload
...
Conflicts:
commands.go
2013-06-20 20:25:59 -07:00
Guillaume J. Charmes
b419699ab8
Use hijack for logs instead of stream
2013-06-20 18:18:36 -07:00
Solomon Hykes
02f0c1e46d
Bump version to 0.4.4
2013-06-20 14:33:59 -07:00
Solomon Hykes
dbfb3eb923
- Builder: hotfix for bug introduced in 3adf9ce04e
2013-06-20 14:29:34 -07:00
Solomon Hykes
e43323221b
Merge branch 'master' into simpler-build-upload
...
Conflicts:
api.go
builder_client.go
commands.go
2013-06-20 14:19:09 -07:00
Guillaume J. Charmes
da5bb4db96
Bumped version to 0.4.3
2013-06-20 12:23:14 -07:00
Guillaume J. Charmes
fa68fe6ff3
Merge pull request #938 from dotcloud/add_unix_socket-feature
...
* Runtime: Add unix socket and multiple -H
2013-06-20 11:17:16 -07:00
Guillaume J. Charmes
659e846006
Merge branch 'master' into builder_server-3
...
Conflicts:
docs/sources/use/builder.rst
2013-06-20 10:27:12 -07:00
Victor Vieux
bd04d7d475
add ps -s
2013-06-20 14:19:50 +00:00
Solomon Hykes
79efcb545d
Merge branch 'master' into simpler-build-upload
2013-06-19 18:48:19 -07:00
Victor Vieux
d52af3f58f
Merge branch 'master' into add_unix_socket-feature
2013-06-19 12:49:27 +00:00
Victor Vieux
dede1585ee
add the possibility to use multiple -H
2013-06-19 12:31:54 +00:00
Guillaume J. Charmes
c063fc0238
Merge branch 'master' into fix_detach_eof
...
Conflicts:
commands.go
2013-06-18 17:15:31 -07:00
Guillaume J. Charmes
0a9ac63a05
Merge pull request #916 from dotcloud/race_attach-fix
...
- Runtime: Fix race condition within Run command when attaching.
2013-06-18 17:13:38 -07:00
Guillaume J. Charmes
34a434616a
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile.go
2013-06-18 16:12:30 -07:00
Guillaume J. Charmes
32e8f9beca
Merge pull request #918 from dotcloud/hisotry_lookup
...
Add image lookup to history command
2013-06-18 15:36:05 -07:00
Victor Vieux
3adf9ce04e
add basic support for unix sockets
2013-06-18 18:59:56 +00:00
Guillaume J. Charmes
808faa6371
* API: Send all tags on History API call
2013-06-18 10:31:07 -07:00
Guillaume J. Charmes
3dc93e390a
Remove useless goroutine
2013-06-18 10:10:03 -07:00
Guillaume J. Charmes
e2d034e488
Remove useless goroutine
2013-06-18 10:06:26 -07:00
Guillaume J. Charmes
86205540d8
Merge branch 'master' into race_attach-fix
2013-06-18 10:03:34 -07:00
Daniel Mizyrycki
e664a46ff3
Packaging, issue 919: Bump version to 0.4.2
2013-06-17 19:50:31 -07:00
Solomon Hykes
0809f649d3
* Builder: upload progress bar
...
Fix progress bar
2013-06-17 18:49:16 -07:00
Guillaume J. Charmes
3bfc822578
* API: Add tag lookup to history command. Fixes #882
2013-06-17 18:39:30 -07:00
Guillaume J. Charmes
2b6ca38728
Remove Run race condition
2013-06-17 15:45:08 -07:00
Guillaume J. Charmes
c106ed32ea
Move the attach prevention from server to client
2013-06-17 15:40:04 -07:00
Guillaume J. Charmes
3a0ffbc772
- Runtime: Fixes #884 enforce stdout/err sync by merging the stream
2013-06-17 14:44:35 -07:00
Victor Vieux
e8f001d451
Bumped version to 0.4.1
2013-06-17 19:15:21 +00:00
Solomon Hykes
061f8d12e0
* Builder: reorganized unit tests for better code reuse, and to test non-empty contexts
2013-06-15 11:07:49 -07:00
Solomon Hykes
38554fc2a7
* Builder: simplify the upload of the build context. Simply stream a tarball instead of multipart upload with 4 intermediary buffers. Simpler, less memory usage, less disk usage, and faster.
2013-06-15 09:38:18 -07:00
Guillaume J. Charmes
78f86ea502
Merge branch 'master' into builder_server-3
...
Conflicts:
utils/utils.go
2013-06-14 17:08:39 -07:00
Guillaume J. Charmes
165d343d06
Merge pull request #663 from dotcloud/662-fix_push_html_404-fix
...
* Registry: add regexp check on repo's name
2013-06-14 12:30:44 -07:00
Victor Vieux
90f6bdd6e4
update docs, remove config file on 401
2013-06-14 13:38:51 +00:00
Victor Vieux
ddf5a1940f
Merge branch 'master' into 22-add_sizes_images_and_containers-feature
2013-06-14 10:05:06 +00:00
Victor Vieux
00cf2a1fa2
fix virtual size on images
2013-06-14 10:05:01 +00:00
Victor Vieux
9cc72ff1a9
fix auth in case you change your password on index.io
2013-06-14 09:53:48 +00:00
Guillaume J. Charmes
4b4918f2a7
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile.go
commands.go
docs/sources/api/docker_remote_api.rst
2013-06-13 18:11:22 -07:00
Guillaume J. Charmes
2eaa0a1dd7
Fix non-tty run issue
2013-06-13 12:57:35 -07:00
Victor Vieux
c46382ba29
rebase master
2013-06-13 17:58:06 +00:00
Guillaume J. Charmes
b38c6929be
Updated build usage
2013-06-13 10:50:55 -07:00
Solomon Hykes
5ecfe13be9
Merge branch '610-improve_rmi-feature'
...
* Runtime: improved image removal to garbage-collect unreferenced parents
- Runtime: fixed image removal to cleanly remove tags and repositories
2013-06-12 20:30:07 -07:00
Victor Vieux
f2383151cb
bump to master
2013-06-12 17:39:32 +00:00
Guillaume J. Charmes
c85e775162
Merge pull request #844 from dotcloud/843-inspect_multiple_params-feature
...
* Runtime: allow multiple params in inspect
2013-06-12 10:18:42 -07:00
Guillaume J. Charmes
3491df6edb
Merge pull request #852 from dotcloud/556-docker-search-fmt
...
Remove CR/NL from description in docker CLI
2013-06-12 10:17:05 -07:00
Francisco Souza
da54abaf2e
commands: use in instead of os.Stdin in hijack
2013-06-12 09:54:37 -03:00
Victor Vieux
66d9a73362
rebump
2013-06-10 21:05:54 +00:00
Victor Vieux
ab0d0a28a8
fix errors when no body
2013-06-10 15:06:52 +00:00
shin-
8d4282cd36
Remove CR/NL from description in docker CLI. Also moved description shortening to the client
2013-06-07 06:09:24 -07:00
Guillaume J. Charmes
12c9b9b3c9
Implement build from git
2013-06-06 16:41:41 -07:00
Guillaume J. Charmes
a11e61677c
Move the docker build URL form client to server, prepare for GIT support
2013-06-06 16:09:46 -07:00
Guillaume J. Charmes
01f446e908
Allow to docker build URL
2013-06-06 15:56:09 -07:00
Victor Vieux
4107701062
add [] and move errors to stderr
2013-06-06 15:45:08 +00:00
Victor Vieux
a799cdad3e
allow multiple params in inspect
2013-06-06 15:22:54 +00:00
Victor Vieux
bf63cb9045
bump to master again
2013-06-05 16:01:36 +00:00
Victor Vieux
ce0041832c
bump to master
2013-06-05 15:30:45 +00:00
Solomon Hykes
068076f775
Merge pull request #822 from lopter/master
...
* Client: Print the container id before the hijack in `docker run` (see also #804 )
2013-06-05 08:08:30 -07:00
Victor Vieux
c906239220
bump to master
2013-06-05 10:23:45 +00:00
Victor Vieux
b4682e6707
bump to master
2013-06-05 10:19:51 +00:00
Louis Opter
7e6ede6379
Print the container id before the hijack in `docker run` (see also #804 )
...
This is useful when you want to get the container id before you start to
interact with stdin (which is what I'm doing in dotcloud/sandbox).
2013-06-04 15:32:59 -07:00
Victor Vieux
fd224ee590
linted names
2013-06-04 18:00:22 +00:00
Victor Vieux
3922691fb9
fix progress message in client
2013-06-04 16:09:08 +00:00
Victor Vieux
b6825f98c0
bump to master
2013-06-04 14:00:18 +00:00
Victor Vieux
86ada2fa5d
drop/omit
2013-06-04 13:51:12 +00:00
Solomon Hykes
a8ae398bf5
Bumped version to 0.4.0
2013-06-03 10:59:48 -07:00
Victor Vieux
7e59b83053
removed auth in pull
2013-06-03 17:51:52 +00:00
Victor Vieux
1ce4ba6c9f
remove check on login
2013-06-03 15:33:29 +00:00
Victor Vieux
a55a0d370d
([a-z0-9_]{4,30})/([a-zA-Z0-9-_.]+)
2013-06-03 14:23:57 +00:00
Guillaume J. Charmes
2b1b3c1270
Merge pull request #784 from dotcloud/remove_cgo_dependency
...
* Runtime: Remove cgo dependency
2013-06-03 07:03:17 -07:00
Guillaume J. Charmes
0443cc351d
Merge pull request #772 from dotcloud/improve_version_info_cmds
...
* API: Improve version info cmds
2013-06-03 06:36:09 -07:00
Victor Vieux
ca902b6be4
bump master
2013-06-03 12:37:51 +00:00
Victor Vieux
62c78696cd
bump to master
2013-06-03 11:06:13 +00:00
Sam J Sharpe
ca5ae266b7
Removes a brace in the description of the wait command
2013-06-02 22:40:56 +01:00
Guillaume J. Charmes
31eb01ae8a
Use uintptr instead of int for Fd
2013-06-01 15:55:05 -07:00
Guillaume J. Charmes
9bc71c101c
Merge pull request #719 from dotcloud/json_stream-feature
...
* API: push, pull, import, insert -> Json Stream
2013-05-31 16:05:15 -07:00
Guillaume J. Charmes
1dae7a25b9
Improve the docker version and docker info commands
2013-05-31 15:53:57 -07:00
Guillaume J. Charmes
80b8756da3
Merge pull request #727 from dotcloud/remove_hijack_logs-feature
...
* API: remove hijack on the client in logs, and split stdout / stderr
2013-05-31 14:43:59 -07:00
Victor Vieux
9060b5c2f5
added proper returns type, move the auto-prune in v1.1 api
2013-05-31 14:37:02 +00:00
Solomon Hykes
8d73740343
Bumped version to 0.3.4
2013-05-30 17:27:45 -07:00
Solomon Hykes
a148301a03
+ Runtime: 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile
...
+ Runtime: 'docker build -t FOO' applies the tag FOO to the newly built container.
2013-05-30 16:49:40 -07:00
Victor Vieux
3afdd82e42
bump to master
2013-05-30 23:38:40 +00:00
Victor Vieux
bd38b47552
bump to master
2013-05-30 23:32:57 +00:00
Solomon Hykes
4205b6bb1d
Merge branch 'master' into builder_server-2
2013-05-30 14:09:42 -07:00
Guillaume J. Charmes
459a2867dd
Merge pull request #741 from dotcloud/split_stdout_stderr_run-feature
...
* API: Split stdout stderr in docker run if no -t
2013-05-30 12:38:11 -07:00
Guillaume J. Charmes
28d5b2c15a
Update docker build docs
2013-05-30 12:35:19 -07:00
Guillaume J. Charmes
56431d3130
Add -t to docker build in order to tag resulting image
2013-05-30 12:08:21 -07:00
Victor Vieux
cd002a4d16
ensure progress downloader is well formated
2013-05-30 17:00:42 +00:00
Victor Vieux
49e656839f
move auth to the client WIP
2013-05-30 15:39:43 +00:00
Victor Vieux
2c14d3949d
always display help in the same order
2013-05-30 14:08:26 +00:00
Solomon Hykes
fc864d2f0f
Simplified syntax of 'docker build': 'docker build PATH | -'
2013-05-29 18:18:57 -07:00
Solomon Hykes
dcab408f6a
Fixed phrasing, typos and formatting in 'docker build'
2013-05-29 18:14:50 -07:00
Solomon Hykes
7ff2e6b797
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-29 12:31:11 -07:00
Guillaume J. Charmes
33ea1483d5
Allow docker build from stdin
2013-05-29 11:43:29 -07:00
Guillaume J. Charmes
c05e9f856d
Error output fix for docker rmi
2013-05-29 11:11:19 -07:00
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
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
Solomon Hykes
15c3096e89
Merged attachStdin
2013-04-02 20:46:32 -07:00
Solomon Hykes
35c68944c7
Merged shawnsi/git-version
2013-04-02 20:26:22 -07:00
Solomon Hykes
c04af2a330
docker run [-a [stdin|stdout|stderr] [...]]: choose which streams to attach to when running a command. Fixes #234 .
2013-04-02 18:07:16 -07:00
Guillaume J. Charmes
a19a9e3ca8
Discarding errors in CmdRun
2013-04-02 12:21:35 -07:00
Guillaume J. Charmes
6882c78ce4
Add a stdincloser to container.Attach in order to close the client connection when needed
2013-04-02 12:18:20 -07:00
Solomon Hykes
aea2675f7b
Activate Config.StdinOnce at argument parsing
2013-04-02 11:02:19 -07:00
Solomon Hykes
c808940c04
Refactored CmdRun and CmdAttach to use Container.Attach
2013-04-01 23:52:20 -07:00
Caleb Spare
887f509d1d
Don't use an interface{} where a string will do.
2013-04-01 12:56:59 -07:00
Caleb Spare
13d2b08638
A few spelling/grammar corrections.
2013-04-01 12:56:50 -07:00
Caleb Spare
c298a91f95
Use a *println or *print function instead of *printf where appropriate.
2013-04-01 12:17:00 -07:00
Shawn Siefkas
37a78902db
Adding git commit to the version output
...
The Makefile must be used in order to inject the git commit
via -ldflags.
2013-04-01 13:52:45 -05:00
Solomon Hykes
1632566ecb
Show shorthand image IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup images
2013-03-31 22:11:55 -07:00
Solomon Hykes
a6779bcae2
Revert regression introduced in 81eac415ad
, which caused 'docker run -i' to never close stdin
2013-03-31 02:44:56 -07:00
Solomon Hykes
8293a0d533
Bumped version to 0.1.1
2013-03-31 02:18:04 -07:00
Solomon Hykes
0b9a3c86a2
Show shorthand container IDs for convenience. Shorthand IDs (or any non-conflicting prefix) can be used to lookup containers
2013-03-31 02:02:01 -07:00
Solomon Hykes
5a2a044e24
Merge remote-tracking branch 'origin/125-reattach_attached_run_command-fix'
2013-03-31 00:20:31 -07:00
Guillaume J. Charmes
99f9b69716
Add debug infos in CmdInfo to know the amount of fds and goroutines in use
2013-03-30 10:33:10 -07:00
Guillaume J. Charmes
b336d928fe
Make sure to close all pipes when detaching client ( #228 )
2013-03-30 09:47:09 -07:00
Guillaume J. Charmes
81eac415ad
Do not close the stdin of the process when the client deattaches himslef
2013-03-29 09:42:42 -07:00
Guillaume J. Charmes
d17f78c373
Harmonize the error management. Use fmt.Errorf instead of errors.New
2013-03-29 08:19:42 -07:00
Guillaume J. Charmes
ccac5b1382
Add debug infos
2013-03-29 08:18:43 -07:00
Solomon Hykes
b013d93786
Merge remote-tracking branch 'origin/264-remove_cmdAttach_option'
2013-03-29 20:30:43 -07:00
Louis Opter
9740102990
Fix output in the login command
...
It was broken because the terminal is in raw mode.
This changeset adds code in the login commmand to do a little bit of
interpretation on the user input (something usually done by the terminal
emulator itself).
2013-03-29 11:39:41 -07:00
Guillaume J. Charmes
9442d6b349
Remove the options of CmdAttach
2013-03-29 07:49:26 -07:00
Jonathan Rudenberg
a6da7f138c
Camelize some snake_case variable names
2013-03-28 20:12:23 -04:00
Daniel Robinson
ff04ce3ddf
Fixed typo in command description for pull
2013-03-27 10:02:11 -03:00
Jonathan Rudenberg
9518503ebe
Remove extraneous rand.Seed
2013-03-26 19:29:53 -04:00
Guillaume J. Charmes
004a5310d9
Try to fetch missing base only on "not found" error
2013-03-26 05:28:17 -07:00
Guillaume J. Charmes
91d78a10c3
#175 Add autodownload on run command
2013-03-26 03:05:10 -07:00
shin-
2333be46aa
Re-enabled help for run command and added client-side error messages when arguments are missing
2013-03-26 08:31:26 -07:00
Guillaume J. Charmes
7e540a083f
Merge pull request #164 from kencochrane/users
...
Fixed help commands that were printing double.
2013-03-25 20:18:30 -07:00
Solomon Hykes
f70bc2c98c
Cleaned up error checking of 'docker pull', to be symmetrical to 'docker push'
2013-03-25 18:48:57 -07:00
Ken Cochrane
c9d93cd333
fixed issue with rmi help showing help twice
2013-03-25 21:35:31 -04:00
Ken Cochrane
a9a439183d
fixed an issue with the help history command, printed twice
2013-03-25 21:33:56 -04:00