Victor Vieux
62b45f0827
fix can't connect message
...
with socket
2013-08-15 13:48:08 +00:00
Brian Olsen
c7cda86e84
Don't read from stdout in hijack unless attached. Fixes #1503
2013-08-15 02:54:06 +02:00
Michael Crosby
84a0274885
Merge pull request #1249 from unclejack/507-add_sigterm_sigint_handling_to_docker_run
...
#507 - make docker run handle SIGINT/SIGTERM
2013-08-14 15:00:19 -07:00
Victor Vieux
3c9f9945c9
prevent crash when .dockercfg not readable
2013-08-14 10:26:18 +00:00
Michael Crosby
4947e32acb
Merged 0.5.3 hotfix release back to master
...
Conflicts:
api.go
commands.go
network.go
2013-08-13 23:47:29 +00:00
Victor Vieux
2ba1300773
remove checkIfLogged
2013-08-13 14:02:49 +00:00
Victor Vieux
6cb908bb82
fix merge issue
2013-08-13 13:35:34 +00:00
Michael Crosby
c3773740d9
Bump to 0.5.3
2013-08-12 23:55:42 +00:00
Pascal Borreli
9b2a5964fc
Fixed typos
2013-08-12 18:53:06 +01:00
Michael Crosby
3e12349831
Merge pull request #1484 from titanous/use-range
...
Use ranged for loop on channels
2013-08-09 18:06:12 -07:00
Jonathan Rudenberg
7c50221de5
Use ranged for loop on channels
2013-08-09 20:42:20 -04:00
unclejack
641ddaeb03
add formatting directive to failure to stop container error
2013-08-09 23:27:34 +03:00
unclejack
2ba5c91547
minor cleanup for signal handling
2013-08-09 23:23:27 +03:00
unclejack
88cb9f3116
keep processing signals after the first one
2013-08-09 20:33:17 +03:00
Solomon Hykes
b8f8f9d07e
Merged 0.5.2 hotfix release back to master
2013-08-08 19:45:57 -07:00
Michael Crosby
e99a99eb6e
Bump to v0.5.2
2013-08-09 00:17:35 +00:00
Guillaume J. Charmes
6249cc3373
Merge pull request #1425 from dotcloud/simplify_ProgressReader
...
- Runtime: fix small \n error un docker build
2013-08-07 16:19:42 -07:00
Guillaume J. Charmes
429d2f85cb
Merge pull request #1445 from dsissitka/host
...
* Runtime: Updated the Docker CLI to specify a value for the "Host" header.
2013-08-07 15:38:50 -07:00
Colin Rice
10190be5d7
Add warning when net.ipv4.ip_forwarding = 0
...
Added warnings to api.go, container.go, commands.go, and runtime.go
Also updated APIInfo to return whether IPv4Forwarding is enabled
2013-08-07 18:28:39 -04:00
Guillaume J. Charmes
65a4e30825
Merge pull request #1093 from monnand/910-login-info
...
* Runtime: fixed #910 . print user name to docker info output
2013-08-07 15:09:55 -07:00
David Sissitka
416d098688
Updated my last commit to use tabs instead of spaces.
2013-08-07 05:35:38 -04:00
David Sissitka
6bbe66d2e6
Updated the Docker CLI to specify a value for the "Host" header.
2013-08-07 05:33:03 -04:00
Michael Crosby
d94b186080
Strip leading forward slash from resource
2013-08-06 16:09:54 +00:00
Michael Crosby
5b8cfbe15c
Add cp command and copy api endpoint
...
The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.
Closes #382
2013-08-06 16:09:54 +00:00
Michael Crosby
754ed9043d
Use mime types to parse Content-Type
2013-08-06 15:57:13 +00:00
Victor Vieux
ba17f4a06a
fix small \n error un docker build
2013-08-06 14:31:51 +00:00
Nan Monnand Deng
965de6ef50
fixing #910
2013-08-05 23:37:53 -04:00
Nan Monnand Deng
303490168f
Added index address into APIInfo.
2013-08-05 23:36:55 -04:00
Guillaume J. Charmes
590fc58de7
Update version.
2013-08-05 14:49:37 -07:00
Nan Monnand Deng
4179f25286
fixed #910 . print user name to docker info output
2013-08-05 17:25:29 -04:00
Victor Vieux
946bbee39a
rebase master
2013-08-05 16:25:42 +00:00
Victor Vieux
a97cf23355
add docs
2013-08-05 11:07:27 +00:00
Guillaume J. Charmes
4dcc0f316c
Merge pull request #1298 from crosbymichael/1246-auth-request
...
* Registry: Do not require login unless 401 is received on push
2013-08-02 17:39:54 -07:00
Michael Crosby
dae585c6e4
Return JSONError for HTTPResponse error
2013-08-03 00:27:58 +00:00
Guillaume J. Charmes
ead7eb619e
Merge pull request #1384 from crosbymichael/1326-build-without-cache
...
* Builder: Add no cache for docker build
2013-08-02 14:38:34 -07:00
Michael Crosby
3a123bc479
Add no cache for docker build
...
Add a new flag to disable the image cache when building images.
2013-08-02 16:18:54 +00:00
Guillaume J. Charmes
3b89d13aaf
Bump to v0.5.1
2013-07-31 10:53:36 -07:00
Victor Vieux
108635582f
rebase master
2013-07-31 15:32:08 +00:00
Michael Crosby
3043c26419
Return registy status code in error
...
Added Details map to the JSONMessage
2013-07-30 23:24:31 +00:00
Victor Vieux
99c27fa0dd
Merge branch 'master' into add_last_version-feature
2013-07-30 16:23:06 +00:00
Victor Vieux
e1fa989ec9
rebase master
2013-07-30 11:59:31 +00:00
Victor Vieux
0b57e4483a
Merge branch 'master' into 1237-improve_docker_top-feature
2013-07-30 11:51:16 +00:00
Victor Vieux
c99e8de5a4
Merge branch 'cleanup_signal_handling' of https://github.com/calavera/docker into calavera-cleanup_signal_handling
2013-07-30 11:14:36 +00:00
David Calavera
10e37198aa
Keep the loop to allow resizing more than once.
2013-07-29 11:13:59 -07:00
David Calavera
c8ec36d1b9
Remove unnecessary signal conditional.
2013-07-29 10:28:41 -07:00
David Calavera
88b6ea993d
Remove unused argument.
2013-07-27 10:17:57 -07:00
David Calavera
d4f7039793
Do not show empty parenthesis if the default configuration is missing.
2013-07-27 10:00:36 -07:00
Guillaume J. Charmes
9cc8b72a38
Merge pull request #1288 from dlintw/1286-improve-import-txz-description
...
Fixes #1286 improve-import-txz-description
2013-07-25 12:37:37 -07:00
Victor Vieux
01e98bf0dd
fix errors
2013-07-25 14:32:46 +00:00
Victor Vieux
f1dd299227
Use VT100 escape codes
...
:
2013-07-25 14:16:36 +00:00
Daniel YC Lin
8f6b6d5784
Fixes #1286
2013-07-25 15:36:32 +08:00
Guillaume J. Charmes
6ae3305040
Merge pull request #1277 from dotcloud/add_commands_unit_tests
...
* Tests: Reimplement old Commands unit tests in order to insure behavior
2013-07-24 15:24:51 -07:00
Victor Vieux
8742649aa7
improve client output
2013-07-24 17:10:59 +00:00
Victor Vieux
0e71e368a8
Add ID to JSONMessage in pull
...
Use goroutines to pull in parallel
If multiple images pulled at the same time, each progress is displayed on a new line
2013-07-24 15:41:34 +00:00
Victor Vieux
6057e6ad70
add kernel version
2013-07-24 13:36:55 +00:00
Victor Vieux
ca39f15fa3
bump master
2013-07-24 13:28:01 +00:00
Victor Vieux
4bc3328e80
bump master
2013-07-24 12:18:53 +00:00
Guillaume J. Charmes
bc823acc25
Reimplement old Commands unit tests in order to insure behavior
2013-07-23 17:27:49 -07:00
Victor Vieux
2e4d4c9f60
add since for polling, rename some vars
2013-07-23 15:41:19 +00:00
Victor Vieux
b5da816487
basic version of the /events endpoint
2013-07-23 15:41:19 +00:00
Victor Vieux
3bae188b8d
change dockercfg to json and support multiple auth remote
2013-07-23 15:07:18 +00:00
Victor Vieux
c81662eae4
Merge branch 'master' into 1237-improve_docker_top-feature
...
Conflicts:
docs/sources/api/docker_remote_api.rst
2013-07-22 16:22:11 +00:00
Victor Vieux
74a2b13687
fix error message when invalid directory
2013-07-22 14:52:05 +00:00
David Sissitka
1d02a7ffb6
Updated the stop command's docs.
2013-07-21 19:00:18 -04:00
unclejack
df86cb9a5c
make docker run handle SIGINT/SIGTERM
2013-07-20 13:47:13 +03:00
Victor Vieux
921c6994b1
add LXC version to docker info in debug mode
2013-07-19 16:36:23 +00:00
Victor Vieux
0bd534adcf
Merge pull request #1211 from dotcloud/new_logs
...
*Runtime: Logs are now synchronised
2013-07-19 06:43:29 -07:00
unclejack
25be79208a
create the cidfile before creating the container
...
This change makes docker attempt to create the container ID file and
open it before attempting to create the container. This avoids leaving
a stale container behind if docker has failed to create and open the
container ID file.
The container ID is written to the file after the container is created.
2013-07-19 16:03:45 +03:00
unclejack
64e74cefb7
add support for container ID files (a la pidfile)
2013-07-19 16:03:45 +03:00
Victor Vieux
cfec1c3e1b
add ps args to docker top
2013-07-19 10:06:32 +00:00
Victor Vieux
0afed3eded
handle -dev
2013-07-18 20:56:41 +00:00
Victor Vieux
39ff542142
Merge branch 'master' into add_last_version-feature
2013-07-18 20:51:31 +00:00
Victor Vieux
0089dd05e9
switch version to -dev
2013-07-18 20:50:04 +00:00
Victor Vieux
51f6c4a737
Merge pull request #1227 from dotcloud/bump_0.5.0
...
Bump to 0.5.0
2013-07-18 11:51:29 -07:00
Victor Vieux
1b0fd7ead3
add debug and simplify docker logs
2013-07-18 13:29:40 +00:00
Guillaume J. Charmes
de563a3ea3
Merge pull request #1194 from crosbymichael/build-verbose
...
* Builder: Add verbose output to docker build
2013-07-17 12:53:06 -07:00
Victor Vieux
f310b875f8
Merge branch 'master' of https://github.com/kencochrane/docker into kencochrane-master
2013-07-17 19:23:06 +00:00
Ken Cochrane
d0e8ca1257
updated with notes from @vieux
2013-07-17 13:46:11 -04:00
Guillaume J. Charmes
eefbadd230
Merge -b and -v options
2013-07-15 17:51:32 -07:00
Guillaume J. Charmes
bc21b3ebf0
Bump version to 0.5.0
2013-07-15 14:57:52 -07:00
Ken Cochrane
4174e7aa7a
updated the help commands on a few commands that were not correct
2013-07-12 13:55:26 -04:00
Sam Alba
cd0fef633c
Fixed tag option for "docker pull" (the option was ignored)
2013-07-12 10:42:54 -07:00
Victor Vieux
752f99e8a1
Merge pull request #977 from dotcloud/966-improve_docker_login_parameters-feature
...
* Client: Add options to docker login to be able to use it via script
2013-07-12 05:07:25 -07:00
Victor Vieux
8ff271fc74
Merge pull request #1192 from dotcloud/docker_port-fix
...
hotfix: fix broken docker port
2013-07-12 04:57:53 -07:00
Victor Vieux
9232d1ef62
Merge branch 'master' into list_container_processes-feature
2013-07-12 11:47:27 +00:00
Victor Vieux
e9011122fb
use http://get.docker.io/latest
2013-07-12 11:45:40 +00:00
Michael Crosby
474191dd7b
Add verbose output to docker build
...
Verbose output is enabled by default and
the flag -q can be used to suppress the verbose output.
2013-07-11 15:27:33 -09:00
Victor Vieux
976428f505
change output
2013-07-11 21:04:23 +02:00
Victor Vieux
affe7caf78
fix broken docker port
2013-07-11 19:28:15 +02:00
Victor Vieux
fc3a8e409d
change tag -> repo name in build usage
2013-07-10 22:44:31 +00:00
Sam Alba
59b785a282
Fixing missing tag field when pulling containers which does not exist
2013-07-09 16:45:32 -07:00
Sam Alba
837be914ca
Merge branch 'master' of github.com:dotcloud/docker into standalone_registry
2013-07-09 11:31:14 -07:00
Guillaume J. Charmes
ada0e1fb08
Merge pull request #1049 from dotcloud/1040_ignore_stderr_tests-fix
...
- Tests: Ignore stderr while doing tests
2013-07-09 10:32:24 -07:00
Sam Alba
019324015b
Moved parseRepositoryTag to the utils package
2013-07-09 08:06:10 -07:00
Victor Vieux
05d7f85af9
fix typo
2013-07-09 10:55:28 +00:00
Sam Alba
3e8626c4a1
Changed the tag parsing to it will work even if there is a port in the repos registry url (full qualified name for pushing on a standalone registry)
2013-07-08 17:20:41 -07:00
Victor Vieux
3a20e4e15d
add if to prevent crash
2013-07-08 18:19:12 +00:00
Victor Vieux
fd97190ee7
uses the terminal size to display search output, add -notrunc and fix bug in resize
2013-07-08 17:20:13 +00:00
Sam Alba
be49f0a118
Merging from master
2013-07-05 12:27:10 -07:00
Sam Alba
66a9d06d9f
Adding support for nicer URLs to support standalone registry (+ some registry code cleaning)
2013-07-05 12:20:58 -07:00
Caleb Spare
19121c16d9
Implement several golint suggestions, including:
...
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
2013-07-03 14:36:04 -07:00
Victor Vieux
64450ae3f8
add last version
2013-07-03 17:11:00 +00:00
Guillaume J. Charmes
96a1d7c645
Bump version to 0.4.8
2013-07-01 16:58:25 -07:00
Guillaume J. Charmes
79ee8b46f4
Merge pull request #1046 from dotcloud/1043-output_id_non_attach-fix
...
- Runtime: Make sure the ID is displayed usgin run -d
2013-07-01 16:49:43 -07:00
Victor Vieux
11e28842ac
change to top
2013-07-01 15:19:42 +00:00
Victor Vieux
3b5ad44647
rebase master
2013-07-01 12:31:16 +00:00
Solomon Hykes
ca497a82ab
Bump version to 0.4.7
2013-06-29 21:12:29 -07:00
shin-
e095a1572f
Allow push by ID when using a custom registry
2013-06-28 18:19:58 +02:00
Victor Vieux
2e79719622
add /proc to list running processes inside a container
2013-06-28 15:51:58 +00:00
Victor Vieux
a11fc9f067
Merge pull request #1032 from andrewsmedina/govet
...
following the 'go vet' suggestions for the docker package.
2013-06-28 05:27:53 -07:00
Guillaume J. Charmes
800d900688
Ignore stderr while doing tests
2013-06-27 15:25:31 -07:00
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