Solomon Hykes
fe0378e9b3
Rephrase changelog
2013-07-01 17:05:49 -07: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
55a7a8b8c9
Merge pull request #1092 from lopter/master
...
Fix TestGetInfo when there is more than one image in the test repository
2013-07-01 16:41:01 -07:00
Victor Vieux
d1d66b9c5f
Merge pull request #1078 from kstaken/fix_json_error
...
* Remote API: Small fix in /start if empty host config
2013-07-01 16:36:58 -07:00
Louis Opter
6dacbb451f
Fix TestGetInfo when there is more than one image in the test repository
...
See also #1089 , #1072 .
2013-07-01 15:06:08 -07:00
Guillaume J. Charmes
ead9cefadb
Merge pull request #1089 from dotcloud/multiple_test_images-fix
...
- Tests: Fix unit tests when there is more than one tag within the test image
2013-07-01 13:58:04 -07:00
Guillaume J. Charmes
185a2fc55e
Merge pull request #1086 from crosbymichael/1008-image-entrypoint
...
+ Builder: Add Entrypoint to builder and container config
2013-07-01 13:33:12 -07:00
Ken Cochrane
fb8fac6c60
Merge pull request #1088 from kpelykh/master
...
* Documentation: Update Docker Remote API client list to include Java library
2013-07-01 12:50:31 -07:00
Guillaume J. Charmes
b6f288a1ce
Fix unit tests when there is more than one tag within the test image
2013-07-01 11:45:45 -07:00
zettaset-kpelykh
aa9bec96b1
Issue #1087 Docker Java API client -- added java to Docker Remote API Client document
2013-07-01 11:28:40 -07:00
Michael Crosby
b16ff9f859
Add Entrypoint to builder and container config
...
By setting an entrypoint in the Dockerfile this
allows one to run an image and only pass arguments.
2013-07-01 05:34:27 -09:00
Victor Vieux
348c5c4838
Merge pull request #1085 from dotcloud/1076-doc_delete-fix
...
fix status code in doc
2013-07-01 06:30:21 -07:00
Victor Vieux
8dcc6a0280
fix status code in doc
2013-07-01 13:28:58 +00:00
Victor Vieux
5e029f7600
Merge pull request #1061 from proppy/fix-slices-ref
...
api,server: slice are already refs, no need to return ptr
2013-07-01 04:51:56 -07:00
Kimbro Staken
d8d33e8b8b
Adding check for content-type header
2013-06-30 10:46:09 -07:00
Solomon Hykes
b37f7d49d8
Documented release process for maintainers in hack/RELEASE.md
2013-06-29 22:08:25 -07:00
Solomon Hykes
d67d5dd963
Merge pull request #1065 from dotcloud/bump_0.4.7
...
Bump version to 0.4.7
2013-06-29 21:23:59 -07:00
Solomon Hykes
273e0d42b7
* Hack: change builder tests to always use the current unit test image, instead of hardcoding 'docker-ut'
2013-06-29 21:22:15 -07:00
Solomon Hykes
ca497a82ab
Bump version to 0.4.7
2013-06-29 21:12:29 -07:00
Solomon Hykes
b7226316c7
* Hack: move unit tests to a different source image, to work around issues when docker-ut has more than 1 tag.
2013-06-28 19:43:55 -07:00
Guillaume J. Charmes
84f41954ae
Merge pull request #1052 from lopter/master
...
Fix a couple critical bugs on the test suite
2013-06-28 17:00:51 -07:00
Johan Euphrosine
54da339b2c
api,server: slice are already refs, no need to return ptr
2013-06-28 12:41:09 -07:00
Sam Alba
ac37fcf6f3
Fixed conflicts
2013-06-28 12:36:59 -07:00
Sam Alba
893c974b08
Resolve conflict
2013-06-28 12:32:41 -07:00
Joffrey F
30342efa37
Merge pull request #700 from dotcloud/615-pushbyid
...
Allow to push/pull on independent registries (by repository or image ID)
2013-06-28 10:29:10 -07:00
Daniel Mizyrycki
6165c246d4
Merge pull request #1057 from dotcloud/973-testing-stabilization
...
testing|stabilization, issue 973: Use docker-golang PPA and lts-raring kernel
2013-06-28 09:54:06 -07:00
shin-
72befeef24
Fixed issue in registry.GetRemoteTags
2013-06-28 18:42:37 +02:00
Daniel Mizyrycki
af2a92f22b
testing|stabilization, issue 973: Use docker-golang PPA and lts-raring kernel
2013-06-28 09:23:25 -07:00
shin-
ad2f826a82
go fmt pass
2013-06-28 18:19:58 +02:00
shin-
e095a1572f
Allow push by ID when using a custom registry
2013-06-28 18:19:58 +02:00
shin-
c3dd6e1926
Several fixes and updates to make this work with latest changes in master
2013-06-28 18:19:58 +02:00
Guillaume J. Charmes
67ecd2cb82
Reenable writeflusher for pull
2013-06-28 18:19:58 +02:00
Guillaume J. Charmes
57d751c377
Remove https prefix from registry
2013-06-28 18:19:58 +02:00
shin-
50075106b6
Rolled back of previous commit (skip cert verification)
2013-06-28 18:19:58 +02:00
shin-
2a1f8f6fda
Ignore 'registry not found' when pushing on independent registries
2013-06-28 18:19:58 +02:00
shin-
1c817913ee
Skip certificate check (don't error out on self-signed certs)
2013-06-28 18:19:58 +02:00
shin-
de0a48bd6f
Tentative support for independent registries
2013-06-28 18:19:58 +02: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
Thatcher
e12a204bcc
Merge pull request #1028 from dhrp/bugfixes-on-docs
...
Bugfixes on documentation code
2013-06-27 19:01:13 -07:00
Louis Opter
fe014a8e6c
Always return the correct test image.
...
And not a *random* one from its history.
2013-06-27 18:01:20 -07:00
Louis Opter
aa8ea84d11
Fix a nil dereference in buildfile_test.go
...
The test runtime object wasn't properly initialized.
2013-06-27 18:01:10 -07:00
Sam Alba
3175e56ad0
URL schemes of both Registry and Index are now consistent
2013-06-27 17:55:17 -07:00
Guillaume J. Charmes
1a201d2433
Merge pull request #1035 from dotcloud/fix_panic_cast
...
- Runtime: fix panic with unix socket
2013-06-27 15:22:18 -07:00
Guillaume J. Charmes
750c94efbb
Merge pull request #1041 from unclejack/fix_minor_kernel_version_for_git_kernels
...
remove + from minor kernel version for kernels built from git
2013-06-27 15:21:34 -07:00
Guillaume J. Charmes
bd144a64f6
Make sure the ID is displayed usgin run -d
2013-06-27 12:48:25 -07:00
unclejack
5ed4386bbf
remove + from minor kernel version
2013-06-27 17:51:17 +03:00
Victor Vieux
9d3ec7b39f
fix panic with unix socket
2013-06-27 12:57:19 +00:00
Victor Vieux
e68a23bdc1
Merge pull request #1019 from dotcloud/1002-change_update_progress_bar_rate-feature
...
*Remote API: update progressbar every MIN(1%, 512kB)
2013-06-27 04:19:42 -07:00
Andrews Medina
6cf493bea7
following 'go vet' in utils pkg.
2013-06-27 01:40:13 -03:00
Andrews Medina
3d5633a0a0
following the 'go vet' suggestions.
2013-06-27 01:33:55 -03:00
Solomon Hykes
c4a44f6f0b
Merge pull request #1029 from lopter/master
...
* Hack: add a script to create the docker-ut image (busybox + socat)
2013-06-26 16:28:58 -07:00
Solomon Hykes
3e29695c1f
Merge pull request #602 from gabrtv/111-bind-mounts
...
+ Runtime: mount volumes from a host directory with 'docker run -b'
2013-06-26 15:59:35 -07:00
Solomon Hykes
46a9f29bae
- Runtime: small bugfixes in external mount-bind integration
2013-06-26 15:26:47 -07:00
Gabriel Monroy
67239957c9
- Fix a few bugs in external mount-bind integration
2013-06-26 15:10:38 -07:00
Solomon Hykes
d4e62101ab
* Runtime: better integration of external bind-mounts (run -b) into the volume subsystem (run -v)
2013-06-26 15:08:07 -07: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
cd0f22ef72
Merge pull request #1005 from dotcloud/1004-stdin_piping-fix
...
- Runtime: Fix issue when attaching stdin alone
2013-06-26 12:56:14 -07:00
Louis Opter
e5c0b31107
Add a script to create the docker-ut image
...
It's a fork of the mkimage-busybox.sh script and it adds socat to the
image. (socat being needed to add udp support, see #33 ).
This script, like mkimage-busybox.sh, probably only works on
Debian/Ubuntu.
2013-06-26 12:35:14 -07:00
Guillaume J. Charmes
5cdbd2ed7a
Merge pull request #1021 from errnoh/fix-test-filled-tmpfs
...
TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero....
2013-06-26 11:59:06 -07:00
Guillaume J. Charmes
b44e2e71aa
Merge pull request #1010 from dotcloud/1009-testing-hack
...
Testing|hack, issue #1009 : Update make hack environment
2013-06-25 17:07:18 -07:00
Thatcher Peskens
73afc6311d
Bugfixes on docs
...
* fixed canonical link from index
* added http redirect from builder/basics
* fixed url in redirect_home
2013-06-25 15:31:22 -07:00
Guillaume J. Charmes
6127d757a7
Add missing fprintf instead of printf
2013-06-25 10:39:11 -07:00
Erno Hopearuoho
fb86dcfb17
TestKill and TestMultipleContainers: run sleep instead of cat /bin/zero. fixes #737
2013-06-25 17:52:10 +03:00
Victor Vieux
bccf06c748
update progressbar every MIN(1%, 512kB)
2013-06-25 14:03:15 +00:00
Victor Vieux
862e223cec
Merge branch 'add-daemon-storage-path-param' of https://github.com/heavenlyhash/docker into heavenlyhash-add-daemon-storage-path-param
2013-06-25 13:33:45 +00:00
Ken Cochrane
e1e2ff52fe
Merge pull request #1018 from nahiluhmot/add-swipely-docker-gem
...
* Documentation: Added Swipely's `docker-api` gem to the table of Remote API Client Libraries.
2013-06-25 05:49:52 -07:00
Tom Hulihan
d03edf12e4
Added Swipely's docker-api gem to the table of Remote API Client
...
Libraries.
2013-06-25 08:26:41 -04:00
Guillaume J. Charmes
ec1dfc521c
Merge pull request #992 from unclejack/use_numeric_owner_for_tar
...
* Runtime: use --numeric-owner for Tar and Untar
2013-06-24 18:40:43 -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
Daniel Mizyrycki
cc63c1b584
Testing|hack, issue #1009 : Update make kack environment
2013-06-24 15:01:51 -07:00
Solomon Hykes
145c622aba
Merge pull request #990 from dotcloud/fix-tests-cgo
...
* Hack: remove dependency of unit tests on 'os/user', which cannot be used with CGO_ENABLED=0
2013-06-24 12:31:54 -07:00
Ken Cochrane
e2516c01b4
Merge pull request #932 from metalivedev/docs20130614
...
+ Documentation: Add terminology section
2013-06-24 10:39:25 -07:00
Victor Vieux
a3cb18d0f0
Merge pull request #1003 from dotcloud/fix_utils_tests
...
fix regression in utils tests introduced by #980
2013-06-24 09:14:13 -07:00
Victor Vieux
eca9f9c1a1
fix regrettion in utils tests introduced by #980
2013-06-24 16:12:39 +00:00
Daniel Mizyrycki
aee845682f
Merge pull request #998 from dotcloud/861-hack-vagrant
...
Fixing hack/Vagrantfile to use uname for aufs linux extras
2013-06-22 20:10:00 -07:00
Anthony Bishopric
e3dbe2f2ba
Fixing hack/Vagrantfile to use uname for aufs linux extras
...
Conflicts: hack/Vagrantfile
Resolved by: Daniel Mizyrycki <daniel@dotcloud.com >
2013-06-22 19:58:33 -07:00
Solomon Hykes
193888a2b4
Merge pull request #997 from dotcloud/bump_0.4.6
...
Bump version to 0.4.6
2013-06-22 13:41:48 -07:00
Solomon Hykes
9fe8bfb2bc
Bump version to 0.4.6
2013-06-22 13:36:45 -07:00
Solomon Hykes
fc25973371
Merge pull request #996 from dotcloud/995-volumes-crash
...
- Runtime: fix a bug which caused creation of empty images (and volumes) to crash.
2013-06-22 13:35:26 -07:00
Solomon Hykes
f9acd605dc
- Runtime: add regression test for issue #995
2013-06-22 13:33:43 -07:00
Solomon Hykes
290b1973a9
Fix a bug which caused creation of empty images (and volumes) to crash. FIxes #995 .
2013-06-22 12:29:42 -07:00
unclejack
d7d42ff4fe
use --numeric-owner for tar and untar
2013-06-22 18:53:10 +03:00
Solomon Hykes
ce9e50f4ee
Remove dependency on 'os/user', which cannot be used with CGO_ENABLED=0. This allows running the tests without CGO.
2013-06-21 19:40:42 -07:00
Solomon Hykes
ecd1fff9b0
Fix formatting in Changelog
2013-06-21 20:22:14 -06:00
Daniel Mizyrycki
b0f12bd5e8
Merge pull request #988 from dotcloud/526-packaging-ubuntu
...
Packaging|Ubuntu, issue #526 : Follow init permission pattern for docker.conf
2013-06-21 18:03:12 -07:00
Daniel Mizyrycki
5d61ec11e3
Packaging|Ubuntu, issue #526 : Follow init permission pattern for docker.conf
2013-06-21 17:57:45 -07: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
Solomon Hykes
d9d2540162
Small copy improvements in Changelog
2013-06-21 17:09:49 -07:00
Guillaume J. Charmes
f5d08fc49c
Bump version to 0.4.5
2013-06-21 17:01:01 -07:00
Victor Vieux
b24759af1c
Merge pull request #959 from dotcloud/947-add_ps_size_option
...
+ Client: Add docker ps -s option to display containers' sizes
2013-06-21 16:10:45 -07:00
Victor Vieux
4d1692726b
merge master and add doc
2013-06-22 01:08:20 +02:00
Victor Vieux
1581ed52ba
consistent codebase fix
2013-06-21 22:55:33 +00: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
Guillaume J. Charmes
169ef21de7
Remove deprecated INSERT from documentation
2013-06-21 14:12:52 -07:00
Guillaume J. Charmes
d0fa6927f8
Update api docs
2013-06-21 13:51:48 -07:00
Victor Vieux
63e8a4ac74
Merge pull request #970 from titanous/go1.1-unreachable
...
Remove code unreachable using Go 1.1
2013-06-21 10:44:40 -07:00
Victor Vieux
459230d3f9
Merge pull request #980 from ToothlessGear/fix-progressbar
...
* Client: fix progressbar output
2013-06-21 10:42:14 -07:00
Guillaume J. Charmes
070e1aec7e
Merge pull request #975 from unclejack/891-mark_command_as_optional
...
891 mark command as optional for docker run
2013-06-21 10:22:52 -07:00
Marcus Farkas
3ac68f1966
Client: better progressbar output
2013-06-21 17:19:27 +02:00
Victor Vieux
5ccde4dffc
Merge pull request #801 from dotcloud/build_docker_static
...
* Makefile: Add link flags in order to link statically and without debug symbols
2013-06-21 02:30:57 -07:00
Victor Vieux
dc847001a5
Merge pull request #888 from dotcloud/fix-auth
...
* Auth: fix auth small issue in case you change your password on index.io
2013-06-21 02:22:01 -07:00
Victor Vieux
639833aaf5
fix tests
2013-06-21 09:20:57 +00:00
Victor Vieux
8f2a80804c
Merge branch 'master' into fix-auth
2013-06-21 09:18:03 +00:00
Victor Vieux
78842970cf
Merge pull request #976 from dotcloud/fix_doc_post
...
fix typo in documentation
2013-06-21 02:14:39 -07:00
Victor Vieux
8e7d4cda07
fix doc post
2013-06-21 11:13:13 +02:00
Victor Vieux
5b3ad0023b
inverse if
2013-06-21 09:06:09 +00:00
unclejack
6a1279fb90
docs: mark command as optional for docker run
2013-06-21 11:07:14 +03:00
unclejack
66910a7602
mark command as optional for docker run
2013-06-21 11:06:41 +03:00
Solomon Hykes
d9bce2defd
- Builder: return an error when the build fails
2013-06-20 22:15:19 -07: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
4383d7b603
Merge pull request #953 from rhysh/952-swapaccount-docs
...
- Documentation: fix inconsistent/outdated instructions for setting up "swapaccount"
2013-06-20 20:49:44 -07:00
Solomon Hykes
89ae56820a
Merge pull request #965 from freegenie/patch-1
...
* Documentation: use sudo for quick install script
2013-06-20 20:48:42 -07:00
Solomon Hykes
17489cac1a
Merge pull request #972 from titanous/update-authors
...
Update AUTHORS
2013-06-20 20:42:52 -07:00
Solomon Hykes
c1a5318d8e
Merge branch 'build-add-file' into simpler-build-upload
...
Conflicts:
buildfile_test.go
2013-06-20 20:42:19 -07:00
Jonathan Rudenberg
b0b690cf23
Update AUTHORS
2013-06-20 23:29:20 -04:00
Solomon Hykes
86e83186b5
Merge branch 'master' into simpler-build-upload
...
Conflicts:
commands.go
2013-06-20 20:25:59 -07:00
Solomon Hykes
36d610a388
- Builder: fixed a regression in ADD. Improved regression tests for build behavior.
2013-06-20 20:20:16 -07:00
Jonathan Rudenberg
50b70eeb68
Remove code unreachable using Go 1.1
2013-06-20 23:19:44 -04:00
Solomon Hykes
cc0f59742f
* Builder: simplified unit tests. The tests are now embedded in the build itself. Yeah baby.
2013-06-20 20:16:39 -07:00
Solomon Hykes
09dd7f14de
Merge pull request #969 from dotcloud/fix_logs
...
- Remote API: Fix a bug which caused 'docker logs' to fail
2013-06-20 18:33:33 -07:00
Guillaume J. Charmes
b419699ab8
Use hijack for logs instead of stream
2013-06-20 18:18:36 -07:00
Guillaume J. Charmes
08825fa611
remove unused files
2013-06-20 16:31:11 -07:00
Solomon Hykes
02f0c1e46d
Bump version to 0.4.4
2013-06-20 14:33:59 -07:00
Eric Myhre
e44f62a95c
Add argument to allow setting base directory for docker daemon's storage to values other than "/var/lib/docker".
2013-06-20 16:29:54 -05: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
Fabrizio Regini
da06349723
Update README.md
2013-06-20 23:15:38 +02:00
Solomon Hykes
cff2187a4c
Fixed API version numbers in api docs
2013-06-20 12:30:02 -07:00
Guillaume J. Charmes
a078d3c872
Merge pull request #950 from dotcloud/bump_0.4.3
...
Bumped version to 0.4.3
2013-06-20 12:24:55 -07:00
Guillaume J. Charmes
da5bb4db96
Bumped version to 0.4.3
2013-06-20 12:23:14 -07:00
Daniel Mizyrycki
1b19939742
Merge pull request #946 from unclejack/speed_up_dockerbuilder_image_creation
...
dockerbuilder : batch apt-get install operations for speed
2013-06-20 11:51:43 -07:00
Guillaume J. Charmes
930e1d8830
Merge pull request #941 from dotcloud/makefile_test_subpackages
...
gofmt and test sub directories in makefile
2013-06-20 11:18:37 -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
21a5a6202d
Merge pull request #907 from dotcloud/go1.1_cookie_jar-feature
...
* Runtime: use go 1.1 cookiejar and remove ResetClient
2013-06-20 10:48:36 -07:00
Solomon Hykes
db60337598
Makefile: added missing -a option
2013-06-20 10:39:09 -07:00
Guillaume J. Charmes
c5be64fec4
Add link flags in order to link statically and without debug symbols
2013-06-20 10:33:54 -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
Solomon Hykes
d8f56352da
Merge pull request #961 from dotcloud/933-warning_rm-running
...
* Runtime: refuse to remove a running container
2013-06-20 10:25:02 -07:00
Guillaume J. Charmes
d1a3d020aa
Merge pull request #913 from dotcloud/fix_detach_eof
...
- Runtime: Impossible to detach from attached container fix
2013-06-20 10:21:19 -07:00
Guillaume J. Charmes
8807b7dd46
Merge pull request #909 from dotcloud/fix_auth_tests
...
Fix the auth tests
2013-06-20 10:14:55 -07:00
Daniel Mizyrycki
cd155a1f25
Merge pull request #962 from dotcloud/960-packaging-ubuntu
...
Packaging|ubuntu, issue #960 : Add docker PPA staging in release process
2013-06-20 09:03:15 -07:00
Daniel Mizyrycki
d8887f3488
Packaging|ubuntu, issue #960 : Add docker PPA staging in release process
2013-06-20 08:57:28 -07:00
Victor Vieux
1c841d4fee
add warning when you rm a running container
2013-06-20 15:45:30 +00:00
Victor Vieux
da199846d2
use strconv.ParseBool in getBoolParam
2013-06-20 14:34:58 +00:00
Victor Vieux
bd04d7d475
add ps -s
2013-06-20 14:19:50 +00:00
Victor Vieux
5f93aa0ecf
rebase master
2013-06-20 13:56:36 +00:00
Victor Vieux
05796bed57
update docs
2013-06-20 12:34:08 +00:00
Solomon Hykes
8a131dffb6
Merge pull request #948 from dotcloud/registry_pathencode
...
* Registry: Use opaque requests when we need to preserve urlencoding in registry requests
2013-06-19 22:41:16 -07:00
Solomon Hykes
79efcb545d
Merge branch 'master' into simpler-build-upload
2013-06-19 18:48:19 -07:00
Daniel Mizyrycki
88dcba3482
Packaging|ubuntu, issue #954 : Generate debian/changelog from main CHANGELOG.md
2013-06-19 16:32:51 -07:00
Guillaume J. Charmes
754609ab69
Merge pull request #945 from globalcitizen/master
...
Security warnings in LXC configuration
2013-06-19 15:06:48 -07:00
Solomon Hykes
d6ab71f450
* Remote API: updated docs for 1.3
2013-06-19 15:03:33 -07:00
Solomon Hykes
55edbcd02f
* Builder: remove duplicate unit test
2013-06-19 14:59:42 -07:00
Solomon Hykes
90dde9beab
*Builder: warn pre-1.3 clients that they need to upgrade. This breaks semver, but our API should still be in 0.X versioning, in which case semver allows breaking changes.
2013-06-19 14:59:28 -07:00
Rhys Hiltner
5fc1329b2f
the kernel needs "swapaccount=1" set - some docs are updated, this one seems to have slipped through
...
Fixes #952
2013-06-19 14:45:03 -07:00
Solomon Hykes
9c8085a0aa
Merge pull request #951 from dotcloud/add-fix
...
* Builder: correct the behavior of ADD when copying directories.
2013-06-19 14:36:09 -07:00
Solomon Hykes
507ea757a5
* Builder: correct the behavior of ADD when copying directories.
2013-06-19 14:26:11 -07:00
Guillaume J. Charmes
7e065aaacd
Merge pull request #917 from dotcloud/pull_pool
...
- Runtime: Forbid parralel push/pull for a single image/repo. Fixes #311
2013-06-19 14:11:29 -07:00
shin-
0312bbc535
Use opaque requests when we need to preserve urlencoding in registry requests
2013-06-19 13:49:45 -07:00
Solomon Hykes
a056f1deec
Merge pull request #924 from eliasp/remove-ifconfig-usage
...
* Documentation: replace `ifconfig` in docs with `iproute`
2013-06-19 13:20:35 -07:00
Solomon Hykes
fdaefe6997
Merge pull request #944 from hansent/patch-1
...
* Documentation: use https repo url to clone for dev setup instructions
2013-06-19 13:17:08 -07:00
unclejack
88279439af
batch apt-get install operations for speed
...
The dockerbuilder Dockerfile was installing one package per apt-get
install operation.
This changes it so that consecutive run apt-get install operations are
batched into a single operation.
2013-06-19 22:07:56 +03:00
Victor Vieux
2d6a49215c
add testall rule
2013-06-19 18:21:53 +00:00
Guillaume J. Charmes
a7e14a3065
hotfix: nil pointer uppon some registry error
2013-06-19 11:08:19 -07:00
Guillaume J. Charmes
a660cc0d01
Merge pull request #934 from dotcloud/fix-add-behavior
...
* Build: Stabilize ADD behavior
2013-06-19 10:56:39 -07:00
globalcitizen
788d66f409
Add note about lxc.cap.keep > lxc.cap.drop
2013-06-20 00:39:35 +07:00
globalcitizen
96988a37f5
Add healthy procfs/sysfs warnings
2013-06-20 00:37:08 +07:00
Solomon Hykes
b368d21568
Merge branch 'master' into fix-add-behavior
2013-06-19 10:31:50 -07:00
Thomas Hansen
c88b763e80
use https repo url to clone for dev setup instructions
...
the git clone line in the dev setup instructions does not work as is, unless the user has write access
2013-06-19 11:38:58 -05:00
Victor Vieux
ec3c89e57c
Merge pull request #849 from dotcloud/improve_progressbar_pull
...
* Client: HumanReadable ProgressBar sizes in pull
2013-06-19 08:02:40 -07:00
Victor Vieux
5dcab2d361
gofmt and test sub directories in makefile
2013-06-19 14:50:58 +00:00
Victor Vieux
5f7e98be20
Merge pull request #930 from andrewmunsell/patch-1
...
Fix Mac OS X installation instructions URL
2013-06-19 07:31:24 -07:00
Victor Vieux
d52af3f58f
Merge branch 'master' into add_unix_socket-feature
2013-06-19 12:49:27 +00:00
Victor Vieux
063c838c92
update docs
2013-06-19 12:48:50 +00:00
Victor Vieux
9632bf2287
add tests
2013-06-19 12:40:01 +00:00
Victor Vieux
dede1585ee
add the possibility to use multiple -H
2013-06-19 12:31:54 +00:00
Solomon Hykes
5be7b9af3e
* Builder: fixed the behavior of ADD to be (mostly) reverse-compatible, predictable and well-documented.
2013-06-18 20:28:49 -07:00
Andy Rothfusz
5183399f50
Added multilayer example image.
2013-06-18 19:31:35 -07:00
Andy Rothfusz
a780b7c6b5
New Terminology section and illustrations.
2013-06-18 19:31:35 -07:00
Daniel Mizyrycki
0ae778c881
Merge pull request #788 from samjsharpe/master
...
Vagrantfile: Add support for VMWare Fusion provider
2013-06-18 18:35:25 -07:00
Andrew Munsell
1f8b679b18
Fix Mac OS X installation instructions URL
2013-06-18 19:19:07 -06:00
Guillaume J. Charmes
ee5df76579
Merge pull request #885 from dotcloud/remove_bsdtar
...
* Runtime: Remove bsdtar dependency
2013-06-18 17:24:26 -07:00
Guillaume J. Charmes
b431720dac
Merge branch 'remove_bsdtar' of https://github.com/dotcloud/docker into remove_bsdtar
2013-06-18 17:23:22 -07:00
Guillaume J. Charmes
42ce68894a
Fix issue within TestDelete. The archive is now consumed by graph functions
2013-06-18 17:22:32 -07: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
6dccdd657f
remove offline mode from auth unit tests
2013-06-18 17:09:47 -07:00
Guillaume J. Charmes
34a434616a
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile.go
2013-06-18 16:12:30 -07:00
Elias Probst
bc9b91e501
Use the canonical 'ip' commands to make it easier for new 'iproute2' users to understand the usage.
2013-06-19 00:57:43 +02:00
Solomon Hykes
edbd3da33a
Merge pull request #927 from dotcloud/nicer-build-output
...
* Builder: nicer output for 'docker build'
2013-06-18 15:48:00 -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
Guillaume J. Charmes
84ceeaa870
Update documentaiton
2013-06-18 14:36:35 -07:00
Solomon Hykes
cdeaba2acf
Updated FIXME
2013-06-18 13:02:12 -07:00
Solomon Hykes
c0b82bd807
Fix incorrect docs for 'docker build'
2013-06-18 12:52:37 -07:00
Solomon Hykes
88e35b6f80
Merge pull request #926 from josephholsten/fix-znc-example
...
- Documentation: fix missing command in irc bouncer example
2013-06-18 12:37:21 -07:00
Guillaume J. Charmes
6e17cc45ea
Fix merge issue
2013-06-18 12:33:06 -07:00
Solomon Hykes
cb9d0fd3bc
Nicer output for 'docker build'
2013-06-18 12:26:56 -07:00
Victor Vieux
3adf9ce04e
add basic support for unix sockets
2013-06-18 18:59:56 +00:00
Elias Probst
c2e95997d4
Fixed #923 by replacing the usage of 'ifconfig' with 'ip a' where appropriate and added a note to use 'ip a' instead of 'ifconfig' for a screencast transscript.
2013-06-18 19:55:59 +02:00
Guillaume J. Charmes
808faa6371
* API: Send all tags on History API call
2013-06-18 10:31:07 -07:00
Solomon Hykes
6f511ac29b
Remove bsdtar dependency in various install scripts
2013-06-18 10:23:45 -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
Andy Rothfusz
702c3538a4
Merge pull request #921 from dhrp/docs-redirects-and-fixes
...
Fixes on documentation. LGTM
2013-06-18 09:58:24 -07:00
Victor Vieux
069a7c1e99
Merge pull request #914 from ToothlessGear/fix-version-output
...
* Client: Fix docker version's git commit output
2013-06-18 05:56:42 -07:00
Daniel Mizyrycki
2e7649beda
Merge pull request #920 from dotcloud/919-packaging
...
Packaging, issue 919: Bump version to 0.4.2
2013-06-18 01:08:03 -07:00
Sam J Sharpe
8281a0fa1c
Vagrantfile: Add support for VMWare Fusion provider
...
As a user who has blown $150 on VMWare Fusion and vagrant-vmware, I
would like to use my new shiny to hack on Docker. Docker already has a
multi-provider Vagrantfile, so adding another one presents little risk.
Known Issues:
- The docker install of a new kernel breaks the Vagrant shared folder.
- This seems to be because the VMWare hgfs module doesn't build
against a 3.8 kernel.
- I don't believe that shared folder support is actually in use
2013-06-18 06:19:14 +01:00
Thatcher Peskens
3491d7d2f1
Fixed on documentation.
...
* replaced previously removed concepts/containers and concepts/introcution by a redirect
* moved orphan index/varable to workingwiththerepository
* added favicon to the layout.html
* added redirect_home which is a http refresh redirect. It works like a 301 for google
* fixed an issue in the layout that would make it break when on small screens
2013-06-17 20:16:56 -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
02a002d264
Update documentation
2013-06-17 18:41:13 -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
02c291d13b
Fix bug on compression detection when chunck < 10bytes
2013-06-17 18:11:58 -07:00
Marcus Farkas
b25bcf1a66
fix docker version git output
2013-06-17 23:32:48 +00:00
Guillaume J. Charmes
fe204e6f48
- Runtime: Forbid parralel push/pull for a single image/repo. Fixes #311
2013-06-17 16:10:00 -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
Joseph Anthony Pasquale Holsten
2626d88a21
fix missing command in irc bouncer example
2013-06-17 14:50:58 -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
Daniel Mizyrycki
bd9bf9b646
Packaging|dockerbuilder, issue #761 : use docker-golang PPA. Add Dockerfile header
2013-06-17 14:08:50 -07:00
Victor Vieux
7b6f50772c
Merge pull request #912 from dotcloud/bump_0.4.1
...
Bumped version to 0.4.1
2013-06-17 14:06:17 -07:00
Guillaume J. Charmes
555552340d
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile_test.go
2013-06-17 14:01:32 -07:00
Solomon Hykes
6e2c32eb9a
Merge pull request #911 from dotcloud/add_port_redirection_doc
...
* Documentation: add port redirection doc
2013-06-17 13:57:08 -07:00
Solomon Hykes
22b0a38df5
Merge pull request #897 from dotcloud/fix-overlapping-add
...
* Builder: ADD improvements: use tar for copy + automatically unpack local archives
2013-06-17 13:32:34 -07:00
Solomon Hykes
cb58e63fc5
Typo
2013-06-17 14:28:04 -06:00
Solomon Hykes
8626598753
Added content to port redirect doc
2013-06-17 13:25:50 -07:00
Victor Vieux
36231345f1
add port redirection doc
2013-06-17 22:05:58 +02:00
Victor Vieux
e8f001d451
Bumped version to 0.4.1
2013-06-17 19:15:21 +00:00
Guillaume J. Charmes
13e03a6911
Fix the auth tests and add the offline mode
2013-06-17 11:29:02 -07:00
Victor Vieux
fde82f448f
use go 1.1 cookiejar and revome ResetClient
2013-06-17 18:13:40 +00:00
Guillaume J. Charmes
79b3265ef1
Merge branch 'master' into builder_server-3
...
Conflicts:
buildfile.go
2013-06-17 11:09:53 -07:00
Daniel Mizyrycki
389db5f598
Merge pull request #887 from dotcloud/761-packaging-dockerbuilder
...
Packaging, dockerbuilder: Automate pushing docker binary packages
2013-06-17 08:40:01 -07:00
Solomon Hykes
fe88b5068d
Merge branch 'master' into simpler-build-upload
2013-06-15 12:35:26 -07:00
Solomon Hykes
6746c385bd
FIXMEs
2013-06-15 12:24:20 -07:00
Solomon Hykes
f50e40008f
* Builder: added a regression test for #895
2013-06-15 11:35:56 -07: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
Solomon Hykes
cc7de8df75
Removed deprecated file builder_client.go
2013-06-15 09:30:52 -07:00
Solomon Hykes
30f604517a
Merge pull request #895 from dotcloud/build-fixes
...
- Builder: fix a bug which caused builds to fail if ADD was the first command
2013-06-15 09:23:41 -07:00
Solomon Hykes
080f35fe65
Fix a bug which caused builds to fail if ADD was the first command
2013-06-15 09:16:35 -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
Solomon Hykes
5b8287617d
+ Builder: ADD of a local file will detect tar archives and unpack them
...
into the container instead of copying them as a regular file.
* Builder: ADD uses tar/untar for copies instead of calling 'cp -ar'.
This is more consistent, reduces the number of dependencies, and
fixe #896 .
2013-06-14 16:43:39 -07:00
Solomon Hykes
5799806414
FIXMEs
2013-06-14 16:29:19 -07:00
Guillaume J. Charmes
76a568fc97
Fix merge issue
2013-06-14 16:08:08 -07:00
Solomon Hykes
14265d9a18
Various FIXME items
2013-06-14 15:11:34 -07:00
Solomon Hykes
17235eb089
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-14 15:07:05 -07:00
Solomon Hykes
7f118519eb
Remove duplicate 'WARNING'
2013-06-14 14:46:08 -07:00
Solomon Hykes
250e47e2eb
Merge branch 'dns_server_side'
...
+ Configure dns configuration host-wide with 'docker -d -dns'
+ Detect faulty DNS configuration and replace it with a public default
2013-06-14 14:39:05 -07:00
Guillaume J. Charmes
f413fb8e56
Merge pull request #857 from edx/856-vagrant-port-forwarding
...
* Vagrantfile: Add an option to forward all ports to the vagrant host that have been ex...
2013-06-14 14:37:55 -07:00
Guillaume J. Charmes
f0e43dcdb1
Merge pull request #607 from dotcloud/expose_api_port_vagrant-feature
...
* Vagrantfile: Add the rest api port to vagrantfile's port_forward
2013-06-14 14:35:53 -07:00
Guillaume J. Charmes
abf85b2508
Merge branch 'master' into remove_bsdtar
...
Conflicts:
docs/sources/contributing/devenvironment.rst
2013-06-14 14:34:30 -07:00
Guillaume J. Charmes
813771e6b7
Merge pull request #892 from unclejack/validate_memory_limits
...
* Runtime: validate memory limits & error out if it's less than 524288
2013-06-14 14:32:28 -07:00
unclejack
d3f83a6592
add test: fail to create container if mem limit < 512KB
2013-06-14 22:55:00 +03:00
Andy Rothfusz
7958f1f694
Add examples for local import.
2013-06-14 13:42:59 -06:00
Guillaume J. Charmes
4a02c6dab1
Merge pull request #816 from unclejack/524-fix_aufs_links_related_warnings
...
524 fix aufs links related warnings
2013-06-14 12:32:47 -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
Guillaume J. Charmes
60fd7d686d
Merge branch 'master' into improve_progressbar_pull
2013-06-14 12:01:40 -07:00
Solomon Hykes
c701de939f
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-14 11:58:46 -07:00
Guillaume J. Charmes
05b87d2d5b
Merge pull request #868 from dotcloud/postupload-endpoints-header
...
- Registry: Send X-Docker-Endpoints at the end of a push
2013-06-14 11:53:54 -07:00
Guillaume J. Charmes
78e4a385f7
Merge branch 'master' into postupload-endpoints-header
...
Conflicts:
server.go
2013-06-14 11:50:58 -07:00
unclejack
822abab17e
install aufs-tools when setting up the testing vagrant box
2013-06-14 21:41:12 +03:00
unclejack
f1d16ea003
install aufs-tools when setting up the hack vagrant box
2013-06-14 21:41:12 +03:00
unclejack
fb7eaf67d1
add aufs-tools package to dev env docs page
2013-06-14 21:41:12 +03:00
unclejack
e53721ef69
add aufs-tools to lxc-docker dependencies
2013-06-14 21:38:15 +03:00
unclejack
2f67a62b5b
run auplink before unmounting aufs
2013-06-14 21:38:15 +03:00
Guillaume J. Charmes
79fe864d9a
Update docs
2013-06-14 10:58:16 -07:00
Guillaume J. Charmes
6f7de49aa8
Add unit tests for tar/untar with multiple compression + detection
2013-06-14 10:47:49 -07:00
unclejack
9ee11161bf
validate memory limits & error out if less than 512 KB
2013-06-14 19:52:44 +03:00
Victor Vieux
90f6bdd6e4
update docs, remove config file on 401
2013-06-14 13:38:51 +00:00
Victor Vieux
e49f82b9e1
update docs
2013-06-14 10:10:26 +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
Daniel Mizyrycki
3384943cd3
Packaging, dockerbuilder: Automate pushing docker binary packages
2013-06-13 22:14:43 -07:00
Guillaume J. Charmes
2f14dae83f
Add build UT
2013-06-13 18:52:41 -07:00
Guillaume J. Charmes
f03ebc20aa
Fix issue with ADD
2013-06-13 18:42:27 -07: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
0425f65e63
Remove bsdtar by checking magic
2013-06-13 17:53:38 -07:00
Guillaume J. Charmes
452128f0da
Remove run() where it is not needed within the builder
2013-06-13 15:18:15 -07:00
Guillaume J. Charmes
f5fe3ce34e
Remove run from non-running commmands
2013-06-13 15:08:53 -07:00
Guillaume J. Charmes
d0084ce5f2
Remove run from the ADD instruction
2013-06-13 14:57:50 -07:00
Guillaume J. Charmes
2eaa0a1dd7
Fix non-tty run issue
2013-06-13 12:57:35 -07:00
Guillaume J. Charmes
8085754507
Merge pull request #751 from dotcloud/660-auth_client-feature
...
* Registry: Move auth to the client
2013-06-13 11:52:40 -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
Guillaume J. Charmes
42d1c36a5c
Fix merge issue
2013-06-13 10:25:43 -07:00
Guillaume J. Charmes
51a4b65101
Merge pull request #883 from unclejack/build-docker-with-go1.1.1
...
use Go 1.1.1 to build docker
2013-06-13 10:20:38 -07:00
Guillaume J. Charmes
30fb45c494
Merge pull request #799 from dotcloud/691-run_id-feature
...
* Runtime: allow docker run <name>:<id>
2013-06-13 10:14:40 -07:00
Victor Vieux
9cdd39e0d7
Merge branch 'master' into 691-run_id-feature
2013-06-13 13:18:43 +00:00
Victor Vieux
45a8945746
added test
2013-06-13 13:17:56 +00:00
Victor Vieux
697282d6ad
Merge pull request #804 from dotcloud/no_stdout_stale-fix
...
*Runtime: Fix stale command when stdout is not allocated
2013-06-13 04:22:29 -07:00
unclejack
78a76ad50e
use Go 1.1.1 to build docker
2013-06-13 08:59:41 +03: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
Guillaume J. Charmes
0bc1c6d57a
Merge pull request #826 from dotcloud/825-move_xino_shm-fix
...
- Runtime: fix aufs mount on ubuntu13.04+btrfs
2013-06-12 17:20:42 -07:00
Solomon Hykes
f57175cbad
FIXME: a loose collection of FIXMEs for internal use by the maintainers
2013-06-12 15:28:59 -07:00
Sam Alba
81a11a3c30
Update NOTICE
2013-06-12 15:50:30 -06:00
Sam Alba
04cca097ae
Update README.md
2013-06-12 15:50:09 -06:00
Andy Rothfusz
48897b5fa1
Merge pull request #845 from unclejack/841-update_docs_no_add_without_context
...
841 - docs: warn about the transmission of data to the docker daemon & ADD without context
2013-06-12 14:25:44 -07:00
Solomon Hykes
ecae342434
New roadmap item: advanced port redirections
2013-06-12 10:50:47 -07:00
Victor Vieux
f2383151cb
bump to master
2013-06-12 17:39:32 +00:00
Solomon Hykes
b4565af256
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-12 10:23:14 -07: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
Guillaume J. Charmes
0e6ec57996
Merge pull request #874 from fsouza/fix-build-newline
...
- Builder: don't ignore last line in Dockerfile when it doesn't end with \n
2013-06-12 10:15:00 -07:00
Guillaume J. Charmes
f37b158982
Merge pull request #877 from fsouza/fix-hijack
...
- Runtime: use in instead of os.Stdin in hijack
2013-06-12 10:14:37 -07:00
Francisco Souza
da54abaf2e
commands: use in instead of os.Stdin in hijack
2013-06-12 09:54:37 -03:00
Solomon Hykes
092c761cec
Merge pull request #853 from kencochrane/registry-api-1.1-fix
...
* Documentation: separate the registry and index API's into their own docs
2013-06-11 18:34:10 -07:00
Solomon Hykes
5edafd6284
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-11 11:21:57 -07:00
Solomon Hykes
d64f105b44
Added a readme explaining the role of each API
2013-06-11 10:39:02 -07:00
Victor Vieux
2d5eda5141
Merge pull request #864 from dotcloud/851-choose_public_port-feature
...
* Runtime: you can now specify public port (ex: -p 80:4500)
2013-06-11 10:11:10 -07:00
Solomon Hykes
be15d5f2d9
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-11 10:09:34 -07:00
Solomon Hykes
5918a5a322
More principles. Raw and unstructured to spawn discussion.
2013-06-11 09:27:36 -07:00
Solomon Hykes
f8af296e6f
Merge pull request #865 from dotcloud/errors_commands-fix
...
Display StatusText as error when empty body in commands.go
2013-06-11 09:16:54 -07:00
Solomon Hykes
432e18990b
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-11 08:58:23 -07:00
Francisco Souza
2e9403b047
build: don't ignore last line in Dockerfile when it doesn't end with \n
2013-06-11 11:39:06 -03:00
Victor Vieux
3ea6a2c7c3
add Michael Crosby to AUTHORS
2013-06-11 10:17:39 +00:00
Victor Vieux
20bf0e00e8
* Remote Api: Add flag to enable cross domain requests
2013-06-11 10:12:36 +00:00
Michael Crosby
dd53c457d7
Add OPTIONS to route map
...
Move the OPTIONS method registration into the existing
route map. Also add support for empty paths in
the map.
2013-06-10 16:10:40 -09:00
Michael Crosby
ac599d6528
Add explicit status response to OPTIONS handler
...
Write the http.StatusOK header in the OPTIONS
handler and update the unit tests to refer to the
response code using the const from the http package.
2013-06-10 14:44:10 -09:00
Andy Rothfusz
ca4597e9d7
Add links to libraries, fix #800
2013-06-10 15:22:34 -07:00
Andy Rothfusz
eeea9ac946
Add list of Docker Remote API Client Libraries. Fixes #800 .
2013-06-10 15:17:27 -07:00
Michael Crosby
0a28628c02
Add Cors and OPTIONS route unit tests
...
Move creating the router and populating the
routes to a separate function outside of
ListenAndServe to allow unit tests to make
assertions on the configured routes and handler
funcs.
2013-06-10 13:02:40 -09:00
Victor Vieux
bcc4754dc1
Merge pull request #869 from fsouza/fix-api-docs
...
docs/api/remote: fix rst syntax in the "Search images" section
2013-06-10 14:21:39 -07:00
Victor Vieux
66d9a73362
rebump
2013-06-10 21:05:54 +00:00
Andy Rothfusz
5712e37437
Merge pull request #840 from dhrp/just-fixed-some-links
...
Fixed some links. Closes #839 #838 #835
2013-06-10 13:51:43 -07:00
Francisco Souza
b1ed75078e
docs/api/remote: fix rst syntax in the "Search images" section
2013-06-10 16:07:57 -03:00
Joffrey F
47d7486bbe
Merge pull request #814 from dotcloud/708-pushpull-multislash
...
Support for special namespace 'src' (highland support)
2013-06-10 11:29:39 -07:00
shin-
d227af1edd
Escape remote names on repo push/pull
2013-06-10 11:28:27 -07:00
shin-
4e18010731
Support for special namespace 'src' (highland support)
2013-06-10 11:28:26 -07:00
shin-
db3242e4bb
Send X-Docker-Endpoints header when validating the images upload with the index at the end of a push
2013-06-10 11:21:56 -07:00
Guillaume J. Charmes
7169212683
Fix typo
2013-06-10 11:08:40 -07:00
Guillaume J. Charmes
2a6a1d439c
Merge pull request #867 from Turbo87/patch-1
...
Fixed broken link in README
2013-06-10 10:57:09 -07:00
Guillaume J. Charmes
8984aef899
Fix typo in docs
2013-06-10 09:32:31 -07:00
Guillaume J. Charmes
b103ac70bf
Allow multiple tab/spaces between instructions and arguments
2013-06-10 09:31:59 -07:00
Tobias Bieniek
37c20fa64b
Fixed broken link in README
2013-06-10 19:03:54 +03:00
Victor Vieux
ab0d0a28a8
fix errors when no body
2013-06-10 15:06:52 +00:00
Victor Vieux
0de3f1ca9a
add tests
2013-06-10 14:14:54 +00:00
Victor Vieux
95d66ebc6b
specify public port
2013-06-10 13:56:43 +00:00
Michael Crosby
393e873d25
Add Access-Control-Allow-Methods header
...
Add the Access-Control-Allow-Methods header so that
DELETE operations are allowed.
Also move the write CORS headers method before
docker writes a 404 not found so that the client
receives the correct response and not an invalid
CORS request.
2013-06-09 17:17:35 -09:00
Guillaume J. Charmes
956491f853
Merge pull request #855 from samjsharpe/fix_missing_hyphen
...
Build from Dockerfile on stdin requires a hyphen
2013-06-07 13:04:27 -07:00
Calen Pennington
302660e362
Add an option to forward all ports to the vagrant host that have been exported from docker containers
2013-06-07 15:56:39 -04:00
Sam J Sharpe
5e6cd21f8b
Build from Dockerfile on stdin requires a hypen
...
There is a missing hypen in the documentation:
`docker build < Dockerfile` will complain
`docker build - < Dockerfile` will not complain
2013-06-07 20:35:34 +01:00
Ken Cochrane
9e1cd37bbc
seperated the registry and index API's into their own docs
...
seperated the registry and index API's into their own docs and merged
in the index search api into the index api. Also renamed the original
registry api to registry_index_spec.
2013-06-07 13:42:52 -04: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
1e0738f63f
Make the progressbar human readable
2013-06-06 18:42:52 -07:00
Guillaume J. Charmes
f355d33b5f
Make the progressbar take the image size into consideration
2013-06-06 18:16:16 -07:00
Solomon Hykes
968e08a9ba
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-07 02:41:08 +02:00
Guillaume J. Charmes
2cc22de696
Update documentation for docker build
2013-06-06 16:48:36 -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
Guillaume J. Charmes
f4a4cfd2cc
Move isUrl to utils.IsURL
2013-06-06 15:50:09 -07:00
Guillaume J. Charmes
eaa2183d77
Fix issue EXPOSE override CMD within builder
2013-06-06 15:48:12 -07:00
Guillaume J. Charmes
31d2b258c1
Allow remote url to be passed to the ADD instruction within the builder
2013-06-06 15:40:46 -07:00
unclejack
4b3a381f39
docs: build: ADD copies just needed data w/ full path
2013-06-07 00:39:43 +03:00
Solomon Hykes
56473d4cce
Typo in MAINTAINERS file
2013-06-06 22:52:55 +02:00
unclejack
efa7ea592c
docs: warn about build data tx & ADD w/o context
...
This updates the documentation to mention that:
1. a lot of data may get sent to the docker daemon if there is a lot of
data in the directory passed to docker build
2. ADD doesn't work in the absence of the context
3. running without a context doesn't send file data to the docker
daemon
4. explain that the data sent to the docker daemon will be used by ADD
commands
2013-06-06 22:06:12 +03:00
Guillaume J. Charmes
afd325a884
Solve an issue with the -dns in daemon mode
2013-06-06 11:01:29 -07:00
Guillaume J. Charmes
a3f6054f97
Check for local dns server and output a warning
2013-06-06 11:01:09 -07:00
Sam Alba
da937bf214
Update README.md
2013-06-06 11:09:11 -06:00
Solomon Hykes
42b63eb818
Daniel Mizyrycki is maintainer of dockerbuilder, the official build environment for docker binary releases
2013-06-06 19:06:54 +02:00
Solomon Hykes
0d6db333d6
docker-build contrib script is deprecated by the new 'build' command
2013-06-06 19:05:21 +02:00
Solomon Hykes
3999465c85
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-06-06 19:04:17 +02:00
Daniel Mizyrycki
1cc4049e82
Merge pull request #827 from dotcloud/dev_environment_update
...
Update "Setting Up a Dev Environment" doc, with modern golang PPA and stable lxc kernel
2013-06-06 09:48:19 -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
a118ad90ed
changed to 12.04 and add kernel
2013-06-06 12:36:28 +00:00
Thatcher Peskens
0f23fb949d
Fixed some links
...
* Added Google group to FAQ on docs
* Changed IRC link
* Fixed link to contributing broken by 326faec
2013-06-05 18:06:51 -07:00
Thatcher
f1992eeea5
Merge pull request #817 from dhrp/blog-in-navigation
...
Modified the navigation in both website and documentaion to include the blog.
2013-06-05 17:28:19 -07:00
Guillaume J. Charmes
84d68007cb
Add -dns to docker daemon
2013-06-05 14:20:54 -07: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
97d5f525f4
hack/PRINCIPLES.md: a list of principles guiding Docker's design. The goal is to scale the decision-making in the project and remove @shykes as a bottleneck as much as possible
2013-06-05 17:27:53 +02:00
Solomon Hykes
2ea29ce0ef
hack/ROADMAP.md: a high-level roadmap. Make a pull request to suggest changes
2013-06-05 17:26:26 +02: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
Solomon Hykes
34c8b24211
Merge pull request #812 from dotcloud/809-progress_message-fix
...
* Remote API: Fix progress message in client
2013-06-05 07:27:31 -07:00
Victor Vieux
e3cc625315
update doc to newer go
2013-06-05 13:19:49 +00:00
Victor Vieux
f67ea78cce
move xino stuff to /dev/shm
2013-06-05 12:59:05 +00:00
Victor Vieux
6255112926
updated doc
2013-06-05 13:19:57 +02: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
Solomon Hykes
04050c4173
Merge pull request #818 from johncosta/ubuntu-1304-add-apt-repository
...
Remove provider specifc language
2013-06-05 02:40:09 -07: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
Guillaume J. Charmes
63e80384ea
Fix nil pointer on some situatuion
2013-06-04 14:35:32 -07:00
Guillaume J. Charmes
7ef9833dbb
Put back panic for go1.0.3 compatibility
2013-06-04 14:26:40 -07:00
Guillaume J. Charmes
c1ee9bf881
Merge pull request #808 from dotcloud/795-lintify
...
Cleanup source
2013-06-04 14:20:38 -07:00
John Costa
c000ef194c
Remove provider specifc language
2013-06-04 16:01:38 -04:00
Ken Cochrane
479ac9afa7
Merge pull request #802 from johncosta/ubuntu-1304-add-apt-repository
...
- Documentation: adding missing dependency to the ubuntu linux install page.
2013-06-04 11:55:34 -07:00
Thatcher Peskens
716892b95d
Modified the navigation in both website and documentaion to include the Blog.
2013-06-04 11:41:54 -07:00
Thatcher
d7a6485dfe
Merge pull request #796 from dhrp/added-and-fixed-links
...
Added and fixed some links (closes #502 )
2013-06-04 11:28:40 -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
Sam Alba
c566c8efc7
Merge pull request #810 from dotcloud/proxy-fix
...
fix regression on proxy
2013-06-04 08:46:40 -07:00
Victor Vieux
06b585ce8a
fix proxy
2013-06-04 15:44:27 +00:00
John Costa
e61af8bc62
some installations of ubuntu 13.04 (digital ocean Ubuntu 13.04 x64 Server in this case) require software-properties-common to be installed before being able to use add-apt-repository
2013-06-04 10:40:44 -04: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
Victor Vieux
b515a5a9ec
go vet
2013-06-04 13:24:58 +00:00
Michael Crosby
6d5bdff394
Add flag to enable cross domain requests in Api
...
Add the -api-enable-cors flag when running docker
in daemon mode to allow CORS requests to be made to
the Remote Api. The default value is false for this
flag to not allow cross origin request to be made.
Also added a handler for OPTIONS requests the standard
for cross domain requests is to initially make an
OPTIONS request to the api.
2013-06-03 21:39:00 -04:00
Guillaume J. Charmes
0ca8844398
Fix stale command with stdout is not allocated
2013-06-03 17:39:29 -07:00
Sam Alba
10ef4f7f39
Merge pull request #797 from dotcloud/registry-fix-missing-body-close
...
registry.go: Fixed missing Body.Close()
2013-06-03 14:43:50 -07:00
Sam Alba
cff3b37a61
Disabled HTTP keep-alive in the default HTTP client for Registry calls
2013-06-03 14:42:21 -07:00
Victor Vieux
d26a3b37a6
allow docker run <name>:<id>
2013-06-03 20:00:15 +00:00
Guillaume J. Charmes
82dd963e08
Minor changes in registry.go
2013-06-03 12:20:52 -07:00
Sam Alba
830c458fe7
Fixed missing Body.Close when doing some HTTP requests. It should improve some request issues.
2013-06-03 12:14:57 -07:00
Thatcher Peskens
38f29f7d0c
Changed some text on the website to include docker-club
...
Fixed a link in the FAQ on the docs
Fixed a detail in the Makefile for pushing the site to dotcloud
2013-06-03 11:45:19 -07: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
Guillaume J. Charmes
7a4408f608
Merge pull request #794 from dotcloud/780-diff-fix2
...
- Runtime: remove TrimLeft as it's go1.1
2013-06-03 10:41:08 -07:00
Victor Vieux
854039b6ba
remove TrimLeft as it's go1.1
2013-06-03 17:25:51 +00:00
Guillaume J. Charmes
070923b14f
Merge pull request #792 from dotcloud/780-diff-fix
...
- Runtime: fix Path corruption in 'docker diff'
2013-06-03 10:06:25 -07:00
Victor Vieux
71b1657e8d
added test
2013-06-03 17:02:57 +00:00
Guillaume J. Charmes
1bafe9da26
Merge pull request #793 from dotcloud/774-remove_login_check_on_pull-fix
...
- Registry: remove login check on pull
2013-06-03 09:37:02 -07: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
8243f2510e
Update test to reflect new ApiInfo struct
2013-06-03 06:44:00 -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
844a8db6c6
add debug
2013-06-03 12:21:22 +00:00
Victor Vieux
3dd1e4d58c
added docs and moved to api version 1.2
2013-06-03 12:09:16 +00:00
Victor Vieux
62c78696cd
bump to master
2013-06-03 11:06:13 +00:00
Victor Vieux
e16c93486d
fix Path corruption in 'docker diff'
2013-06-03 10:19:20 +00:00
Solomon Hykes
e42eb7fa8c
Meta: added Guillaume as primary maintainer for tty code
2013-06-02 23:42:18 -07:00
Solomon Hykes
cebfde9ea5
Merge pull request #787 from gasi/nodejs-centos-docs
...
* Documentation: Deploying a Node.js Web App on CentOS
* Documentation: small formatting improvements
2013-06-02 23:27:29 -07:00
Solomon Hykes
eff7a15bea
Merge pull request #785 from jweede/master
...
* Documentation: spelling correction in website
2013-06-02 23:14:09 -07:00
Daniel Gasienica
82dadc2005
Document installation of npm dependencies /ht @grigio
2013-06-02 20:10:22 -07:00
Guillaume J. Charmes
2d52d4d614
Merge pull request #789 from samjsharpe/fix-extra-brace
...
Removes a brace in the description of the wait command
2013-06-02 15:22:11 -07:00
Sam J Sharpe
ca5ae266b7
Removes a brace in the description of the wait command
2013-06-02 22:40:56 +01:00
Daniel Gasienica
464765b940
Add link at the beginning
2013-06-01 22:16:26 -07:00
Daniel Gasienica
e9ffc1e499
Add Node.js web app example using CentOS
2013-06-01 22:06:53 -07:00
Daniel Gasienica
4fb9a6eafb
Use code blocks
2013-06-01 22:03:41 -07:00
Daniel Gasienica
157547845a
Name examples consistently
2013-06-01 22:03:28 -07:00
Daniel Gasienica
2935ca7ee2
Use title case for consistency
2013-06-01 22:03:12 -07:00
Daniel Gasienica
23452f1573
Use em dash in title
2013-06-01 22:02:24 -07:00
Daniel Gasienica
f6f345b1fe
Fix typo
2013-06-01 21:55:01 -07:00
Daniel Gasienica
e3fd61ad74
Add more tags
2013-06-01 21:27:27 -07:00
Daniel Gasienica
01ce63aacd
Make style consistent
2013-06-01 21:26:58 -07:00
Daniel Gasienica
3ca9c11110
Add Mac OS X instructions for doc tools
2013-06-01 21:26:18 -07:00
Daniel Gasienica
b4df0b17af
Add make server command to preview docs
2013-06-01 21:25:51 -07:00
Jon Wedaman
7f65bf508e
Spelling correction in docs
2013-06-01 21:48:32 -04:00
Guillaume J. Charmes
a70dd65964
Move Termios struct to os specific file
2013-06-01 16:19:50 -07:00
Guillaume J. Charmes
3cc0963ad1
Remove unused constants
2013-06-01 15:55:52 -07:00
Guillaume J. Charmes
31eb01ae8a
Use uintptr instead of int for Fd
2013-06-01 15:55:05 -07:00
Guillaume J. Charmes
64f346779f
Remove cgo from term
2013-06-01 15:51:45 -07:00
Guillaume J. Charmes
078a19d725
Merge pull request #777 from dotcloud/bsdtar-env
...
Pass a guaranteed environment to bsdtar for predictable behaviour
2013-06-01 11:28:55 -07:00
Solomon Hykes
561ceac55d
* Runtime: pass a guaranteed environment to bsdtar for predictable behavior without depending on the underlying host configuration.
2013-05-31 22:25:48 -07:00
Guillaume J. Charmes
a373c770b6
Merge pull request #707 from unclejack/411-add-arch-field
...
411 add architecture field
2013-05-31 17:26:11 -07:00
Solomon Hykes
90b8c5ce67
Merge pull request #762 from dotcloud/761-packaging-dockerbuilder
...
Packaging: Ensure dockerbuilder can build docker PPA
2013-05-31 16:28:44 -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
f41d2ec4d9
Update api docs
2013-05-31 15:56:30 -07:00
Guillaume J. Charmes
1dae7a25b9
Improve the docker version and docker info commands
2013-05-31 15:53:57 -07:00
Daniel Mizyrycki
926c1d45aa
Merge pull request #533 from tianon/mkimage-debian
...
Update mkimage-debian.sh now that wheezy is officially the stable release
MD: Ref issue #447
2013-05-31 14:53:37 -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
Guillaume J. Charmes
7d167590bc
Merge pull request #766 from dotcloud/prevent_attach_stopped_container-feature
...
returns an error if the container we want to attach is not running
2013-05-31 14:41:57 -07:00
Solomon Hykes
76bb920449
Merge pull request #753 from dotcloud/registry_api_remove_teams
...
Remove teams from the registry API
2013-05-31 12:41:12 -07:00
Solomon Hykes
1ac36a3adf
Merge pull request #767 from gasi/master
...
Fix minor documentation error in ‘Running Redis Service’ example
2013-05-31 12:24:25 -07:00
Solomon Hykes
46bdbbabba
Merge pull request #755 from dotcloud/infrastructure2
...
+ Meta: organize the project infrastructure: servers, dns, email etc.
2013-05-31 12:23:55 -07:00
Daniel Gasienica
766a2db0d9
Add Daniel Gasienica to AUTHORS
2013-05-31 12:19:57 -07:00
Daniel Gasienica
fd0c501e6d
Fix minor documentation error in ‘Running Redis Service’ example
2013-05-31 12:19:49 -07:00
Victor Vieux
468e4c4b56
returns an error if the container we want to attach is not running
2013-05-31 15:34:23 +00:00
Guillaume J. Charmes
9eda9154a7
Merge pull request #764 from dotcloud/add_t_parameter_doc_build-fix
...
add missing -t parameter in the doc
2013-05-31 07:49:29 -07:00
Victor Vieux
2baea24879
add -t parameter in the doc
2013-05-31 14:40:09 +00:00
Victor Vieux
9060b5c2f5
added proper returns type, move the auto-prune in v1.1 api
2013-05-31 14:37:02 +00:00
Daniel Mizyrycki
1040225e36
Packaging: Ensure dockerbuilder can build docker PPA
2013-05-31 00:59:18 -07:00
Andy Rothfusz
1c091657d4
Merge pull request #745 from rogaha/doc_ssh_service_example_uptd
...
Add screencast summary. Makes it easy to reproduce steps.
2013-05-30 18:49:32 -07: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
caaea2e08f
* Build: never remove temporary images and containers
2013-05-30 16:24:26 -07:00
Solomon Hykes
de7ce7c10d
Merge pull request #752 from dotcloud/victor_maintainer
...
* Meta: make Victor Vieux a core maintainer
2013-05-30 16:19:18 -07:00
Victor Vieux
5aa95b667c
WIP needs to fix HTTP error codes
2013-05-30 22:53:45 +00:00
Solomon Hykes
c903a6baf8
* Builder: keep temporary images after a build fails, to allow caching
2013-05-30 15:52:09 -07:00
Solomon Hykes
4205b6bb1d
Merge branch 'master' into builder_server-2
2013-05-30 14:09:42 -07:00
Guillaume J. Charmes
ca6409059d
Merge pull request #749 from dotcloud/unit_tests_use_available_port-fix
...
- Test: if `address already in use` in unit tests, try a different port
2013-05-30 13:11:44 -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
054451fd19
NON-WORKING: Beginning of rmi refactor
2013-05-30 12:30:21 -07:00
Solomon Hykes
43f369ea0c
Organize the project infrastructure: servers, dns, email etc.
2013-05-30 12:28:24 -07:00
Guillaume J. Charmes
6d2e3d2ec0
Fix issue with CMD instruction within docker build
2013-05-30 12:21:57 -07:00
Guillaume J. Charmes
a4e6025cc1
Deprecate INSERT and COPY
2013-05-30 12:10:54 -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
Solomon Hykes
5324614410
Merge pull request #747 from riccieri/patch-1
...
+ * Documentation: add IP forwarding config to archlinux guide
2013-05-30 11:59:53 -07:00
Solomon Hykes
531b30119a
Remove special case for 'teams' from registry api
2013-05-30 11:37:58 -07:00
Solomon Hykes
fc788956c5
Make Victor Vieux a core maintainer
2013-05-30 11:31:49 -07:00
Solomon Hykes
2ed1092dad
* Documentation: removed 'building blocks' for now.
2013-05-30 11:26:47 -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
Guillaume J. Charmes
194fca8347
Merge pull request #750 from dotcloud/ensure_order_help-fix
...
Always display help in the same order
2013-05-30 07:40:59 -07:00
Victor Vieux
2c14d3949d
always display help in the same order
2013-05-30 14:08:26 +00:00
Victor Vieux
2a53717e8f
if address already in use in unit tests, try a different port
2013-05-30 13:45:39 +00:00
Solomon Hykes
97247c5c73
'docker build': remove INSERT command (should add support for remote sources in ADD instead)
2013-05-29 21:57:36 -07:00
Renato Riccieri Santos Zannon
b2084a9c59
Add IP forwarding config to archlinux guide
...
I had this small issue when following this guide on my Arch box, and I don't think it is specific to any configuration I have.
2013-05-30 01:56:08 -03:00
Guillaume J. Charmes
9a39404127
Fix issue with mkdir within docker build
2013-05-29 18:55:00 -07: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
Guillaume J. Charmes
faafbf2118
Fix ADD behavior on single files
2013-05-29 17:58:05 -07:00
Guillaume J. Charmes
881fdc59ed
Remove cache opti that cause wrong cache miss
2013-05-29 17:04:46 -07:00
Guillaume J. Charmes
560a74af15
Fix cache miss issue within docker build
2013-05-29 16:11:04 -07:00
Guillaume J. Charmes
b6165daa77
Create a layer for each operation (expose, cmd, etc)
2013-05-29 15:03:00 -07:00
Guillaume J. Charmes
ae0d555022
Fix autorun issue within docker build
2013-05-29 14:37:03 -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
92939569ab
Update build doc
2013-05-29 11:53:44 -07:00
Guillaume J. Charmes
d97fff60a9
Update docker build docs
2013-05-29 11:50:49 -07:00
Guillaume J. Charmes
33ea1483d5
Allow docker build from stdin
2013-05-29 11:43:29 -07:00
Roberto Gandolfo Hashioka
c7af917d13
updated the running ssh service example with the video's transcription
2013-05-29 11:29:30 -07:00
Guillaume J. Charmes
c05e9f856d
Error output fix for docker rmi
2013-05-29 11:11:19 -07:00
Guillaume J. Charmes
6cbc7757b2
Fix issue with unknown instruction within docker build
2013-05-29 10:53:24 -07:00
Guillaume J. Charmes
75d2244023
Update docker build UI
2013-05-29 10:51:47 -07:00
Victor Vieux
7e92302c4f
auto prune WIP
2013-05-29 17:27:32 +00:00
Victor Vieux
94f0d478de
refacto
2013-05-29 17:01:54 +00:00
Victor Vieux
2eb4e2a0b8
removed the -f
2013-05-29 16:31:47 +00:00
Guillaume J. Charmes
08e5f12954
Merge pull request #739 from dotcloud/push_issue-1
...
- Registry: Cereate a new registry object for each request (~session)
2013-05-29 09:22:12 -07: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
8f829eb5e4
Merge pull request #740 from dotcloud/ps_output-fix
...
fix ps output
2013-05-29 06:43:03 -07: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
dc1fa0745f
Improved wording of a maintainer's responsibilities
2013-05-28 22:33:48 -06:00
Solomon Hykes
3bac27f240
Fixed formatting of CONTRIBUTING.md
2013-05-28 22:26:42 -06:00
Solomon Hykes
286ce266b4
allmaintainers.sh: print a flat list of all maintainers of a directory (including sub-directories)
2013-05-28 20:55:07 -07:00
Solomon Hykes
aa42c6f2a2
Added Victor and Daniel as maintainers for api.go and Vagrantfile, respectively
2013-05-28 20:45:12 -07:00
Solomon Hykes
7181edf4b2
getmaintainer.sh: parse MAINTAINERS file to determine who should review changes to a particular file or directory
2013-05-28 20:44:41 -07:00
Solomon Hykes
c7985808ae
+ Runtime: stable implementation of 'docker build'
2013-05-28 19:40:38 -07:00
Solomon Hykes
83db1f36e3
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-28 19:39:20 -07:00
Solomon Hykes
24ddfe3f25
Documented who decides what and how.
2013-05-28 19:39:09 -07:00
Guillaume J. Charmes
b76d6120ac
Update tests with new cookies for registry
2013-05-28 17:35:10 -07:00
Guillaume J. Charmes
cd0de83917
Cereate a new registry object for each request (~session)
2013-05-28 17:12:24 -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
f65327555e
Merge pull request #731 from dotcloud/change_containersPs_containersJson_api-feature
...
* API: rename containers/ps to containers/json
2013-05-28 15:44:20 -07:00
Guillaume J. Charmes
7aa0d11171
Merge pull request #732 from dotcloud/718-return_no_such_container_as_404-fix
...
- API: return 404 on no such containers in /attach
2013-05-28 15:43:07 -07:00
Guillaume J. Charmes
54af053623
Make sure the last line of docker build is the image id
2013-05-28 15:40:22 -07:00
Guillaume J. Charmes
5b33b2463a
Readd build tests
2013-05-28 15:31:06 -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
2897cb0476
Add directory contents instead of while directory for docker build
2013-05-28 15:22:01 -07:00
Guillaume J. Charmes
fe0c0c208c
Send error without headers when using chunks
2013-05-28 15:21:06 -07:00
Solomon Hykes
522f399d68
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-28 14:57:50 -07:00
Solomon Hykes
326faec664
De-duplicated contribution instructions. The authoritative instructions are in CONTRIBUTING.md at the root of the repo.
2013-05-28 14:57:36 -07:00
Thatcher
28a30eda88
Merge pull request #702 from kim0/patch-2
...
Properly install ppa, avoid GPG key warning. Also closes #715
2013-05-28 14:17:59 -07:00
Solomon Hykes
387eb5295a
Removed deprecated SPECS directory
2013-05-28 14:13:20 -07:00
Thatcher
f3cc1d985e
Merge pull request #733 from meejah/master
...
Documentation: Use add-apt-repository instead of editing sources.list
2013-05-28 13:55:11 -07:00
Guillaume J. Charmes
cfb8cbe521
Small fix
2013-05-28 13:51:21 -07:00
Guillaume J. Charmes
582a9e0a67
Make docker build flush output each line
2013-05-28 13:47:04 -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
Guillaume J. Charmes
54db18625a
Add Extension() method to Compresison type
2013-05-28 13:37:49 -07:00
Andy Rothfusz
235ae9cd43
Merge pull request #709 from dhrp/links-to-kernel-doc
...
Added links to @jpetazzo 's kernel article, cleaned puppet doc layout
2013-05-28 12:07:46 -07:00
meejah
444f7020cb
Add sudo to commands.
2013-05-28 10:56:26 -06:00
meejah
525080100d
Use Ubuntu's built-in method to add a PPA repository, which correctly handles keys for you.
2013-05-28 10:54:32 -06:00
Victor Vieux
e5fa4a4956
return 404 on no such containers in /attach
2013-05-28 16:19:12 +00:00
Victor Vieux
4f9443927e
rename containers/ps to containers/json
2013-05-28 16:08:05 +00:00
Victor Vieux
8699805756
documentation
2013-05-28 15:49:57 +00:00
Victor Vieux
d9670f4275
invert status created
2013-05-28 15:06:26 +00:00
Ken Cochrane
3d8da80611
Merge pull request #729 from mmcgrana/fix-attach-api-docs
...
- Documentation: Fix attach API docs typo.
2013-05-28 06:53:41 -07:00
Mark McGranaghan
7d6ff7be12
Fix attach API docs.
2013-05-28 06:27:12 -07: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
5a36efb61f
fix json encoding, and use less casts
2013-05-26 23:45:45 +00:00
Victor Vieux
14212930e4
ensure valid json
2013-05-25 15:51:26 +00:00
Victor Vieux
c8c7094b2e
imporved error, push, import insert
2013-05-25 15:09:46 +00:00
Victor Vieux
cb0bc4adc2
add error handling
2013-05-25 14:12:02 +00:00
unclejack
5f69a53dba
set architecture to x86_64 by default
...
We're going to hardcode architecture to amd64 for now.
This is a stub and will have to be changed to set the actual arch.
2013-05-25 13:03:49 +03:00
Guillaume J. Charmes
d3b9733507
Merge pull request #657 from offby1/master
...
Minor tweaks to python_web_app.rst
2013-05-24 19:19:32 -07:00
Solomon Hykes
df23a1e675
* Registry: specified naming restrictions for usernames and repository names
2013-05-24 18:58:24 -07:00
Solomon Hykes
bb4b35a892
Fix a unit test broken by pull request #703
2013-05-24 18:32:21 -07:00
Solomon Hykes
194f487749
Added FIXME about possible race condition in a unit test
2013-05-24 18:31:47 -07:00
Solomon Hykes
9775f0bd14
* Remote API: send push/pull progress bar as json
2013-05-24 17:59:27 -07:00
Guillaume J. Charmes
a05bfb246f
Merge pull request #710 from dotcloud/tty_resize
...
+ Tty: Handle terminal size and resize in tty mode
2013-05-24 15:12:22 -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
Thatcher Peskens
c5f15dcd3d
Added links to @jpetazzo 's kernel article, removed quote indents from puppet.rst
2013-05-24 14:42:00 -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
064101d82e
Merge pull request #689 from dotcloud/help_command-fix
...
- Runtime: bring Error: Command not found: <command>
2013-05-24 12:01:19 -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
unclejack
2cf92abf0e
add arch field to image struct
2013-05-24 21:41:30 +03:00
Guillaume J. Charmes
48fd8ae79c
Merge branch '573-add_host_port-feature'
2013-05-24 11:36:05 -07:00
Guillaume J. Charmes
c167d603f2
Merge pull request #661 from dotcloud/573-add_host_port-feature
...
+ Runtime: add -H flag to listen/connect to different ip/port
2013-05-24 11:32:57 -07:00
Guillaume J. Charmes
bfb65b733a
Simplify the Host flag parsing
2013-05-24 11:31:36 -07:00
Guillaume J. Charmes
ae72c2f4d6
Gofmt
2013-05-24 11:31:19 -07:00
Guillaume J. Charmes
0146f65a44
Fix issue within auth test
2013-05-24 11:31:11 -07:00
Guillaume J. Charmes
deb9963e6e
Catch sigwinch client
2013-05-24 11:07:32 -07:00
Victor Vieux
d7b01c049d
bump to master
2013-05-24 16:50:16 +00: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
Ken Cochrane
1b5ab5afe0
Merge pull request #701 from kim0/patch-1
...
- Documentation: Updated ubuntu install docs to avoid hardcoding kernel 3.8 version, and allow Ubuntu updates to work
2013-05-24 08:58:02 -07:00
kim0
4e576f047f
Properly install ppa, avoid GPG key warning
2013-05-24 18:55:32 +03:00
kim0
8dc2ad2c06
Avoid hardcoding kernel 3.8 version, allow Ubuntu updates to work
2013-05-24 17:44:02 +02:00
Victor Vieux
58ce66e553
Merge pull request #699 from dotcloud/docker_login-fix
...
fix docker login when same username
2013-05-24 07:32:38 -07:00
Victor Vieux
1f23b4caae
fix docker login when same username
2013-05-24 14:23:43 +00:00
Victor Vieux
1c946ef003
fix: Can't lookup root of unregistered image
2013-05-24 13:03:09 +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
70d2123efd
Add resize endpoint to api
2013-05-23 19:33:28 -07:00
Guillaume J. Charmes
2cd00a47a5
remove unused function
2013-05-23 18:34:38 -07:00
Guillaume J. Charmes
e3f0429859
Add missing buildfile.go
2013-05-23 18:33:31 -07: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
ecb64be6a8
Merge pull request #695 from dtzWill/694-fix-merge-config
...
- Runtime: utils.go: Fix merge logic for user and hostname.
2013-05-23 16:00:34 -07:00
Will Dietz
83bc5b7435
utils.go: Fix merge logic for user and hostname.
...
Fall back to image-specified hostname if user doesn't
provide one, instead of only using image-specified
hostname if the user *does* try to set one.
(ditto for username)
Closes #694 .
2013-05-23 15:54:51 -05:00
Guillaume J. Charmes
822056094a
Bumped version to 0.3.3
2013-05-23 12:46:14 -07:00
Daniel Mizyrycki
d17c0b8368
Packaging: Update changelog for release 0.3.3
2013-05-23 12:45:00 -07:00
Solomon Hykes
e0e385ac69
* Build: leave temporary containers untouched after a failure to help debugging
2013-05-23 11:12:54 -06:00
Solomon Hykes
66f3a96983
* Remote API: add versioning
2013-05-23 10:44:36 -06: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
59835135c5
added warning
2013-05-23 16:15:36 +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
Solomon Hykes
dbb7b60cfc
Re-ordered and re-titled kernel requirement details to match the shortlist
2013-05-23 09:49:53 -06:00
Solomon Hykes
e77263010c
Simplified and clarified kernel install instructions
2013-05-23 09:47:20 -06:00
Solomon Hykes
2cf29893b3
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-23 09:33:34 -06:00
Solomon Hykes
5f30453bfe
Merge pull request #688 from pxlpnk/patch-1
...
Fixing two typos in the run help
2013-05-23 08:21:05 -07:00
Victor Vieux
cf35e8ed81
jsonstream WIP
2013-05-23 15:16:35 +00:00
Andreas Tiefenthaler
9e0427081e
Fixing two typos in the run help
2013-05-23 18:09:59 +03:00
Solomon Hykes
bc3675d471
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-23 09:01:40 -06:00
Victor Vieux
b45143da9b
switch to SI standard and add test
2013-05-23 10:29:09 +00:00
Victor Vieux
ed56b6a905
fix typo
2013-05-23 09:35:20 +00:00
Guillaume J. Charmes
0f135ad7f3
Start moving the docker builder into the server
2013-05-22 20:07:26 -07:00
Thatcher
422edd513a
Merge pull request #683 from rogaha/doc_meta_info_update
...
Looks good. Thanks! Closes #637
2013-05-22 19:09:32 -07:00
rogaha
18cb5c9314
added/modifed tittle, description and keywords
...
changed the title prefix to sufix + Documentation
2013-05-22 17:52:48 -07:00
Thatcher
4d80924f7c
Merge pull request #681 from dhrp/680-fix-readme-image
...
Fix broken image on README, closes #680
2013-05-22 16:09:21 -07:00
Thatcher Peskens
f008d1107c
Fix broken image on README, closes #680
2013-05-22 16:04:33 -07:00
Eric Hanchrow
056698b676
Use 127.0.0.1 instead of hostname in the "access the web app" section.
2013-05-22 12:54:50 -07:00
Eric Hanchrow
b4198de6bf
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
docs/sources/examples/python_web_app.rst
2013-05-22 12:52:14 -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
Ken Cochrane
1ccc7bdd90
Merge pull request #668 from christophercurrie/patch-1
...
- Documentation: Fix typos in the python web app example docs.
2013-05-22 07:52:46 -07:00
Victor Vieux
52113cc443
Merge pull request #670 from dotcloud/669-wrong_content_type_create-fix
...
Fix content type in doc
2013-05-22 06:54:39 -07:00
Victor Vieux
949a649cc2
fix content type in doc
2013-05-22 13:49:12 +00:00
Victor Vieux
6fce89e60b
bump to master
2013-05-22 13:41:29 +00:00
Christopher Currie
5818813183
Apparent typos in the docs.
2013-05-21 21:45:27 -06: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
e6e13d6ade
Merge pull request #658 from dotcloud/builder_client_doc
...
Builder client doc
2013-05-20 18:14:44 -07:00
Guillaume J. Charmes
3f22842542
Remove no longer needed tests
2013-05-20 17:54:54 -07:00
Guillaume J. Charmes
218812eb3c
Update docker builder doc
2013-05-20 17:52:39 -07:00
Guillaume J. Charmes
d37dea318e
Merge pull request #653 from dotcloud/builder_client
...
* Builder: Move the Builder to the client
2013-05-20 17:50:17 -07:00
Guillaume J. Charmes
49505c599b
Fix an issue trying to pull specific tag
2013-05-20 17:30:33 -07:00
Guillaume J. Charmes
f35f084059
Use pointers for the object methods
2013-05-20 16:35:28 -07:00
Eric Hanchrow
3a9ef5f9bb
Install curl; nix stray backslash; use proper IP address
2013-05-20 16:31:39 -07:00
Guillaume J. Charmes
0d2fb29537
Merge fix
2013-05-20 16:21:35 -07:00
Guillaume J. Charmes
13e687e579
Allow multiple syntaxes for CMD
2013-05-20 16:00:51 -07:00
Guillaume J. Charmes
b06784b0dd
Make docker client an interface
2013-05-20 16:00:16 -07:00
Guillaume J. Charmes
d756ae4cb3
Tag all images after pulling them
2013-05-20 15:19:05 -07:00
Guillaume J. Charmes
c6bc90d02d
Isolate run() from commit
2013-05-20 15:02:32 -07:00
Guillaume J. Charmes
b51303cddc
Make sure to have a command to execute upon commit
2013-05-20 13:50:50 -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
bebbbf914b
Merge pull request #625 from dotcloud/remove-hijack
...
Remove hijack from api when not necessary
2013-05-20 11:27:07 -07:00
Guillaume J. Charmes
372d81c325
Merge remove-hijack
2013-05-20 11:07:34 -07:00
Guillaume J. Charmes
ae9d7a5167
Avoid cast each write for flusher
2013-05-20 10:58:35 -07:00
Guillaume J. Charmes
0bb54813d4
Merge pull request #652 from unclejack/fix-compilation-on-linux
...
fix compilation on linux
2013-05-20 10:55:17 -07:00
unclejack
1b007828c9
fix compilation on linux
2013-05-20 20:43:09 +03:00
Guillaume J. Charmes
98b0fd173b
Make the printflfush an interface
2013-05-20 10:22:50 -07:00
Guillaume J. Charmes
2879ef4642
Merge pull request #639 from fsouza/fix-utils-darwin
...
utils: fix compilation on Darwin
2013-05-20 10:10:30 -07:00
Ken Cochrane
b3101beb47
Merge pull request #645 from fsouza/fix-api-docs
...
- Documentation: remove trunc_cmd from /containers/ps example no longer needed.
2013-05-20 07:52:22 -07:00
Ken Cochrane
580df1dfc6
Merge pull request #646 from kirang89/master
...
- Documentation: Fixed typos in README
2013-05-19 16:53:33 -07:00
Guillaume J. Charmes
0f312113d3
Move docker build to client
2013-05-19 10:46:24 -07:00
Kiran Gangadharan
0b785487fe
Fixed typos
2013-05-19 21:04:34 +05:30
Francisco Souza
8291f8b85c
docs/remote_api: remove trunc_cmd from /containers/ps example
...
Apparently, this parameter does not exist anymore.
2013-05-19 11:57:45 -03:00
Ken Cochrane
6471fd3825
Merge pull request #644 from philspitler/master
...
- Documentation: Fixed typo in remote api docs
2013-05-19 06:41:26 -07:00
Phil Spitler
ea7fdecd41
Fixed typo in remote API doc
2013-05-19 09:37:02 -03:00
Francisco Souza
2b55874584
utils: fix compilation on Darwin
...
Although Docker daemon does not work on Darwin, the API client will have
to work. That said, I'm fixing the compilation of the package on Darwin.
2013-05-19 00:02:42 -03:00
Ken Cochrane
66e9f155c3
Merge pull request #632 from jpetazzo/626-kernel-docs
...
+ Documentation: Added a section for Kernel requirements to the Docker Docs.
2013-05-18 07:53:45 -07:00
Victor Vieux
6102552d61
Merge branch 'master' into 610-improve_rmi-feature
2013-05-18 14:29:37 +00:00
Victor Vieux
d7673274d2
check if the image to delete isn't parent of another
2013-05-18 14:29:32 +00:00
Victor Vieux
0143be42a1
add flush after each write when needed
2013-05-18 14:03:53 +00:00
Thatcher Peskens
537cce16f2
Added a "we are hiring" to the frontpage of the docker website, and fixed two broken links in the docs.
2013-05-17 19:35:46 -07:00
Jérôme Petazzoni
6301373c68
Add some details about pre-3.8 kernels
2013-05-17 18:58:00 -07:00
Jérôme Petazzoni
72360b2cdf
Add information about kernel requirements
...
This page will be helpful for people who:
- want run run a custom kernel
- want to enable memory/swap accounting on Debian/Ubuntu
2013-05-17 18:57:56 -07:00
Ken Cochrane
45c5180516
Merge pull request #631 from garethr/puppet_usage_docs
...
+ Documentation: Added a section on how to use Docker with puppet.
2013-05-17 13:43:17 -07:00
Victor Vieux
f01990aad2
fix
2013-05-17 17:57:44 +00:00
Guillaume J. Charmes
ffb38ce0ad
Merge pull request #633 from dotcloud/fix_insert
...
Fix insert
2013-05-17 10:16:03 -07:00
Victor Vieux
3703a65405
fixed insert
2013-05-17 17:09:09 +00:00
Gareth Rushgrove
55dd0afb5d
add instructions for using docker with puppet
2013-05-17 17:08:37 +01:00
Victor Vieux
1b0b962b43
add login check before pull user's repo
2013-05-17 13:23:12 +00:00
Guillaume J. Charmes
08121c8f6b
Update Push to reflect the correct API
2013-05-16 14:33:29 -07:00
Guillaume J. Charmes
6145812444
Update tests to reflect new behavior
2013-05-16 14:33:10 -07:00
Guillaume J. Charmes
f498dd2a2b
- Registry: Fix issue preventing to pull specific tag
2013-05-16 12:29:16 -07:00
Guillaume J. Charmes
f29e5dc8a1
Remove hijack from api when not necessary
2013-05-16 12:09:06 -07:00
Guillaume J. Charmes
db1e965b65
Merge fixes + cleanup
2013-05-16 11:27:50 -07:00
Guillaume J. Charmes
2ae8aaa106
Merge branch 'master' into 610-improve_rmi-feature
2013-05-16 11:15:16 -07:00
Guillaume J. Charmes
e86fe7e5af
Merge pull request #622 from dotcloud/616-support_wider_range_bool-feature
...
* API: Support wider range of bool parameters in the api: 1 or 0 -> 1/True/true or 0/False/false
2013-05-16 10:37:23 -07:00
Victor Vieux
0c5443571d
1 or 0 -> 1/True/true or 0/False/false
2013-05-16 13:45:29 +00:00
Thatcher
6677c7964a
Merge pull request #620 from dhrp/documentation-review
...
Pulling the installation documentation update. Includes some timely fixes of broken links.
2013-05-15 20:12:09 -07:00
Thatcher Peskens
8454a86e97
Mostly changes to the html, moved pages, fixed links.
...
* Moved the introduction page to the en/latest/index.html home of the documentation and pointed all links there
* Fixed a broken link from+to homepage
* Fixed the javascript of the documentation navigation to allow expand and collapse multiple times.
* Fixed the one typo Andy pointed out
2013-05-15 20:00:20 -07:00
Guillaume J. Charmes
fef816163c
Merge pull request #618 from titanous/cleanup
...
Misc. cleanup
2013-05-15 18:05:31 -07:00
Guillaume J. Charmes
f53ec3373d
Merge pull request #604 from dotcloud/603-docker-ci
...
+ Buildbot: testing; issue #603 : Create AWS testing buildbot instance for docker CI
2013-05-15 18:05:02 -07:00
Guillaume J. Charmes
0ad34c6cd5
Merge pull request #605 from dotcloud/251-packaging-debian
...
* Packaging: packaging-debian; issue #251 : Update files for prerelease
2013-05-15 18:04:26 -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
Guillaume J. Charmes
d8bf5af79b
Merge pull request #578 from dotcloud/registry-update-tests
...
+ Registry: Allow INDEX override
2013-05-15 18:00:13 -07:00
Guillaume J. Charmes
7cd7dcda0b
Merge pull request #608 from dotcloud/split_subpackage
...
* Project: Split the project into sub-packages
2013-05-15 17:59:10 -07:00
Guillaume J. Charmes
1b04ccf62c
Disable registry unit tests
2013-05-15 17:57:53 -07:00
Guillaume J. Charmes
10f5b6486c
Update utils_test.go
2013-05-15 17:46:01 -07:00
Guillaume J. Charmes
822cf67dae
Remove test file
2013-05-15 17:44:37 -07:00
Guillaume J. Charmes
f3bab52df4
Move getKernelVersion to utils package
2013-05-15 17:40:47 -07:00
Guillaume J. Charmes
10e19e4b97
Update tests to reflect new AuthConfig
2013-05-15 17:31:11 -07:00
Guillaume J. Charmes
95dd6d31a4
Move authConfig from runtime to registry
2013-05-15 17:17:33 -07:00
Thatcher Peskens
b5c1b17b50
Updated getting started on website.
2013-05-15 16:19:18 -07:00
Thatcher Peskens
2ebbd2d636
Clean up of unnecessary files.
2013-05-15 16:13:20 -07:00
Thatcher Peskens
ce35f5d899
Updated the entire installation section text, checked everything, cleaned up rackspace installation.
2013-05-15 16:11:59 -07:00
Guillaume J. Charmes
bb85ce9aff
Allow to change login
2013-05-15 13:39:24 -07:00
Guillaume J. Charmes
dc9d6c1c1f
Upload images only when necessary
2013-05-15 13:22:57 -07:00
Jonathan Rudenberg
aa0d40747c
Remove broken, redundant struct tag
2013-05-15 16:02:24 -04:00
Jonathan Rudenberg
3a339b2bb3
Update AUTHORS
2013-05-15 15:57:21 -04:00
Jonathan Rudenberg
52ef89f9c2
Fix mistaken call to fmt.Println
2013-05-15 15:52:19 -04:00
Jonathan Rudenberg
04748a7766
Fix logic flaw in builder.mergeConfig
2013-05-15 15:51:04 -04:00
Guillaume J. Charmes
97880a223e
Move httpClient within registry object
2013-05-15 19:22:08 +00:00
Guillaume J. Charmes
2f4de3867d
Reenable docker push
2013-05-15 19:21:37 +00:00
Guillaume J. Charmes
398a6317a0
Remove stdout from registry
2013-05-15 18:50:52 +00:00
Guillaume J. Charmes
49b61af1f8
Refactor registry Push
2013-05-15 18:30:40 +00:00
Victor Vieux
f27415540f
rename client to DockerCli to prepare the split CLI/API
2013-05-15 14:16:46 +00:00
Victor Vieux
c80448c4d1
improve rmi
2013-05-15 13:51:50 +00:00
Guillaume J. Charmes
828d1aa507
Begin to implement push with new project structure
2013-05-15 03:27:15 +00:00
Guillaume J. Charmes
e7077320ff
Update tests to reflect new project structure
2013-05-15 01:52:09 +00:00
Guillaume J. Charmes
9bb3dc9843
Split registry into subpackage
2013-05-15 01:41:39 +00:00
Victor Vieux
c75942c79d
add 4243 port forward
2013-05-15 02:41:19 +02:00
Guillaume J. Charmes
2e69e1727b
Create a subpackage for utils
2013-05-14 22:37:35 +00:00
shin-
539c876727
Make tests less verbose
2013-05-14 22:00:53 +00:00
shin-
e6324ff400
Added small doc page for DOCKER_INDEX_URL variable
2013-05-14 22:00:24 +00:00
shin-
17ad00a35e
gofmt pass
2013-05-14 22:00:24 +00:00
shin-
6c7dc1de86
Repository name can not exceed 30 characters
2013-05-14 22:00:24 +00:00
shin-
20a57f15b9
Added login/account creation tests
2013-05-14 22:00:24 +00:00
shin-
54871e3683
Added test for PushRepository
2013-05-14 22:00:24 +00:00
shin-
2b620efffd
Allow index server address to vary during execution
2013-05-14 22:00:24 +00:00
shin-
fc1d1d871b
Find docker index URL in ENV before using default value. Unit tests for docker pull
2013-05-14 22:00:24 +00:00
Daniel Mizyrycki
341739d916
packaging-debian; issue #251 : Update files for prerelease
2013-05-14 03:28:59 -07:00
Daniel Mizyrycki
085ee6fcc4
testing; issue #603 : Create AWS testing buildbot instance for docker CI
2013-05-13 23:10:00 -07:00
Guillaume J. Charmes
d586662ce5
Merge pull request #598 from unclejack/build-docker-with-go1.1
...
* Dockerbuilder - build docker using Go 1.1
2013-05-13 15:20:13 -07:00
unclejack
48fcde8193
build docker using Go 1.1
2013-05-14 01:10:24 +03:00
Guillaume J. Charmes
ccc4fae30a
Merge pull request #586 from tbikeev/master
...
* Vagrant: AWS region and ami name can now be set as ENV variables.
2013-05-13 14:06:48 -07:00
Ken Cochrane
01cecfe2f3
Merge pull request #588 from kencochrane/rackspace-docs
...
+ Documentation: Added install instructions for RackSpace cloud using Ubuntu 12.04, 12.10, 13.04 and fixed a few minor issues with the ubuntu install docs.
2013-05-13 14:06:15 -07:00
Guillaume J. Charmes
3491957e35
Merge pull request #597 from dotcloud/589-volumes_crash-fix
...
- Runtime: Make sure that the layer exists prior to store it
2013-05-13 13:09:03 -07:00
Guillaume J. Charmes
be9dd7b85f
Make sure that the layer exists prior to store it
2013-05-13 13:08:16 -07:00
Guillaume J. Charmes
edc7c092d9
Merge pull request #551 from jpetazzo/471-cpu-limit
...
+ Runtime: implement "-c" option to allocate a number of CPU shares to a container
2013-05-13 11:59:09 -07:00
Ken Cochrane
90b4e097cf
Merge pull request #581 from dhrp/actually_rebased_docs
...
* Documentation - rearranged the documentation so that it is easier to manage and use.
2013-05-13 11:47:26 -07:00
Thatcher Peskens
4551fbd700
Merge remote-tracking branch 'dotcloud/master' into clean-reshuffle
2013-05-13 11:44:52 -07: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
Thatcher Peskens
6390d25010
Moved docker-remote-api doc to api section
2013-05-13 11:21:28 -07:00
Thatcher Peskens
097531d853
Merge remote-tracking branch 'dotcloud/master' into clean-reshuffle
2013-05-13 11:12:19 -07:00
Guillaume J. Charmes
02d255457a
Merge pull request #591 from dotcloud/590_error_message-fix
...
Fix error message in export
2013-05-13 10:58:05 -07:00
Guillaume J. Charmes
38bc134db3
Merge pull request #587 from zimbatm/fix/readme-build-example
...
Fixes the README build example to make it work
2013-05-13 10:50:51 -07:00
Guillaume J. Charmes
9023db5c5d
Merge pull request #595 from dotcloud/typo_error-fix
...
Small fix about the error in push
2013-05-13 10:46:38 -07:00
Guillaume J. Charmes
824ad4274a
Change t.Skip to t.Log in tests for go1.0.3 compatibility
2013-05-13 10:45:50 -07:00
Victor Vieux
182842e3c3
fix error push
2013-05-13 19:19:27 +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
Ken Cochrane
87038311fc
fixed the git clone url, it was the read-write one that required ssh access to the docker account, changed to the read only version
2013-05-12 21:46:35 -04:00
Ken Cochrane
f074e983bd
updated the rackspace docs to have more information, and fixed a couple of mistakes
2013-05-12 13:12:44 -04:00
Ken Cochrane
823bc74935
Added install instructions for RackSpace cloud using Ubuntu 12.04, 12.10, 13.04
2013-05-11 19:03:41 -04:00
Jonas Pfenniger
a47d8799b1
Fixes the README build example to make it work
2013-05-11 23:50:06 +01:00
Ken Cochrane
908e4797a6
Merge pull request #584 from boffbowsh/builder-documentation
...
* Documentation: Updated Docker builder docs to clean up format and add new information and examples
2013-05-11 12:39:44 -07:00
Paul Bowsher
9416574569
Make examples bash-highlighted
...
Remove DOCKER-VERSION, easier to maintain
Add example of multiple FROM steps
2013-05-11 18:34:26 +01:00
Thomas Bikeev
9cfcfbae52
Made AWS region and ami to be configurable through the ENV variables.
2013-05-11 19:27:42 +02:00
Guillaume J. Charmes
dfbea4ad9f
Merge pull request #582 from dotcloud/refactor_api_file
...
* Api: refactor api.go file to ease the streaming
2013-05-10 15:26:32 -07:00
Guillaume J. Charmes
1cce8572e2
Merge branch 'refactor_api_file' of github.com:dotcloud/docker into refactor_api_file
2013-05-10 15:24:25 -07:00
Guillaume J. Charmes
b99446831f
Update api_test.go to reflect new api.go
2013-05-10 15:24:07 -07:00
Victor Vieux
f7beba3acc
add writeJson
2013-05-10 15:10:15 -07:00
Victor Vieux
7cc082347f
refactor api.go
2013-05-10 15:10:15 -07:00
Paul Bowsher
a98eafaf58
Expand upon Builder documentation and tidy
...
Standardizes on uppercase for instructions, gives
example usage.
Wrap at 80 columns
2013-05-10 22:49:42 +01:00
Jérôme Petazzoni
6f3e868a7b
Merge branch 'master' of github.com:dotcloud/docker into 471-cpu-limit
2013-05-10 14:44:50 -07:00
Guillaume J. Charmes
d7adeb8a45
Merge pull request #583 from dotcloud/api-tests-1
...
* Api: Improve remote api unit tests
2013-05-10 14:34:02 -07:00
Guillaume J. Charmes
052a15ace9
- Registry: Fix the checksums file path
2013-05-10 14:25:45 -07:00
Guillaume J. Charmes
ae80c37054
Small fix within TestGetImagesJson
2013-05-10 13:58:21 -07:00
Guillaume J. Charmes
5bec9275c0
Improve remote api unit tests
2013-05-10 12:28:07 -07:00
Thatcher Peskens
8946b75a0b
Updated commands index to show better title.
...
Small syntax fix in couchDB
2013-05-10 12:25:02 -07:00
Victor Vieux
67cdfc0c83
add writeJson
2013-05-10 21:11:59 +02:00
Thatcher Peskens
7557af19d8
Major rearrange of the documentation.
2013-05-10 12:00:12 -07:00
Victor Vieux
d270501de2
Merge pull request #575 from odk-/notrunc-container-id
...
full container.Id display when notrunc is used
2013-05-10 11:35:20 -07:00
Victor Vieux
dbc899130c
refactor api.go
2013-05-10 20:20:49 +02:00
Victor Vieux
17c1704f4a
fix run
2013-05-10 17:00:26 +02:00
Victor Vieux
53a8229ce7
fix tests in api_test.go
2013-05-10 16:49:47 +02:00
odk-
82313b1de9
full container.Id display when notrunc is used
2013-05-10 10:18:01 +02:00
Guillaume J. Charmes
1c5e9f8a88
Merge pull request #571 from dotcloud/569-run_after_rmi-fix
...
fix run after rmi
2013-05-09 23:02:36 -07:00
Guillaume J. Charmes
fae63aa42e
Merge pull request #567 from dotcloud/516-xorg-ppa
...
+ Vagrant: packaging-ubuntu; issue #516 : Add xorg kernel to Vagrantfile for stable ubuntu LTS docker distro
2013-05-09 23:01:48 -07: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
9897e78e32
Update the doc for remote-api
2013-05-09 22:29:12 -07:00
Guillaume J. Charmes
1941c79195
make commands use the correct routes
2013-05-09 22:28:52 -07:00
Guillaume J. Charmes
15ae314cbb
Mock Hijack and Implement Unit test for Attach
2013-05-09 21:55:08 -07:00
Guillaume J. Charmes
310fec4819
More unit tests for remote api
2013-05-09 21:54:43 -07:00
Guillaume J. Charmes
28fd289b44
Reduce the Destroy timeout from 10 to 3 seconds
2013-05-09 21:53:59 -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
Guillaume J. Charmes
24816a8b80
Add/improve unit tests
2013-05-09 20:13:52 -07:00
Guillaume J. Charmes
0c6380cc32
Rename "v" in "removeVolume"
2013-05-09 19:19:55 -07:00
Guillaume J. Charmes
2a303dab85
Add unit tests
2013-05-09 19:19:24 -07:00
Guillaume J. Charmes
ede0793d94
Add unit tests for remote api
2013-05-09 17:51:27 -07:00
Guillaume J. Charmes
152ebeea43
Change API route for containers/ and images/ in order to avoid conflict
2013-05-09 17:50:56 -07:00
Guillaume J. Charmes
ff67da9c86
Add the variable maps to the Api functions
2013-05-09 16:28:47 -07:00
Victor Vieux
add73641e6
fixed private caller
2013-05-10 01:23:50 +02:00
Victor Vieux
9af5d9c527
Merge branch 'remote-api' of https://github.com/dotcloud/docker into remote-api
2013-05-10 01:20:33 +02:00
Victor Vieux
3115c5a225
private tests api fixed
2013-05-10 01:20:07 +02:00
Guillaume J. Charmes
7e8b413bcf
Implement the some unit tests without listenandserve
2013-05-09 16:20:06 -07:00
Guillaume J. Charmes
b2b59ddb10
Remove ListenAndServe from unit tests
2013-05-09 15:47:06 -07:00
Victor Vieux
c423a790d6
fixed issue with viz
2013-05-09 23:52:12 +02:00
Guillaume J. Charmes
074a566164
Small fix in graph_test.go
2013-05-09 14:48:10 -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
Guillaume J. Charmes
8fb8a08ff2
Merge pull request #568 from dotcloud/improve_checksum-2
...
* Runtime: Store the actual archive on commit
* Registry: Improve the checksum process
- Registry: Fix error 400 on push
2013-05-09 13:25:15 -07:00
Guillaume J. Charmes
30f009150f
Fix error code message upon error on push
2013-05-09 13:24:00 -07:00
Victor Vieux
0862183c86
fix status code and error detection
2013-05-09 21:42:29 +02:00
Guillaume J. Charmes
0410397704
Update basics.rst
2013-05-09 13:05:18 -06:00
Victor Vieux
0bcc5d3bee
re-add previously deleted doc files
2013-05-09 20:36:08 +02:00
Victor Vieux
b5831eda1e
merge master
2013-05-09 20:32:53 +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
Guillaume J. Charmes
3cbf5670c5
Send the images in correct order
2013-05-09 11:12:37 -07:00
Victor Vieux
0a5d86d7be
fix run after rmi
2013-05-09 18:57:47 +02:00
Victor Vieux
4576e11121
fix attach and remove cli doc
2013-05-09 17:54:41 +02:00
Guillaume J. Charmes
55cf05835b
Remove the pushImageRec and use iteration instead
2013-05-08 23:29:02 -07:00
Guillaume J. Charmes
c7a7983fcb
Improve the checksum process
2013-05-08 22:45:40 -07:00
Guillaume J. Charmes
44b33b44aa
Factorize the checksums functions
2013-05-08 22:37:33 -07:00
Guillaume J. Charmes
463658dc8f
Refactor PushRepository to fix error 400 and to increase processing speed
2013-05-08 22:06:23 -07:00
Guillaume J. Charmes
80f4b0df75
* Registry: Use the size to have a good progress bar while pushing
...
* Registry: Use the actual archive if it exists in order to speed up the push
+ Registry: Remove the archive if it exists after the push
2013-05-08 19:36:12 -07:00
Daniel Mizyrycki
73321f27f4
packaging-ubuntu; issue #516 : Add xorg kernel to Vagrantfile for stable ubuntu LTS docker distro
2013-05-08 19:36:06 -07:00
Guillaume J. Charmes
aaaf3f0726
Store the actual archive when commit
2013-05-08 19:08:11 -07: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
Thatcher
eed64e6777
Merge pull request #566 from dhrp/move-website-to-dir
...
Moved the static website html pages to their own folder under docs.
2013-05-08 17:13:45 -07:00
Thatcher Peskens
0f4469c2b1
Moved the static website html pages to their own folder under docs.
...
This should make previewing documentation easier.
Also updated the Makefile to now copy the theme dir into the _build/website/ dir. Make connect and Make push work.
2013-05-08 17:05:46 -07: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
c255976909
Merge pull request #557 from dotcloud/improve_checksum
...
* Registry: Improve checksum
2013-05-08 16:30:42 -07:00
Guillaume J. Charmes
0e23b4e10e
Store the checksums when pulling a repository
2013-05-08 16:27:35 -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
Guillaume J. Charmes
6cafed45af
Better error output upon push failure
2013-05-08 14:19:38 -07:00
Victor Vieux
1d42cbaa21
removed useless returns
2013-05-08 23:19:24 +02:00
Guillaume J. Charmes
3484781a6f
Merge pull request #562 from tianon/go1.1
...
- Makefile: Swap "go get" for "go get -d", especially to compile on go1.1rc
2013-05-08 14:15:03 -07:00
Tianon Gravi
c4ad6b077d
Swap "go get" for "go get -d", especially to compile on go1.1rc; fixes #561
2013-05-08 14:51:50 -06:00
Ken Cochrane
45b5d3027e
Merge pull request #559 from dhrp/docs-table-th-fix
...
- Documentation: CSS fix for docker documentation to make REST API docs look better.
2013-05-08 12:18:33 -07:00
Thatcher Peskens
070b1cd541
Added a line to css to make sure th woul align left.
2013-05-08 12:13:31 -07:00
Guillaume J. Charmes
8ff1765674
Make the checksum async within commit
2013-05-08 12:01:12 -07:00
Guillaume J. Charmes
c4ebf870c8
Use make instead of new
2013-05-08 10:35:41 -07:00
Victor Vieux
bf605fcfc7
fix commit without run parameter
2013-05-08 19:21:52 +02:00
Victor Vieux
954ecac388
fix doc and empty content-type
2013-05-08 18:52:01 +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
2ac4e662f1
Small fix
2013-05-07 18:16:24 -07:00
Guillaume J. Charmes
57cfe72e8c
Replace os.File with io.ReadCloser and io.Writer
2013-05-07 18:06:49 -07:00
Guillaume J. Charmes
755604a2bd
Fix routes in api.go
2013-05-07 17:35:33 -07:00
Guillaume J. Charmes
891c5202ea
Factorize api.go
2013-05-07 17:27:09 -07:00
Guillaume J. Charmes
ab96da8eb2
Use bool instead of string for flags
2013-05-07 16:47:43 -07:00
Guillaume J. Charmes
279db68b46
Use Fprintf instead of Fprintln
2013-05-07 16:36:49 -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
4d30a32c68
removed RAW mode on server
2013-05-07 23:15:42 +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
32cbd72ebe
Merge branch 'master' into remote-api
2013-05-07 21:02:32 +02:00
Victor Vieux
4079411375
fix run no parameter
2013-05-07 20:59:04 +02:00
Jérôme Petazzoni
eef8b0d406
propagate CpuShares in mergeConfig
2013-05-07 11:44:38 -07:00
Jérôme Petazzoni
af9f559f2e
in the tests, use a non-default value for cpu.shares
2013-05-07 11:44:24 -07:00
Jérôme Petazzoni
e36752e033
if -c is not specified, do not set cpu.shares (instead of using the default value of 1024)
2013-05-07 11:43:45 -07:00
Victor Vieux
59a6316f5e
added search
2013-05-07 20:43:31 +02:00
Guillaume J. Charmes
7b1ec9ff30
Merge pull request #539 from justone/fix-byparent
...
- Images: fix ByParent function
2013-05-07 11:34:59 -07:00
Guillaume J. Charmes
244e6022ec
Merge pull request #550 from unclejack/handle-empty-kernel-flavor-without-dash
...
* Runtime: kernel version - don't show the dash if flavor is empty
2013-05-07 11:24:25 -07:00
Guillaume J. Charmes
f8dd04d567
Merge pull request #552 from dotcloud/548-no_command_panic-fix
...
- Builder: Check the command existance prior create and add Unit tests for the case
2013-05-07 11:19:34 -07:00
Guillaume J. Charmes
42b1ea4889
Check the command existance prior create and add Unit tests for the case
2013-05-07 11:18:13 -07:00
Jérôme Petazzoni
efd9becb78
implement "-c" option to allocate a number of CPU shares to a container
2013-05-07 11:16:30 -07:00
unclejack
d2eb2455a1
kernel version - don't show the dash if flavor is empty
2013-05-07 20:57:21 +03:00
Guillaume J. Charmes
a2b5196061
Merge pull request #543 from dotcloud/pull-official-tag-fix
...
- Registry: Fix pull for official images with specific tag
2013-05-07 10:56:37 -07:00
Ken Cochrane
f46ab22b7a
Merge pull request #544 from DanielVF/master
...
- Documentation: Fixed CouchDB example page header mistake
2013-05-07 10:51:35 -07:00
Ken Cochrane
074310063d
Merge pull request #535 from dhrp/website_update
...
* Documentation: updated www.docker.io website.
2013-05-07 10:45:29 -07:00
Guillaume J. Charmes
01575e1f67
Merge pull request #542 from dotcloud/docker-search
...
+ Registry: Add docker search top level command in order to search a repository
2013-05-07 10:43:19 -07:00
Victor Vieux
97fdfab446
Merge branch 'master' into remote-api
2013-05-07 19:42:36 +02:00
shin-
82513815f1
Added actual doc file
2013-05-07 10:31:55 -07:00
shin-
4df26b9ee7
Added doc page for new search command
2013-05-07 10:29:49 -07:00
Victor Vieux
10c0e99037
update to master
2013-05-07 19:23:50 +02:00
Ken Cochrane
fc2df7e634
Merge pull request #546 from shamrin/patch-3
...
- Documentation: fixed README formatting
2013-05-07 10:01:16 -07: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
Alexey Shamrin
c718eb282b
README: fix Markdown formatting
2013-05-07 17:57:26 +04:00
Daniel Von Fange
0a13ce9bef
CouchDB example page was titled redis
2013-05-07 08:33:29 -04:00
Joffrey F
0a197f9b4f
Fixes bug when pulling an official image (no user namespace) with a specified tag
2013-05-07 04:54:58 -07: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
Nate Jones
23c5c13014
fix ByParent
2013-05-06 21:31:59 -07:00
Guillaume J. Charmes
6ac33eb649
Merge pull request #523 from steakknife/522-docker-build
...
* Builder: use any whitespaces instead of tabs
2013-05-06 19:06:11 -07:00
Guillaume J. Charmes
a02ad8c896
Merge pull request #537 from dotcloud/builder-env
...
+ Builder: Implement ENV within docker builder
2013-05-06 18:57:15 -07:00
Guillaume J. Charmes
4c7c177e4e
Add the ENV instruciton to the docker builder documentation
2013-05-06 18:54:27 -07:00
Guillaume J. Charmes
e45aef0c82
Implement ENV within docker builder
2013-05-06 18:39:56 -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
Thatcher Peskens
0d929d13d3
Updated index to reflect new (short) 'engine' message (merged with solomon's new text), also moved around the layout a bit and fixed some small text errors.
2013-05-06 17:41:51 -07:00
Guillaume J. Charmes
a0d80ed3e6
Merge pull request #534 from dotcloud/510-update-go
...
* Packaging: packaging ubuntu; issue #510 : Use goland-stable PPA package to build docker
2013-05-06 17:27:02 -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
8ea9811089
Merge pull request #512 from dotcloud/builder-doc
...
+ Documentation: Add the documentation for docker builder
2013-05-06 17:22:35 -07:00
Guillaume J. Charmes
f3f2cba386
Merge pull request #504 from dotcloud/builder-autorun
...
+ Builder: Implement the autorun capability within docker builder
2013-05-06 17:21:31 -07:00
Guillaume J. Charmes
d581f0808c
Merge pull request #511 from dotcloud/builder-cache
...
+ Builder: Add caching to docker builder
2013-05-06 17:20:22 -07:00
Guillaume J. Charmes
ce4e87196f
Merge pull request #472 from dotcloud/builder
...
+ Builder: Add support for docker builder with native API as top level command
2013-05-06 17:18:56 -07:00
Guillaume J. Charmes
7757be1f45
Rebase fix
2013-05-06 17:12:56 -07:00
Guillaume J. Charmes
49b05eb24a
Update docker builder doc
2013-05-06 17:10:42 -07:00
Guillaume J. Charmes
dae2828957
Moving runtime.Create to builder.Create
2013-05-06 17:09:58 -07:00
Guillaume J. Charmes
3439cd9cea
Rebase fix
2013-05-06 17:07:56 -07:00
Guillaume J. Charmes
979db00d9a
Fix typo in builder
2013-05-06 17:01:59 -07:00
Guillaume J. Charmes
db4417b601
Implement the CMD instruction in order to allow autorun
2013-05-06 17:01:59 -07:00
Guillaume J. Charmes
a64ebe5feb
Allow to stack multiple EXPOSE instructions
2013-05-06 17:01:59 -07:00
Guillaume J. Charmes
602786cd60
Moving runtime.Create to builder.Create
2013-05-06 17:00:51 -07:00
Guillaume J. Charmes
35c59f4e05
Rebase fix
2013-05-06 16:58:09 -07:00
Guillaume J. Charmes
756df27e45
Add compatibility with contrib builder
2013-05-06 16:44:37 -07:00
Guillaume J. Charmes
a46fc3a59e
Implement caching for docker builder
2013-05-06 16:44:37 -07:00
Guillaume J. Charmes
9959e2cd63
Rebase master (autorun)
2013-05-06 16:44:37 -07:00
Guillaume J. Charmes
f911ccc27b
Moving runtime.Create to builder.Create
2013-05-06 16:44:37 -07:00
Guillaume J. Charmes
96069de4e0
Add build command
2013-05-06 16:44:37 -07:00
Guillaume J. Charmes
d92166cc79
Fix merge issue
2013-05-06 16:43:50 -07:00
Guillaume J. Charmes
ebb59c1125
Remove the open from CmdBuild
2013-05-06 16:42:54 -07:00
Guillaume J. Charmes
e2880950c5
Add build command
2013-05-06 16:42:53 -07:00
Guillaume J. Charmes
62a1850c16
Make the autopull compatible with new registry
2013-05-06 16:40:45 -07:00
Guillaume J. Charmes
2bc4ad9402
Rebase fix
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
ae1e655fb1
Implement EXPOSE to builder
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
92e98c66af
Implement MAINTAINER to builder
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
6d6a03dfba
More consistent docker build test
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
924b61328c
Make the FROM instruction pull the image if not existing
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
4ebec08add
Trim the splited builder lines
2013-05-06 16:01:01 -07:00
Guillaume J. Charmes
15ea5a479a
Update the TestBuild with new format
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
4386edff0b
Better varibale names
2013-05-06 16:01:00 -07:00
Guillaume J. Charmes
6bfb652f5b
Change dockerbulder format, no more tabs and COPY becomes INSERT to avoid conflict with contrib script
2013-05-06 16:01:00 -07:00
Guillaume J. Charmes
bbb634a980
Add doc for the builder
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
4390a3182f
Fix image pipe with Builder COPY
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
e337949cb0
Add builder_test.go
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
Nate Jones
74b9e851f6
use new image as base of next command
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
ff95f2b0ec
Update the unit tests to reflect the new API
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
0aebb25410
Implement the COPY operator within the builder
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
7bccdc0d33
Add a Builder.Commit method
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
97215ca384
make builder.Run public it now runs only given arguments without sh -c
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
b8f66c0d14
Clear the containers/images upon failure
2013-05-06 16:00:30 -07:00
Guillaume J. Charmes
27319da0d2
Add build command
2013-05-06 16:00:30 -07:00
Tianon Gravi
2f89315bf8
Update mkimage-debian.sh now that wheezy is officially the stable release - also, we can't rely on "release" versions for testing or unstable - only "stable" has reliable release versions
2013-05-06 17:00:21 -06: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
Daniel Mizyrycki
15b85d9d76
packaging ubuntu; issue #510 : Use goland-stable PPA package to build docker
2013-05-06 15:56:50 -07:00
Solomon Hykes
b6af9d3d2e
* Website: put Adam's and Mitchell's nice tweets on top :)
2013-05-06 14:26:58 -07:00
Solomon Hykes
f796b9c76e
* Website: Bigger twitter profile pictures
2013-05-06 14:26:07 -07:00
Solomon Hykes
627f7fdbfd
+ Website: new quotes
2013-05-06 14:24:14 -07:00
Solomon Hykes
b38fc9fcdc
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-06 14:13:27 -07:00
Solomon Hykes
8646f7f11c
+ Website: new high-level overview
2013-05-06 14:11:38 -07:00
Guillaume J. Charmes
87cc8b6058
Update documentation, use docker-latest instead of docker-master
2013-05-06 13:26:23 -07:00
Guillaume J. Charmes
0fabd390a9
Update ubuntulinux.rst
2013-05-06 13:11:08 -07:00
Solomon Hykes
2ac7298e4e
Bring back lego picture
2013-05-06 12:24:44 -07:00
Solomon Hykes
840bde4393
+ Documentation: new introduction and high-level overview
2013-05-06 12:17:51 -07:00
Guillaume J. Charmes
bbad653b1a
Update ubuntulinux.rst
2013-05-06 12:00:39 -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-
09f1cbabb9
Fixed imports
2013-05-06 11:06:44 -07:00
Sam Alba
c9994ed0fb
Moved the Debugf message in a registry to a more useful place
2013-05-06 10:57:48 -07:00
Guillaume J. Charmes
b0e076f374
Add output to checksums, code cleaning
2013-05-06 10:57:46 -07:00
Sam Alba
00266df8ac
Fixed public pull + Added some verbosity about what is happening
2013-05-06 10:57:45 -07:00
Sam Alba
3febeb93f5
Added help message to invite to login when getting a 401
2013-05-06 10:57:43 -07:00
Sam Alba
bcdf03037b
Fixed pulling repositories from library
2013-05-06 10:57:41 -07:00
Sam Alba
a372f982c1
Switching to prod index server
2013-05-06 10:57:38 -07:00
shin-
d985050aeb
gofmt pass
2013-05-06 10:57:36 -07:00
shin-
0c5e76958b
Use progress reader when uploading/downloading layers
2013-05-06 10:57:06 -07:00
Sam Alba
0f68042053
Handled wrong user credentials by re-init the auth file (it was impossible to login after having wrong crendentials)
2013-05-06 10:57:03 -07:00
shin-
18796d55a6
Fixed some login quirks
2013-05-06 10:57:00 -07:00
shin-
594827d416
Fixed typo in 'username or email already exists'
2013-05-06 10:56:59 -07:00
shin-
5690562fc8
Fix error in PushImage
2013-05-06 10:56:57 -07:00
shin-
be791a223b
simplify image.Checksum
2013-05-06 10:56:55 -07:00
shin-
19045b530e
simplify graph.Checksums
2013-05-06 10:56:54 -07:00
shin-
b5873806d0
Only send checksums for images not uploaded yet
2013-05-06 10:56:52 -07:00
shin-
f10b0f75e0
Fix checksum computing
2013-05-06 10:56:50 -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-
1c76f91fc4
Fixed minor bugs in docker pull
2013-05-06 10:56:45 -07:00
shin-
be75608906
Fixed checksum computing. Ensure checksum is computed when image metadata is loaded from disk. Fixed docker push workflow. Moved hash computing to utils
2013-05-06 10:56:10 -07:00
shin-
3c85e9390e
Added X-Docker-Token header to initial index requests
2013-05-06 10:54:57 -07:00
shin-
ea3374bcb0
Prepend hash method to the image checksum
2013-05-06 10:54:55 -07:00
shin-
6e936c8fd3
Follow redirections when sending PUT request in PushRepository
2013-05-06 10:54:53 -07:00
shin-
4cd9e4722c
Fixed graph.Checksums()
2013-05-06 10:54:52 -07:00
shin-
630d358384
Fixed checksum representation
2013-05-06 10:54:50 -07:00
shin-
84be35dce1
Fixed docker login
2013-05-06 10:54:48 -07:00
shin-
23953e7d67
Style changes in auth.Login
2013-05-06 10:54:46 -07:00
shin-
6644a3c78a
Reactivated CmdPush in commands.go
2013-05-06 10:54:45 -07:00
shin-
e179c66400
Reimplemented docker pull for new registry API (command is still deactivated)
2013-05-06 10:54:41 -07:00
shin-
048fd671ef
Implemented checksum computation on image creation (necessary for new push primitive)
2013-05-06 10:52:42 -07:00
shin-
7c1a27e2ad
gofmt pass
2013-05-06 10:52:10 -07:00
shin-
1cf8a2c26c
Changed some of the routes to reflect changes made to the API ; added HTTPClient singleton to the graph object
2013-05-06 10:52:08 -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
shin-
2421838b0a
Support for the new registry/index API (wip)
2013-05-06 10:51:04 -07:00
Ken Cochrane
58ca46af39
Merge pull request #500 from kencochrane/registry-api-doc
...
added Docker Index search API doc
2013-05-06 10:44:50 -07:00
Ken Cochrane
09d4b9452d
added new sphinx contrib extention for better REST API docs, and changed the index search API so that it uses the new docs, as a test to make sure it works correctly
2013-05-06 13:38:51 -04:00
Ken Cochrane
d78b2d4ade
Merge github.com:dotcloud/docker into registry-api-doc
2013-05-06 13:13:17 -04:00
Barry Allard
424cc678eb
closes #522
2013-05-04 21:20:41 -07:00
Solomon Hykes
1561232261
First draft of new README. Feedback and contributions welcome!
2013-05-04 19:47:57 -07:00
Solomon Hykes
e392b7ee9b
Merge pull request #515 from drnic/vagrant_overrides
...
Allow reuse of existing vagrant boxes by env variables
2013-05-04 16:47:17 -07:00
Guillaume J. Charmes
c3a5dd76cf
Merge pull request #520 from dotcloud/519-no_command_specified-fix
...
- runtime: Fix the command existance check
2013-05-04 12:03:08 -07:00
Nate Jones
359ecf88de
add doc for images -viz
2013-05-03 21:12:43 -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
Dr Nic Williams
04f41ebdbc
Allow reuse of existing vagrant boxes by env variables
...
Usage:
BOX_NAME=precise64 vagrant up
2013-05-03 15:35:51 -07:00
Guillaume J. Charmes
c34989f1c4
Merge pull request #501 from losinggeneration/fix_cgroup_memory_check
...
- runtime: strings.Split may return an empty string on no match
2013-05-03 14:29:43 -07:00
Solomon Hykes
a7c0e9a355
Fix a bug in the Makefile which caused dependency download to fail
2013-05-03 12:58:44 -07:00
Guillaume J. Charmes
19df5a7965
Merge pull request #487 from brunoqc/patch-2
...
* vagrant: Use only one deb line in /etc/apt
2013-05-03 11:55:16 -07:00
Harley Laue
589d7c68db
Check that the line is valid with 6 parts after split
2013-05-03 13:49:10 -05:00
Guillaume J. Charmes
8ef72cbc94
Merge pull request #508 from bdon/master
...
* docs: doc fix
2013-05-03 11:41:14 -07:00
Victor Vieux
75418ec849
Merge branch 'master' into remote-api
2013-05-03 17:59:11 +02:00
Victor Vieux
c6963da54e
makefile from master
2013-05-03 17:51:11 +02:00
Guillaume J. Charmes
b9ec03c21b
Fix the command existance check
2013-05-02 20:50:28 -07:00
Brandon Liu
6cbe27b7a5
correct documentation for where images are stored on filesystem.
2013-05-02 20:37:08 -07:00
Solomon Hykes
a82b60b30d
dockerbuilder: change order of dependencies
2013-05-02 19:22:41 -07:00
Solomon Hykes
c08d245539
dockerbuilder: let the Makefile upload to s3 with 'make release'
2013-05-02 18:11:54 -07:00
Guillaume J. Charmes
64d7bc442d
Fix server crash when running an image without command without autorun
2013-05-02 13:56:45 -07:00
Harley Laue
4bc8ef42d4
strings.Split may return an empty string on no match
...
* This fixes an index out of range crash if cgroup memory is not
enabled.
2013-05-02 14:44:41 -05:00
Guillaume J. Charmes
8378498951
Fix issue within mergeConfig preventing hostname and user to be set
2013-05-02 12:32:10 -07:00
Guillaume J. Charmes
1617a18258
Fix typo for command run docs
2013-05-02 12:11:57 -07:00
Solomon Hykes
6c1bb39c09
Fix date typos in changelog
2013-05-03 15:40:32 -07:00
Solomon Hykes
f6b5cd77eb
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-03 15:37:37 -07:00
Solomon Hykes
5ffd63070f
Bumped version to 0.2.2
2013-05-03 15:19:20 -07:00
Solomon Hykes
701132259d
+ Documentation: new example: sharing data between 2 couchdb databases
2013-05-03 15:13:12 -07:00
Solomon Hykes
18b8eeb484
+ Support for data volumes
2013-05-03 13:03:47 -07:00
Solomon Hykes
b6a5e604ab
Add s3 upload to 'make release'
2013-05-02 11:32:55 -07:00
Ken Cochrane
b682a8ea9e
added Docker Index search API doc
2013-05-02 14:32:38 -04:00
Solomon Hykes
6e486b638b
+ Hack: 'make s3release' uploads a clean build to s3
2013-05-02 11:25:49 -07:00
Bruno Bigras
74cd7e822d
Use only one deb line in /etc/apt
...
This prevents the script from filling up /etc/apt/sources.list with more than one deb line which cause a warning when updating.
2013-05-02 13:33:23 -04:00
Victor Vieux
4f0bda2dd5
up to date with master
2013-05-02 18:36:23 +02:00
Guillaume J. Charmes
21b9dcd518
Update docs for Command Run
2013-05-02 09:26:29 -07:00
Guillaume J. Charmes
897cc573f0
Fix the graph.Create prototype
2013-05-02 09:23:29 -07:00
Guillaume J. Charmes
b0459adc27
Comply to the new graph.Create() prototype
2013-05-02 09:14:23 -07:00
Guillaume J. Charmes
3edd14b8c2
Implement the data volume removal
2013-05-02 09:14:23 -07:00
Guillaume J. Charmes
4099a31304
Implement the -volumes-from in order to mount volumes from an other container
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes
6fb495bf6f
Move the id of volumes to Container (instead of Container.Config)
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes
faf8daa7c6
Switch back config to map[string]struct{}
2013-05-02 09:14:22 -07:00
Guillaume J. Charmes
8d9aaee60b
Handle data volumes mount points
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
unclejack
528da23d6a
use Go 1.0.3 to build docker
2013-05-02 15:27:37 +03:00
Guillaume J. Charmes
ff5e238de9
Merge pull request #496 from dotcloud/480-vagrant-fix
...
- vagrant: Fix main Vagrantfile
2013-05-01 23:38:18 -07:00
Solomon Hykes
c63dce393e
Merge pull request #492 from kencochrane/registry-api-doc
...
+ Registry: added the registry API to the docker docs
2013-05-01 23:00:58 -07:00
Solomon Hykes
d6a63132ef
Merge branch 'origin/new-dockerbuilder'
2013-05-02 05:57:50 +00:00
Solomon Hykes
e7271cdaae
dockerbuilder: fix permissions
2013-05-02 05:56:51 +00:00
Solomon Hykes
6ca3b151b1
* Hack: improve the way dockerbuilder is built
2013-05-01 22:05:36 -07:00
Victor Vieux
a4bcf7e1ac
refactoring run/attach/logs
2013-05-02 05:07:06 +02:00
Daniel Mizyrycki
0d9475346f
Fix main Vagrantfile
2013-05-01 18:49:31 -07:00
Solomon Hykes
71199f595d
New Dockerfile operation: 'add'
2013-05-01 18:32:38 -07:00
Solomon Hykes
58b95878f1
- Hack: fix dockerbuilder to build feature branches
2013-05-02 01:16:23 +00:00
Guillaume J. Charmes
e431dc26f1
Merge pull request #482 from dotcloud/move_capabilitie_function
...
* runtime: Move the capabilities detection into a runtime method
2013-05-01 17:43:32 -07:00
Solomon Hykes
09b1cd58c0
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-05-01 17:18:05 -07:00
Solomon Hykes
d42639e5c5
Bumped version to 0.2.1
2013-05-01 17:17:13 -07:00
Guillaume J. Charmes
d0c2e31fb9
Merge pull request #495 from dotcloud/autorun_docs
...
* docs: Update commandline Commit doc
2013-05-01 17:14:53 -07:00
Guillaume J. Charmes
509a01bbe4
Merge pull request #493 from dotcloud/374-developer-environment
...
* hack: development; issue #374 : Refactor 'make hack' making Vagrantfile and VM more useful
2013-05-01 16:54:29 -07:00
Solomon Hykes
e7fb7f13d5
new Dockerfile keyword: cmd to set a default runtime command
2013-05-01 16:43:37 -07:00
Daniel Mizyrycki
d172da58ce
development; issue #374 : Update VM documentation
2013-05-01 15:59:54 -07:00
Solomon Hykes
ad86dde10c
* 'docker commit' inherits parent layer's run configuration by default
2013-05-01 15:45:39 -07:00
Guillaume J. Charmes
c20e46587d
Update commandline Commit doc
2013-05-01 15:43:02 -07:00
Daniel Mizyrycki
eeb03164cf
development; issue #374 : Upgrade development VM box to Ubuntu-13.04 with kernel 3.8
2013-05-01 15:26:27 -07:00
Daniel Mizyrycki
bb61678b57
development; issue #374 : Refactor 'make hack' making Vagrantfile and VM more useful
2013-05-01 15:26:27 -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
08812096f5
New Dockerfile operation 'expose' exposes default tcp ports
2013-05-01 14:16:56 -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
Guillaume J. Charmes
7ff65d40d5
Actually use the mergeConfig function
2013-05-01 11:22:06 -07:00
Ken Cochrane
904c2a0fc3
added the registry API to the docker docs
2013-05-01 12:31:46 -04:00
Solomon Hykes
a3ce90b78b
Added dummy script for docker-build example
2013-05-01 00:49:28 -07:00
Solomon Hykes
03b83b3210
Fix example dockerfile
2013-05-01 00:44:36 -07:00
Solomon Hykes
40ccf1d300
new Dockerfile keyword: 'push'
2013-05-01 00:42:11 -07:00
Solomon Hykes
038ca5ee39
docker-build: added support for 'maintainer' keyword
2013-05-01 00:14:52 -07:00
Solomon Hykes
957c500ac9
Merge pull request #485 from brunoqc/patch-1
...
* Packaging: connect to Ubuntu key server on port 80
2013-04-30 15:46:57 -07:00
Guillaume J. Charmes
62a595da5c
Merge pull request #488 from tobert/cgroups-via-proc-mounts
...
* runtime: Use /proc/mounts instead of mount(8)
2013-04-30 14:39:14 -07:00
Guillaume J. Charmes
d97661aa71
Improve crashTest
2013-04-30 11:16:26 -07:00
Al Tobey
c6119da339
Use /proc/mounts instead of mount(8)
...
Specifically, Ubuntu Precise's cgroup-lite script uses mount -n
to mount the cgroup filesystems so they don't appear in mtab, so
detection always fails unless the admin updates mtab with /proc/mounts.
/proc/mounts is valid on just about every Linux machine in existence and
as a bonus is much easier to parse.
I also removed the regex in favor of a more accurate parser that should
also support monolitic cgroup mounts (e.g. mount -t cgroup none /cgroup).
2013-04-30 17:37:43 +00:00
Victor Vieux
36b968bb09
[] instead fon null, timetsamps and wip import
2013-04-30 17:04:31 +02:00
Bruno Bigras
5051c20833
Use the 80 port with keyserver.ubuntu.com
...
Use the 80 port with keyserver.ubuntu.com so it works with corporate firewalls
2013-04-29 15:53:50 -03: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
22f5e35579
fix last commit
2013-04-29 11:49:04 +02:00
Victor Vieux
30cb4b351f
run now try to pull if unknown image
2013-04-29 11:46:31 +02:00
Guillaume J. Charmes
cdc2657ee9
Improve crashTest
2013-04-28 07:10:58 -07:00
Guillaume J. Charmes
76a1a7cf5b
Simplify the crashTest
2013-04-28 06:23:02 -07:00
Guillaume J. Charmes
20c2a4f80f
add network endpoint for crashTest
2013-04-28 03:54:22 -07:00
Guillaume J. Charmes
ebe157ebb5
Update the crashTest to have the dockerpath in env
2013-04-28 01:27:56 -07:00
Solomon Hykes
cb431f223f
Merge pull request #484 from tianon/mkimage-debian
...
* Contrib: updated mkimage-debian
2013-04-29 12:12:02 -07:00
Tianon Gravi
ab34115b42
Use default mirror from debootstrap when not explicitly provided, and add better target directory naming
2013-04-28 13:38:26 -06:00
Tianon Gravi
4b3354af3f
Improve mkimage-debian script to also tag using the release version number of the final image (6.0.7, 7.0, etc.)
...
This is as discussed on #447 .
2013-04-28 12:31:28 -06:00
Guillaume J. Charmes
9042535f5a
Move the capabilities detection into a runtime method
2013-04-26 14:32:55 -07:00
Guillaume J. Charmes
8f81e175af
Merge pull request #473 from dotcloud/26-auto_restart_containers-feature
...
+ runtime: Add -r flag to dockerd in order to restart previously running container....
2013-04-26 14:02:01 -07:00
Guillaume J. Charmes
636c7835d3
Merge pull request #467 from dotcloud/improve_localhost_port_test
...
* tests: Improve unit test to avoid unnecessary warnigns
2013-04-26 14:01:13 -07:00
Guillaume J. Charmes
6d1dd8b41a
Merge pull request #478 from tianon/mkimage-debian
...
+ contrib: Add contrib/mkimage-debian.sh used to create the tianon/debian images
2013-04-26 13:51:47 -07:00
Guillaume J. Charmes
ae97477284
Remove -command in CmdCommit and make -config use Json
2013-04-26 10:48:33 -07:00
Tianon Gravi
86ad98e72a
Add contrib/mkimage-debian.sh used to create the tianon/debian images
2013-04-26 08:54:29 -06:00
Victor Vieux
a48eb4dff8
run now try to pull if unknown image
2013-04-26 15:08:33 +02:00
Solomon Hykes
03d82922aa
Merge pull request #474 from brianm/vmware_fusion_provider
...
Support for VMWare Fusion Provider in Vagrantfile
2013-04-26 01:31:11 -07:00
Guillaume J. Charmes
30d327d37e
Add TestCommitAutoRun
2013-04-25 17:03:13 -07:00
Guillaume J. Charmes
724e2d6b0a
Update unit test in order to comply with new api
2013-04-25 17:02:38 -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
Brian McCallister
4db680fda4
don't fight the box kernel version, not worth it
2013-04-25 06:29:13 -06:00
Brian McCallister
9c7293508d
get aufs dependencies into vmware image
2013-04-25 06:09:04 -06:00
Brian McCallister
9d8743a7ae
vmware fusion provider config
2013-04-25 05:59:31 -06: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
Guillaume J. Charmes
ee298d1420
Specify a different bridge for tests than for regular runtime
2013-04-24 17:43:41 -07:00
Solomon Hykes
03855b0027
Merge pull request #466 from dotcloud/441-vagrant-improve
...
* Packaging: simplify Vagrantfile
2013-04-24 17:25:20 -07:00
Daniel Mizyrycki
2726e3649a
vagrant; issue #441 : Improve main config including aws ubuntu lts dependency
2013-04-24 11:30:15 -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
Solomon Hykes
c7fd84b8a0
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-23 23:05:38 -07:00
Solomon Hykes
874a40ed3a
- Dev: dockerbuilder requires a fake initctl because 'apt-get install devscripts' insists on installing a stupid daemon I never asked for in the first place.
2013-04-23 23:04:54 -07:00
Solomon Hykes
370fafacbf
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-23 22:57:50 -07:00
Solomon Hykes
a0478f726d
dockerbuilder: upload most recent Ubuntu package (note version FOO might not yet be packaged at tag vFOO)
2013-04-23 22:57:34 -07:00
Solomon Hykes
e5bc5a2e31
Merge pull request #427 from dhrp/docs
...
- Packaging: Fixed Vagrantfile
* Documentation: Updated install instructions
2013-04-23 19:49:28 -07:00
Solomon Hykes
25fc3a7e76
Merge pull request #470 from dotcloud/packaging-ubuntu
...
* Packaging: Add 0.1.8 to Ubuntu packaging changelog
* Packaging: Update the Ubuntu maintainer manual
2013-04-23 19:46:56 -07:00
Solomon Hykes
b3ab0b561e
Makefile improvements
...
+ Convenience rules: srcrelease, deps
- Separate dependency vendoring from building the binary
(re-download dependencies with 'make deps')
2013-04-23 19:41:38 -07:00
Solomon Hykes
8b8c8bf7cb
Fix 'make release RELEASE_VERSION=master'
2013-04-23 18:50:53 -07:00
Solomon Hykes
a8651a23b2
make release: build a binary release of the most recent version tag
2013-04-23 18:32:59 -07:00
Daniel Mizyrycki
f744cfd5a7
packaging-ubuntu: update maintainer documentation for changelog file
2013-04-23 13:51:03 -07:00
Solomon Hykes
e03b241fb1
dockerbuilder: build with 'make; cp -R ./bin'
2013-04-23 12:07:54 -07:00
Thatcher Peskens
1ddca1948b
Fixed remaining issues and conflicts created by last merge.
2013-04-23 12:04:53 -07:00
Solomon Hykes
2485bb2cd2
dockerbuilder: use a pristine GOPATH, with the fresh checkout registered at the right path (for internal submodules)
2013-04-23 11:45:47 -07:00
Guillaume J. Charmes
6ebb249131
Remove unecessary memeory limit within tests
2013-04-23 11:25:16 -07:00
Guillaume J. Charmes
c45beabcd5
Improve TestMultipleAttachRestart to avoid unnecessary warning
2013-04-23 11:22:30 -07:00
Guillaume J. Charmes
a22c78523f
Wait for the container to finish in TestAttachDisconnect before destroying it
2013-04-23 11:09:48 -07:00
Guillaume J. Charmes
5a02c9ba0a
Make sure the container is well started prior to perform the test
2013-04-23 11:08:31 -07:00
Solomon Hykes
7577f48dc4
dockerbuilder: build in current directory instead /go and /tmp
2013-04-23 10:53:02 -07:00
Solomon Hykes
0512cf9c83
dockerbuilder: /usr/local/bin is already set by docker
2013-04-23 10:49:58 -07:00
Solomon Hykes
73da7a12e7
Increased timeout in TCP port allocation test to pass on slower machines
2013-04-23 10:12:46 -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
50f5723f1d
Merge pull request #465 from shamrin/patch-2
...
- Documentation: fixed typo in "Building blocks"
2013-04-23 09:02:19 -07:00
Alexey Shamrin
cbc4eccd50
fixed typo in buildingblocks.rst
2013-04-23 12:52:55 +04:00
Solomon Hykes
cff26b3a6c
Merge pull request #464 from tianon/patch-1
...
- Runtime: adapt cgroup capability detection to work on Gentoo
2013-04-23 00:36:10 -07:00
Solomon Hykes
329c3e0ffd
Merge pull request #462 from dotcloud/initial_changelog
...
+ Add initial Changelog
2013-04-23 00:32:25 -07:00
Solomon Hykes
4f6cc5c733
Completed Changelog for all past versions
2013-04-23 00:30:18 -07:00
Tianon Gravi
e413340723
Update FindCgroupMountpoint to be more forgiving
...
On Gentoo, the memory cgroup is mounted at /sys/fs/cgroup/memory, but the mount line looks like the following:
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
(note that the first word on the line is "memory", not "cgroup", but the other essentials are there, namely the type of cgroup and the memory mount option)
2013-04-23 01:09:29 -06:00
Solomon Hykes
95e066d24f
- Runtime: ghost containers can be killed.
2013-04-22 22:30:33 -07:00
Solomon Hykes
82b8f7a565
hack/dockerbuilder: a standard build environment for building and uploading official binary builds of docker... inside docker
2013-04-22 22:29:12 -07:00
Solomon Hykes
97badbd29e
Bumped version to 0.1.8
2013-04-22 22:04:57 -07:00
Thatcher Peskens
5a5e417d46
Merge remote-tracking branch 'dotcloud/master' into dhrp/docs
...
Conflicts:
docker/docker.go
docs/sources/installation/archlinux.rst
docs/sources/installation/index.rst
docs/sources/installation/ubuntulinux.rst
runtime.go
utils.go
2013-04-22 18:44:50 -07:00
Thatcher Peskens
4031a01af1
Merged changes
2013-04-22 18:38:42 -07:00
Guillaume J. Charmes
0b0d958b88
Merge pull request #463 from dotcloud/improve_pid_file_feature
...
Check that the pid in pidfile exists before preventing docker to start
2013-04-22 18:24:03 -07:00
Guillaume J. Charmes
03e4704ae5
Merge pull request #442 from dotcloud/fix_deleted_file_diff
...
Use aufs to handle parents whiteouts instead of doing it manually
2013-04-22 18:23:46 -07:00
Guillaume J. Charmes
7a8ac76299
Merge pull request #456 from dotcloud/453-generic_kernel_detection-fix
...
453 generic kernel detection fix
2013-04-22 18:20:17 -07:00
Guillaume J. Charmes
c05c91ca3b
Make kernel detection work without suffix
2013-04-22 18:15:33 -07:00
Guillaume J. Charmes
b76d63cb0c
Forbid attach to ghost
2013-04-22 17:53:32 -07:00
Guillaume J. Charmes
f926ed182f
Allow to kill/stop ghosts
2013-04-22 17:53:32 -07:00
Guillaume J. Charmes
d440782e17
Allow to kill container after docker server restarts
2013-04-22 17:52:38 -07:00
Guillaume J. Charmes
82848d4158
Allow to wait on container even after docker server restarts using lxc-info
2013-04-22 17:52:38 -07:00
Guillaume J. Charmes
97535e5a64
Add unit test for file deletion
2013-04-22 17:51:09 -07:00
Guillaume J. Charmes
f079fbe3fa
Check that the pid in pidfile exists before preventing docker to start
2013-04-22 15:57:31 -07:00
Guillaume J. Charmes
90d144b612
Merge pull request #457 from shamrin/patch-1
...
README.md: `docker port` instead of just `port`
2013-04-22 15:40:03 -07:00
Guillaume J. Charmes
d3db94696d
Merge pull request #461 from neomantra/master
...
Fix typo (ghot -> ghost)
2013-04-22 15:39:34 -07:00
Evan Wies
ffe16e3224
Fix typo (ghot -> ghost)
2013-04-22 18:37:06 -04:00
Guillaume J. Charmes
0b60829df7
Add initial changelog
2013-04-22 15:26:06 -07:00
Victor Vieux
6ce475dbdf
added push hijack (wip)
2013-04-22 23:37:22 +02:00
Thatcher Peskens
690e118670
Updated gettingstarted with quicker install.
2013-04-22 13:36:00 -07:00
Alexey Shamrin
038e1d174b
README.md: docker port instead of just port
2013-04-23 00:27:23 +04:00
Thatcher Peskens
6c8dcd5cbb
Updated Vagrantfile and documentation to reflect new installation path using Ubuntu's PPA, also switched everything to use Ubuntu 12.04 by default.
2013-04-22 13:10:32 -07:00
Guillaume J. Charmes
16aeb77d51
Move the kernel detection to arch specific files
2013-04-22 12:08:59 -07:00
Guillaume J. Charmes
4ac3b803b9
Make the kernel version detection more generic
2013-04-22 11:39:56 -07:00
Guillaume J. Charmes
3514e47edc
Do not prevent docker from running when kernel detection fails
2013-04-22 11:26:34 -07: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
Guillaume J. Charmes
2ced94b414
Merge pull request #454 from tianon/master
...
Update utils.go to not enforce extra constraints on the kernel "flavor" (such as being integral or even comparable one to another)
2013-04-22 08:02:42 -07:00
Guillaume J. Charmes
71b5806614
Do not stop execution if cgroup mountpoint is not found
2013-04-22 00:44:57 -04:00
Tianon Gravi
1f65c6bf4c
Update utils.go to not enforce extra constraints on the kernel "flavor" (such as being integral or even comparable one to another)
...
This is especially to fix the current docker on kernels such as gentoo-sources, where the "flavor" is the string "gentoo", and that obviously fails to be converted to an integer.
2013-04-21 19:19:38 -06: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
baacae8345
'docker push' buffers filesystem archives on disk instead of memory.
2013-04-21 14:23:55 -07:00
Solomon Hykes
52cedb8a05
Better title in ubuntu install doc
2013-04-20 18:26:15 -07:00
Solomon Hykes
15c7e72e2a
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-20 18:19:04 -07:00
Solomon Hykes
76b40ad6c9
Merge remote-tracking branch 'origin/check_kernel_capabilities'
2013-04-20 17:40:25 -07:00
Solomon Hykes
6909f3911f
Merge pull request #422 from shawnsi/arch-docs
...
Arch docs
2013-04-20 17:35:43 -07:00
Solomon Hykes
3b6c540fe8
Bumped version to 0.1.7
2013-04-20 17:35:00 -07:00
Solomon Hykes
d49a273071
Moved 'under the hood' below install instructions and examples in README
2013-04-20 17:33:02 -07:00
Solomon Hykes
1201c418cd
Fix Ubuntu install doc
2013-04-20 17:31:49 -07:00
Solomon Hykes
4a9c3a92e1
Formatting fix in ubuntu install doc
2013-04-20 17:30:33 -07:00
Solomon Hykes
28831a412f
Link to public images list in the README
2013-04-20 17:29:41 -07:00
Solomon Hykes
70cf467fdf
Removed duplicate ubuntu binary install instructions from README
2013-04-20 17:29:12 -07:00
Solomon Hykes
c40f01319f
Cleaned up install instructions in the README
...
* Addded quick install on ubuntu as the 1st install option
* Grouped other binary installs under "binary installs"
* Removed duplicate binary ubuntu installs (linked to the docs)
* Improved "build from source" instructions
2013-04-20 17:26:50 -07:00
Thatcher Peskens
0731d1a582
Updated ubuntu install
2013-04-19 20:59:43 -07:00
Thatcher Peskens
8ecde8f9a5
Updated documentation and fixed Vagrantfile
2013-04-19 20:57:50 -07:00
Solomon Hykes
911925b54a
Add a test for allocating tcp ports and reaching them on localhost
2013-04-19 20:46:07 -07:00
Solomon Hykes
7f1a32b9ff
Shutdown loopback-to-loopback proxy when unmapping a port
2013-04-19 20:44:25 -07:00
Solomon Hykes
930e9a7e43
Emulate DNAT in userland for loopback-to-loopback connections. This makes container ports available from localhost.
2013-04-19 19:35:44 -07:00
Solomon Hykes
61259ab4b4
Exclude loopback-to-loopback connections from DNAT rules, to allow userland proxying
2013-04-19 19:32:32 -07:00
Solomon Hykes
931ca464a7
'docker ps' shows port mappings
2013-04-19 19:29:13 -07:00
Guillaume J. Charmes
cc5a044a8c
update TestRunDisconnectTty to reflect the correct behavior of CmdRun
2013-04-19 17:51:41 -07:00
Guillaume J. Charmes
0eb425426f
Merge pull request #444 from lopter/master
...
Fixe the race condition between docker run and docker logs from #428
2013-04-19 18:09:58 -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
e49af5b6de
Use aufs to handle parents whitouts instead of doing it manually
2013-04-19 16:33:25 -07:00
Solomon Hykes
d8416539b3
contrib/vagrant-docker: a placeholder to centralize collaboration on an official docker provider for vagrant
2013-04-19 15:55:34 -07:00
Solomon Hykes
a76c3a9c95
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-19 12:55:32 -07:00
Solomon Hykes
e81ddb2dc7
Fixed 'hack' rule in Makefile
2013-04-19 12:55:17 -07:00
Solomon Hykes
4d728821e3
Merge remote-tracking branch 'origin/buildbot'
2013-04-19 12:47:22 -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
Solomon Hykes
152a9f77b4
Fix ubuntu packaging to build from a clean checkout of the correct git tag
2013-04-19 12:39:40 -07:00
Solomon Hykes
bfb84b564c
Merge remote-tracking branch 'origin/30-packaging-ubuntu'
2013-04-19 11:31:53 -07:00
Victor Vieux
b295239de2
added: info, history, logs, ps, start, stop, restart, rm, rmi
2013-04-19 15:24:37 +02:00
Solomon Hykes
e8a67f632e
Cleanup examples on README
2013-04-18 22:37:45 -07:00
Solomon Hykes
3d2fd8a650
Small wording fix in README
2013-04-18 22:24:52 -07:00
Solomon Hykes
79a78d37e7
Add examples to the README
2013-04-18 22:24:29 -07:00
Solomon Hykes
3ae5c45d9a
Fix examples in README to no longer rely on standalone mode
2013-04-18 22:22:00 -07:00
Guillaume J. Charmes
f3e89fae28
Use mount to determine the cgroup mountpoint
2013-04-18 21:57:58 -07:00
Guillaume J. Charmes
c42a4179fc
Add unit tests for CompareKernelVersion
2013-04-18 21:34:34 -07: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
Guillaume J. Charmes
003622c8b6
Check kernel version and display warning if too low
2013-04-18 20:47:24 -07:00
Thatcher Peskens
6de5ca1e64
Added redirect from old location of documentation (/documentation), these was the location when we were on github.
2013-04-18 16:00:18 -07:00
Solomon Hykes
deb55e416e
contrib/docker-build: don't remove the base image if the first build step fails
2013-04-18 14:46:17 -07:00
Victor Vieux
79e9105806
added kill and images(wip)
2013-04-18 18:56:22 +02:00
Shawn Siefkas
7eda9c64b8
Updating the arch linux installation docs
...
New AUR package name
Adding systemd service unit info
2013-04-18 09:20:23 -05:00
Shawn Siefkas
84c13a3dcf
Adding archlinux packaging documentation
2013-04-18 09:17:31 -05:00
Victor Vieux
90602ab62a
fixed test
2013-04-18 16:03:50 +02:00
Daniel Mizyrycki
8e6ba343bf
packaging-ubuntu, issue #30 : Ensure docker package installs and passes tests on official vagrant Ubuntu 12.04 box
2013-04-17 21:10:53 -07:00
Daniel Mizyrycki
523cd8e29c
packaging-ubuntu, issue #30 : streamline building and uploading to PPA
2013-04-17 20:56:34 -07:00
Daniel Mizyrycki
fd39af7f85
packaging-ubuntu: move original files in place for update
2013-04-17 20:56:34 -07: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
Solomon Hykes
13d9e26edd
Fix the behavior of Graph.Register so that it can be interrupted without side effect
2013-04-17 16:35:22 -07:00
Solomon Hykes
0a3131554c
Merge pull request #406 from shawnsi/405-arch-docs
...
Issue #405 : Documentation for Arch Linux Install
2013-04-17 15:45:26 -07:00
Solomon Hykes
521ce07859
Merge pull request #409 from lynaghk/master
...
Docker init created by contrib setup script should set proper UTF8 LANG
2013-04-17 15:23:12 -07:00
Solomon Hykes
f02950965e
Merge remote-tracking branch 'origin/183-no_such_device-fix'
2013-04-17 11:54:57 -07:00
Solomon Hykes
16f6daa5be
Merge remote-tracking branch 'origin/416-lxc_0_9_compatibliity-fix'
2013-04-17 11:35:12 -07:00
Solomon Hykes
ca6cd5b557
Keep a cache of the unit-tests image. So I can code in conferences with crappy wifi.
2013-04-17 11:32:13 -07:00
Victor Vieux
92cd75607b
Merge branch 'remote-api' of https://github.com/dotcloud/docker into remote-api
2013-04-17 12:21:56 +02:00
Victor Vieux
1615bb08c7
added -t in docker stop and restart to choose grace period
2013-04-17 11:56:30 +02:00
Guillaume J. Charmes
c4cd224d90
improve the crashTest script
2013-04-16 15:20:04 -07:00
Guillaume J. Charmes
7b0e96f1f4
Manually pass the env to docker-init instead of relying on lxc to pass it
2013-04-16 14:32:50 -07:00
Solomon Hykes
fc72a809c1
Remove unneeded dependencies from README
2013-04-16 12:10:16 -07:00
Solomon Hykes
a11b31399b
Skeleton of http API
2013-04-16 19:53:08 +02:00
Solomon Hykes
2a47df0202
Disabled standalone mode ( fixes #364 )
2013-04-15 11:44:11 -07:00
Kevin J. Lynagh
468fb90117
install.sh script's dockerd.conf should set docker daemon environment's LANG to en_US.UTF-8. See #355 .
2013-04-15 08:49:48 -07:00
Victor Vieux
ac49a797b4
try to load aufs module, disply error on failure
2013-04-15 12:05:46 +02:00
Guillaume J. Charmes
1ec6c223c9
Add a script to help reproduce #407
2013-04-14 15:13:32 -07:00
Solomon Hykes
db08705e3c
Merge remote-tracking branch 'origin/packaging'
2013-04-13 21:40:53 -07: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
Solomon Hykes
cdf90bb04b
Merge remote-tracking branch 'origin/96-dns_issue-fix'
2013-04-12 17:50:59 -07:00
Shawn Siefkas
45809e9a05
Issue #405 : Documentation for Arch Linux Install
2013-04-12 13:25:33 -05:00
Guillaume J. Charmes
1967c8342a
Allow to disable memory limit at compilation time
2013-04-12 10:48:20 -07:00
Guillaume J. Charmes
7673afc843
Allow use to set his own dns via -dns
2013-04-12 10:43:13 -07:00
Solomon Hykes
b1fbebb4a3
Fixed wording of ghost-related messages
2013-04-12 10:39:08 -07:00
Solomon Hykes
3527291b47
Merge remote-tracking branch 'origin/ghost_handling-fix'
2013-04-12 10:33:36 -07:00
Solomon Hykes
57d31c9777
Merge remote-tracking branch 'origin/kill_behaviour_fix'
2013-04-12 10:20:26 -07:00
Guillaume J. Charmes
a2f5a56143
Merge pull request #403 from titanous/update-authors
...
Update AUTHORS
2013-04-12 07:56:19 -07:00
Jonathan Rudenberg
343ed6b53f
Update AUTHORS
2013-04-12 10:44:50 -04:00
Guillaume J. Charmes
22893429ed
Go fmt
2013-04-12 07:37:24 -07:00
Guillaume J. Charmes
c1703c2b68
Merge branch 'create_pidfile' of https://github.com/flavio/docker into flavio-create_pidfile
2013-04-12 07:28:36 -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
Daniel Mizyrycki
f226842aa1
Packaging, Debian: Add maintainer documentation
2013-04-11 20:17:41 -07:00
Daniel Mizyrycki
b14164879b
Packaging: Add README documentation
2013-04-11 17:39:47 -07:00
Guillaume J. Charmes
bb22cd492e
Add unit test for hanging kill + fix other tests behaviour
2013-04-11 16:21:19 -07:00
Solomon Hykes
27be5aec74
Merge pull request #386 from lopter/master
...
Use ip to setup the gateway in sysinit.go
2013-04-11 15:02:20 -07:00
Solomon Hykes
048f9f4974
Added docker-build (formerly github.com/shykes/changer) as a contrib script
2013-04-11 14:44:39 -07:00
Flavio Castelli
fb0b375be7
docker daemon: create file containing PID
...
Ensure the docker daemon creates a file containing its PID under
/var/run/docker.pid.
The daemon takes care of removing the pid file when it receives either
SIGTERM, SIGINT or SIGKILL.
The daemon also refuses to start when the pidfile is found. An
explanation message is shown to the user when this happens.
This change is required to make docker easier to manage by tools like
checkproc which rely on this information.
2013-04-11 21:41:08 +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
Solomon Hykes
2de953490d
Contrib post-commit hook for checking gofmt
2013-04-11 11:30:35 -07:00
Victor Vieux
3ba44d2d5f
fixes some usages
2013-04-11 18:46:47 +02:00
Guillaume J. Charmes
313d13ea01
Detect and mark ghost container.
2013-04-11 09:26:17 -07:00
Guillaume J. Charmes
e68c04b722
force kill now use lxc-kill. Fixes #383
2013-04-11 09:04:04 -07:00
Guillaume J. Charmes
c902c43766
Merge pull request #392 from dotcloud/rm_usage-fix
...
Display usage when no parameter in docker rm
2013-04-11 07:56:46 -07: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
Daniel Mizyrycki
8ea1e9126f
packaging; issue #251 : Add debian packaging
2013-04-10 21:00:39 -07:00
Solomon Hykes
38e2d00199
Skeleton of http API
2013-04-10 19:48:21 -07:00
Guillaume J. Charmes
6dc4c74b5a
Use crlf in registry function to avoid issue with autlogin in push and autopull in run
2013-04-10 19:13:15 -07: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
1f9f5eed5d
Put the resolv.conf path in a variable instead of being hardcoded within lxc
2013-04-10 18:23:34 -07:00
Louis Opter
5e1a975b48
Use ip to setup the gateway in sysinit.go
...
ip from iproute2 replaces the legacy route tool which is often not
installed by default on recent Linux distributions.
The same patch has been done in network.go and is re-used here.
2013-04-10 17:40:28 -07:00
Guillaume J. Charmes
97f48e59fc
Allow rmi to remove image from its name
2013-04-10 17:23:42 -07:00
Solomon Hykes
e41fd24542
Added temporary spec for data volumes as requested on #111
2013-04-10 13:57:26 -07:00
Victor Vieux
8bd192fb16
changed last to n
2013-04-10 21:09:21 +02:00
Daniel Mizyrycki
d2c1850fb5
testing: Make postcommit more generic
2013-04-10 11:32:48 -07:00
Victor Vieux
8c3331dc97
add -l to docker ps
2013-04-10 19:30:57 +02:00
Solomon Hykes
f507188ddc
Merge pull request #372 from srid/goroutine-scope
...
serve goroutine must refer to the local conn
2013-04-09 21:06:31 -07:00
Solomon Hykes
76b7b2adf7
Merge remote-tracking branch 'origin/wait_non_existing_container-fix'
2013-04-09 21:05:15 -07:00
Solomon Hykes
cb68662b9b
Merge pull request #377 from jbarbier/buildbot
...
Fix the Makefile, rule=hack to make it work on Windows
2013-04-09 20:53:29 -07:00
Julien Barbier
b7cda3288e
Fix the Makefile, rule=hack to make it work on Windows
2013-04-09 19:07:50 -07:00
Solomon Hykes
a1f54cad6c
Merge pull request #367 from johncosta/333-redis-documentation
...
Add documentation for running a redis process with docker
2013-04-09 18:16:39 -07:00
Guillaume J. Charmes
9f83b9df22
Make sure all containers (even previously stopped) get a correct wait lock
2013-04-09 17:40:02 -07:00
John Costa
4ab241c930
incorporate feedback for improving the PR
2013-04-09 18:04:01 -04:00
Sridhar Ratnakumar
f731835e45
serve goroutine must refer to the local conn
2013-04-09 15:00:05 -07:00
Daniel Mizyrycki
bbaa975ec8
testing: Add buildbot VM
2013-04-09 14:37:37 -07:00
John Costa
418ef43fbb
Merge github.com:dotcloud/docker into 333-redis-documentation
2013-04-09 16:07:40 -04:00
Solomon Hykes
40ebe78bb1
Bumped version to 0.1.4
2013-04-09 13:00:50 -07:00
Solomon Hykes
1b7115a337
Merge remote-tracking branch 'origin/disable_signals-create_escape_sequence'
2013-04-09 12:56:32 -07:00
Guillaume J. Charmes
2e6a5bc7ee
Update README with escape sequence
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
72cef46e5e
Fix merge issue
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
626bfd87a7
Use integers instead of non-printable chars in the escape sequence detection
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
8f41f1fa60
Remove unused optimization that could lead in loosing the escape sequence
2013-04-09 12:55:26 -07:00
Guillaume J. Charmes
faa8843650
Look for the escape sequence only in tty mode
2013-04-09 12:55:17 -07:00
Guillaume J. Charmes
0d9e54367f
Fix deadlock on stop failure
2013-04-09 12:06:01 -07:00
Guillaume J. Charmes
1f70b1e15d
Implement an escape sequence in order to be able to detach from a container
2013-04-09 11:06:17 -07:00
Guillaume J. Charmes
3f63b87807
Disable signal catching and enable real posix raw mode
2013-04-09 11:06:17 -07:00
Solomon Hykes
9c3d2b6a4e
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-09 11:02:43 -07:00
Solomon Hykes
1716fccbcc
Merge remote-tracking branch 'origin/change_run_detach_behavious_tty_mode'
2013-04-09 10:39:13 -07:00
Solomon Hykes
9043e4c757
Merge pull request #363 from dhrp/docs
...
Added code and color for 'note' and updated the examples note.
2013-04-09 10:36:44 -07:00
Solomon Hykes
2e9a73c5d8
Merge remote-tracking branch 'origin/fix_flush_behaviour'
2013-04-09 10:31:56 -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
7c2b085d1a
Add inconditionnal lock in Start/Stop/Kill to avoid races
2013-04-09 09:09:54 -07:00
Guillaume J. Charmes
d063d52cce
Update the unit test to reflect the new CmdRun behaviour in tty mode
2013-04-09 08:18:36 -07:00
Guillaume J. Charmes
64c1b6d9cd
Change the behaviour of CmdRun in tty mode: dont kill the process uppon detach
2013-04-09 08:18:16 -07:00
John Costa
8f15c423e6
add documentation for running a redis process with docker
2013-04-09 11:04:14 -04:00
Guillaume J. Charmes
329f4449dc
Remove the mutexes and use chan instead in order to handle the wait lock
2013-04-09 07:57:59 -07:00
Solomon Hykes
0767916ade
Merge pull request #346 from srid/patch-2
...
make the service example work
2013-04-08 22:12:34 -07:00
Solomon Hykes
10923c7890
Merge remote-tracking branch 'origin/pty_fix-1'
2013-04-08 21:12:22 -07:00
Thatcher Peskens
2832ea0cfe
Added code and color for 'note' and updated the hello world note.
2013-04-08 20:10:47 -07:00
Solomon Hykes
a7299a3f26
Merge remote-tracking branch 'origin/unit_test_improvment-2'
2013-04-08 18:29:12 -07:00
Solomon Hykes
1601366cb6
Make it more clear when Docker fails to allocate a free IP range for its bridge
2013-04-08 18:16:58 -07:00
Louis Opter
e9a68801ba
Update the tests according to the "optional raw mode" changes
2013-04-08 16:07:12 -07:00
Guillaume J. Charmes
f73401fb9a
Add missing file
2013-04-08 16:07:12 -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
Guillaume J. Charmes
bdf05d8368
Reenable CmdRunAttachStdin and CmdRunHostname now using the DockConn interface
2013-04-08 15:58:09 -07:00
Guillaume J. Charmes
b71b226cc1
Improve error management (avoid unwanted output in tests)
2013-04-08 15:58:09 -07:00
Guillaume J. Charmes
80f6b4587b
Edit the tests for them to use the new command API. Disable TestRunHostname and TestAttachStdin.
2013-04-08 15:58:09 -07:00
Guillaume J. Charmes
e6e9c1cd62
Use io.WriteCloser instead of *os.File in DockerLocalConn so we can use it with standard writers and pipes
2013-04-08 15:58:09 -07:00
Guillaume J. Charmes
246eed52de
Move DockerLocalConn and terminal functions form package "main" to "rcli" in order to be able to use DockerLocalConn in commands_test.go
2013-04-08 15:58:09 -07:00
Louis Opter
b306a60738
Simplification in the goroutine that restore the terminal state on SIGINT
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
Louis Opter
4e5001b46a
Remove the unused http transport from rcli
2013-04-08 15:58:09 -07:00
Solomon Hykes
b8f9803459
Merge pull request #347 from kencochrane/303_docs_fix
...
improved the example docs to help #303
2013-04-08 11:50:07 -07:00
Solomon Hykes
0c018d3697
Merge pull request #356 from flavio/improve_python_web_app_example
...
Extend the documentation covering the web app example
2013-04-08 11:49:17 -07:00
Flavio Castelli
72fdb41069
Extend the documentation covering the web app example
...
Make it clear how to access the web app running inside of the container
from the host.
2013-04-08 17:39:30 +02:00
Ken Cochrane
6eb8a74ff9
added headers to examples linking back to running the examples page
2013-04-07 10:23:00 -04:00
Ken Cochrane
81ebf4fcf6
made a new running the examples page, and added a link to the top of each example to the page to show people how to run them.
2013-04-07 10:21:08 -04:00
Sridhar Ratnakumar
9875a9b1f1
sync with README
2013-04-07 00:43:57 -07:00
Sridhar Ratnakumar
27feba4594
make the service example work
...
issue #98 requires connecting to localhost (which `hostname` may resolve to) will not work.
2013-04-07 00:41:24 -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
99b5bec069
Fix run disconnect behavious in tty mode + add unit test to enforce it
2013-04-05 19:02:35 -07:00
Guillaume J. Charmes
7d8895545e
Cleanup pty variable names
2013-04-05 17:40:55 -07:00
Guillaume J. Charmes
33a5fe3bd4
Make sure the process start in his own session and grabs the terminal
2013-04-05 17:40:55 -07:00
Guillaume J. Charmes
847a8f45a4
Merge the 3 ptys in 1
2013-04-05 17:40:55 -07:00
Solomon Hykes
8cf30395a1
Changed default bridge interface do 'docker0'
2013-04-05 14:16:19 -07:00
Solomon Hykes
22adb52c0a
The flag to use a pre-existing bridge interface is '-b'. Added explanation
2013-04-05 14:16:04 -07:00
Solomon Hykes
793c1ad990
Merge remote-tracking branch 'origin/219-default-bridge-2'
2013-04-05 14:02:16 -07:00
Solomon Hykes
febaeebfb8
Add tests of tcp port allocator
2013-04-05 13:03:24 -07:00
Solomon Hykes
d32f184696
Fix a race condition when running the port allocator
2013-04-05 13:03:04 -07:00
Guillaume J. Charmes
20085794f0
Increase the timeout in TestStart() to make sure the container has the time to die within the function
2013-04-05 02:01:38 -07:00
Solomon Hykes
a4fc52305a
Bumping version to 0.1.3
2013-04-04 23:05:03 -07:00
Solomon Hykes
2aad4a3478
Choose which TCP frontend port to allocate with '-p :PORT'
2013-04-04 22:58:01 -07:00
Solomon Hykes
a5fb1d6c01
Refactored PortAllocator to allow for same-frontend constraint
2013-04-04 22:56:12 -07:00
Guillaume J. Charmes
b76b329ef0
Prevent destroy() to stop twice container in TestRestore()
2013-04-04 20:40:42 -07:00
Guillaume J. Charmes
bae6f95830
Increase the timeout of TestRestore() to avoid unwanted timeout error
2013-04-04 20:32:44 -07:00
Guillaume J. Charmes
cda9cf1539
Avoid unwanted warnings from destroy() in TestStart()
2013-04-04 20:30:24 -07:00
Solomon Hykes
f344212b93
Renamed PortAllocator.populate() to run()
2013-04-04 19:49:32 -07:00
Solomon Hykes
0424998f38
Print a less confusing error message when lxcbr0 doesn't exist
2013-04-04 19:14:10 -07:00
Solomon Hykes
8bfbdd7afa
Add versioning to docker image format. IMPORTANT: the format versioning is pegged to docker's versioning, so changes to the format MUST trigger an increment in version number.
2013-04-04 18:38:43 -07:00
Solomon Hykes
3de51b7bfe
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-04 17:00:59 -07:00
Solomon Hykes
a58cd8c616
Merge pull request #322 from sa2ajj/port-map-nitpick
...
change option description to reflect the semantics
2013-04-04 16:39:54 -07:00
Solomon Hykes
586a79cca0
Merge remote-tracking branch 'dominikh/minor-code-touchups'
2013-04-04 16:20:37 -07:00
Solomon Hykes
349edf1bea
Merge pull request #331 from lynaghk/master
...
Fix broken link on documentation website between examples.
2013-04-04 16:18:27 -07:00
Solomon Hykes
677908910c
Merge pull request #320 from sa2ajj/cli-docs
...
move each command description into a separate document
2013-04-04 16:17:53 -07:00
Solomon Hykes
6b5fe8c2ec
Merge remote-tracking branch 'origin/257-container_real_running_state-fix'
2013-04-04 15:34:18 -07:00
Solomon Hykes
26088a72b3
Merge remote-tracking branch 'dominikh/improve-attachopts'
2013-04-04 15:18:41 -07:00
Solomon Hykes
ebc837957f
Continue cleaning up iptables rules from previous version, to avoid crashing after an upgrade
2013-04-04 15:16:42 -07:00
Solomon Hykes
c4d3da5871
Merge remote-tracking branch 'unclejack/137-fix-nat'
2013-04-04 15:06:20 -07:00
unclejack
32f5811476
stop looping remote:port from host to containers
2013-04-04 23:07:10 +03:00
Solomon Hykes
a7f191d51d
Merge remote-tracking branch 'origin/328-i_o_error_uncloced_connection-fix'
2013-04-04 11:03:39 -07:00
Guillaume J. Charmes
1b370f9d8d
Move the default bridge name to a constant
2013-04-04 05:33:28 -07:00
Kevin J. Lynagh
92186d7cf7
Fix broken link in doc site.
...
Broken link was from python_web_app to nonexistent "base commands page"; updated to point to next item in examples menu, running_ssh_service screencast.
2013-04-03 22:23:17 -07:00
Solomon Hykes
5d3c0767da
Simplified Graph.Delete() - no more garbage collecting, just atomic deregister then os.RemoveAll
2013-04-03 22:14:28 -07:00
Guillaume J. Charmes
aa4bf4284b
If bridge does not exists, try to create it
2013-04-03 16:17:03 -07:00
Guillaume J. Charmes
d9a9bfc9c7
Make LXC aware of custom bridge
2013-04-03 16:15:44 -07:00
Guillaume J. Charmes
90a6e310fe
Add an helper function to check if two network overlaps. Also add unit tests for this function
2013-04-03 16:15:43 -07:00
Guillaume J. Charmes
f39af7e05d
Put the bridge interface name in the command line
2013-04-03 16:15:43 -07:00
Solomon Hykes
dce5a06aba
Bumped version to 0.1.2
2013-04-03 15:35:32 -07:00
unclejack
3b65be9127
Fix NAT problem with ports looping back to containers
2013-04-04 01:32:46 +03:00
shin-
ad0183e419
Check WaitTimeout return in test, replaced lock initialization in runtime.Register() with call to initLock()
2013-04-03 10:48:02 -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
Mikhail Sobolev
b74d1c9247
change option description to reflect the semantics
...
At least, for me, 'map' means that there are two values and one is "mapped" to
another.
In this case, just one value is provided (container's port), the other value is
automatically obtained (host's port) and the actual mapping can be seen using
``docker port`` command.
2013-04-03 16:37:56 +03:00
Mikhail Sobolev
cf8b8c1969
move each command description into a separate document
2013-04-03 15:55:18 +03:00
shin-
d1767bbf67
Moved resetLock() to the Load() method ; changed resetLock() to initLock() and changed behavior to not modify the lock if it was already set (not nil)
2013-04-03 05:39:39 -07:00
shin-
7b74b9cab5
Integrated @creack's feedback on TestRestore
2013-04-03 05:37:45 -07:00
Dominik Honnef
14d3880daf
remove superfluous panic
2013-04-03 11:19:48 +02:00
Dominik Honnef
22f1cc955d
replace unreachable returns with panics
...
Not only is this a more common idiom, it'll make finding bugs easier,
and it'll make porting to Go 1.1 easier.
Go 1.1 will not require the final return or panic because it has a
notion of terminating statements.
2013-04-03 11:18:23 +02:00
Dominik Honnef
cab31fd512
use wg.Done() isntead of wg.Add(-1)
2013-04-03 11:11:34 +02:00
Dominik Honnef
1fc55c2bb9
kill the right containers in runtime_test
2013-04-03 11:11:06 +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
22d1622926
Merge remote-tracking branch 'robryk/writebroadcaster-stuff'
2013-04-02 20:35:13 -07:00
Solomon Hykes
35c68944c7
Merged shawnsi/git-version
2013-04-02 20:26:22 -07:00
Solomon Hykes
b1fa26bb76
TestRunHostname checks that 'docker run -h' correctly sets a custom hostname
2013-04-02 19:00:05 -07:00
Solomon Hykes
d6fb2a0836
Merge remote-tracking branch 'sa2ajj/hostname-parameter'
2013-04-02 18:41:14 -07:00
Solomon Hykes
65aa3dda85
Merged dhrp/docs
2013-04-02 18:39:39 -07:00
Solomon Hykes
a05af3ebf3
Fix a bug which caused 'docker push' to fail with 411-lenght-required in Go 1.0
2013-04-02 18:37:29 -07:00
Solomon Hykes
0e1781af26
Merge remote-tracking branch 'unclejack/194-high-image-compression'
2013-04-02 18:10:07 -07:00
Solomon Hykes
14d9f51bbe
Merge branch 'master' into attach-stdin
2013-04-02 18:07:45 -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
Solomon Hykes
c77063afcd
Add test for attaching only stdin at run with 'docker run -i -a=stdin'
2013-04-02 18:05:19 -07:00
Guillaume J. Charmes
a19a9e3ca8
Discarding errors in CmdRun
2013-04-02 12:21:35 -07:00
Guillaume J. Charmes
ad2bbe23be
Close the broadcaster once they are not needed anymore
2013-04-02 12:19:01 -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
2db358146f
'docker run' in attached mode no longer waits for the process to exit. Take this into account in the tests.
2013-04-02 11:07:49 -07:00
Solomon Hykes
1cc1cb099e
When simulating disconnects in the tests, make sure that the command returns - but don't check for a specific return value
2013-04-02 11:06:42 -07:00
Solomon Hykes
aea2675f7b
Activate Config.StdinOnce at argument parsing
2013-04-02 11:02:19 -07:00
Solomon Hykes
8f9e454241
[unit tests] Cleanly kill all containers before nuking a temporary runtime
2013-04-02 11:00:14 -07:00
Solomon Hykes
7666307931
Use an environment variable to activate debug mode, instead of a package-specific flag
2013-04-02 10:58:16 -07:00
shin-
791ca6fde4
Better crash simulation in TestRestore ; force state lock creation when loading a container from disk
2013-04-02 10:06:49 -07:00
Guillaume J. Charmes
43484e8b50
Add a TestRunExit, make sure cmdRun returns after process dies
2013-04-02 09:22:30 -07:00
Shawn Siefkas
5471f5b2ee
Implementing dirty git checkout indicator
2013-04-02 09:58:19 -05:00
shin-
02c211a0dc
variable names
2013-04-02 07:13:42 -07:00
shin-
c780ff5ae7
More thorough test case, use container.Stop() instead of lxc-kill,
...
use setStopped() during the restore step
2013-04-02 07:01:43 -07:00
shin-
8edf0ca7f3
Merge branch 'master' into 257-container_real_running_state-fix
2013-04-02 06:37:50 -07:00
Joffrey F
927308cfd9
Merge pull request #317 from dotcloud/307-loginfix
...
Fix for #307
2013-04-02 03:01:23 -07:00
shin-
8fed600077
Fix for #307
2013-04-02 03:00:21 -07:00
Robert Obryk
a83d87abd4
Renamed writeBroadcaster.Close() to CloseWriters().
2013-04-02 10:45:17 +02:00
Solomon Hykes
c808940c04
Refactored CmdRun and CmdAttach to use Container.Attach
2013-04-01 23:52:20 -07:00
Thatcher Peskens
81874ad442
Fixed a lot of language and small things.
2013-04-01 19:11:09 -07:00
Solomon Hykes
3478d6f706
Merge pull request #288 from titanous/expand-contributing
...
Expand the contributing guidelines
2013-04-01 18:45:18 -07:00
Solomon Hykes
13b6309138
Merge pull request #312 from sa2ajj/devenv-doc-fix
...
fix code block formatting
2013-04-01 18:40:29 -07:00
Mikhail Sobolev
90db9e7517
fix code block formatting
2013-04-02 04:35:54 +03:00
Thatcher Peskens
f15889461d
Merge remote-tracking branch 'dotcloud/master' into dhrp/docs
2013-04-01 18:11:46 -07:00
Guillaume J. Charmes
dea4194f8b
Merge pull request #286 from titanous/285-close-bodies
...
Close HTTP response bodies
2013-04-01 17:59:22 -07:00
Solomon Hykes
e331f1ee0e
Merge pull request #305 from fsouza/master
...
Makefile: simplify "fmt" target
2013-04-01 16:28:29 -07:00
unclejack
0ddc6867fb
use xz compression when pushing images to the registry
...
This makes the xz compression the default.
2013-04-02 02:19:34 +03:00
unclejack
3c5d2e4661
add support for xz compression
...
This adds xz as a compression option.
xz is alread supported by bsdtar without the external xz program.
2013-04-02 02:16:28 +03:00
Solomon Hykes
ff5cb8e864
Images can be removed by short-hand ID. Solves #306 .
2013-04-01 16:04:44 -07:00
Solomon Hykes
7ad2e022fb
Add test to reproduce issue #306
2013-04-01 16:02:02 -07:00
Mikhail Sobolev
f65fc1e766
add host name parameter to "run" command
...
fixes #243
2013-04-02 01:26:17 +03:00
Mikhail Sobolev
dcc9dfb27d
make complex options to stand out
2013-04-02 01:26:17 +03:00
Francisco Souza
650dff73bd
makefile: simplify "fmt" target, and include -s flag
2013-04-01 18:50:25 -03:00
Solomon Hykes
6d00145076
Merge pull request #304 from paulhammond/mkimage-busybox-fixes
...
Fix mkimage-busybox
2013-04-01 14:38:00 -07:00
Paul Hammond
cc2558bf10
Fix mkimage-busybox
2013-04-01 14:34:12 -07:00
Shawn Siefkas
e566b89a5f
Shortening the git commit used in the version command
2013-04-01 16:31:33 -05:00
Solomon Hykes
47c4c2abd4
Merge remote-tracking branch 'origin/progress_bar_push_pull'
2013-04-01 13:49:07 -07:00
Solomon Hykes
fa5bb5acf1
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-04-01 13:44:19 -07:00
Solomon Hykes
50500cfcb6
Merge pull request #300 from cespare/make-fmt
...
Add a 'fmt' target to the Makefile.
2013-04-01 13:41:53 -07:00
Guillaume J. Charmes
9e81ab65cb
Merge pull request #301 from dotcloud/container_test_improvment-1
...
Avoid destroy() timeout by closing stdin in TestStart()
2013-04-01 13:36:02 -07:00
Guillaume J. Charmes
ff26493fd5
Merge pull request #298 from cespare/cleanup-1
...
Some style, text, and comment cleanup.
2013-04-01 13:26:40 -07:00
Caleb Spare
9b13d21fc9
Add a 'fmt' target to the Makefile.
...
A convenience for gofmting all the code, including subpackages.
2013-04-01 13:05:00 -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
Caleb Spare
15b3088157
Don't convert []byte to string unnecessarily.
2013-04-01 11:15:40 -07:00
Caleb Spare
7830cf9166
Don't use a strings.Reader where a bytes.Reader will do.
...
There are several places where a []byte is converted to a string
and then fed into strings.NewReader().
2013-04-01 11:15:10 -07:00
Jonathan Rudenberg
321d94b17e
Expand the contributing guidelines
2013-04-01 12:35:04 -04:00
Jonathan Rudenberg
6b59cc8a10
Close HTTP response bodies
...
Fixes #285 .
2013-04-01 09:51:56 -04:00
Guillaume J. Charmes
91b1f9eee9
Avoid destroy() timeout by closing stdin in TestStart()
2013-03-31 22:42:10 -07:00
Solomon Hykes
c9a13147fe
Merge pull request #238 from johncosta/42-contribution-guidelines
...
Contribution guidelines
2013-03-31 22:14:18 -07: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
a52a28b609
Temporarily disable a broken test (waiting for @creack to fix it), and silence a warning which pollutes unit tests but is complicated to fix
2013-03-31 22:05:14 -07:00
Solomon Hykes
54443c092c
gofmt
2013-03-31 22:04:59 -07:00
Guillaume J. Charmes
ad1e8a9b0f
Add unit test for CmdAttach
2013-03-31 21:48:18 -07:00
Solomon Hykes
29b7ecb017
Merge pull request #272 from dominikh/improve/lazy-ip-allocator
...
Make IP allocator lazy
2013-03-31 21:04:35 -07:00
Dominik Honnef
6f9a67a7c7
Make IP allocator lazy
...
Instead of allocating all possible IPs in advance, generate them as
needed.
A loop will cycle through all possible IPs in sequential order,
allocating them as needed and marking them as in use. Once the loop
exhausts all IPs, it will wrap back to the beginning. IPs that are
already in use will be skipped. When an IP is released, it will be
cleared and be available for allocation again.
Two decisions went into this design:
1) Minimize memory footprint by only allocating IPs that are actually
in use
2) Minimize reuse of released IP addresses to avoid sending traffic to
the wrong containers
As a side effect, the functions for IP/Mask<->int conversion have been
rewritten to never be able to fail in order to reduce the amount of
error returns.
Fixes gh-231
2013-04-01 06:02:44 +02:00
Guillaume J. Charmes
cfeed391d7
Change the commands unit tests in order to reflect the proper behaviour of CmdRun
2013-03-31 20:52:35 -07:00
Guillaume J. Charmes
8c36e6920a
Working in progress: add unit tests for the running state check
2013-03-31 20:14:54 -07:00
Guillaume J. Charmes
3dcaf20d6b
Check if the containers are really running when starting docker
2013-03-31 17:40:39 -07:00
Guillaume J. Charmes
d949e2804a
Add a check to avoid double start (resulting in dockerd to panic) and unit test for it
2013-03-31 14:15:10 -07:00
Guillaume J. Charmes
1fc9405537
Add progress bar on docker push
2013-03-31 13:53:47 -07:00
Guillaume J. Charmes
b64dfdd8cd
Add a progress bar to docker pull
2013-03-31 13:04:41 -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
4760749402
Close the containers stdin when the process dies
2013-03-30 09:08:53 -07:00
Guillaume J. Charmes
7efde5eb83
Fix a scope issue preventing the close of slave stdin pty ( #228 )
2013-03-30 09:07:54 -07:00
Guillaume J. Charmes
5252ab697c
Store the master ptys in order to close them when the process dies ( #228 )
2013-03-30 09:05:53 -07:00
Guillaume J. Charmes
41555f67e0
Merge pull request #269 from cespare/gofmt-1
...
Gofmt.
2013-03-30 12:46:47 -07:00
Robert Obryk
75ba07cb3a
Swapped a map for a list in writeBroadcaster.
2013-03-30 16:04:19 +01:00
Robert Obryk
0bdfcfaa33
Make writeBroadcaster safe for concurrent use.
2013-03-30 16:02:22 +01:00
Guillaume J. Charmes
8cceafc834
Add unit test for the #125 scenario. Reattach after client disconnect on stdin allocated container
2013-03-30 06:55:47 -07:00
Caleb Spare
2d4c5ddbdd
Gofmt.
2013-03-29 23:58:30 -07:00
Solomon Hykes
d1ed28cb94
Merge remote-tracking branch 'robryk/cmdstream-deadlock'
2013-03-29 23:43:02 -07:00
Solomon Hykes
7dbb1eacc1
Merge remote-tracking branch 'origin/improve_container_tests'
2013-03-29 23:41:09 -07:00
Thatcher Peskens
e9d17b1f91
Redundant message in basics.
2013-03-29 17:38:31 -07:00
Thatcher Peskens
6437648176
Added a lot of basic instructions on various topics
2013-03-29 17:30:10 -07:00
Daniel Mizyrycki
e99541e637
packaging; issue #30 : Original files to make the Ubuntu PPA on launch date
2013-03-29 14:57:31 -07:00
Robert Obryk
68278b66c5
Added a timeout to TestCmdStreamLargeStderr.
2013-03-29 22:36:36 +01:00
Solomon Hykes
f483b214bb
Merge remote-tracking branch 'robryk/bufreader-race'
2013-03-29 13:50:33 -07:00
Solomon Hykes
f5b458b1dc
Merge pull request #250 from metachord/master
...
Remove unnecessary path parts
2013-03-29 13:42:23 -07:00
Solomon Hykes
f7b4f0c193
FIXME: implement a timeout in TestCmdStreamLArgStderr to avoid blocking the whole test suite when it fails
2013-03-29 13:37:52 -07:00
Solomon Hykes
6ede6bc8f2
Comment CmdStream a little bit to facilitate future fixes and contributions
2013-03-29 13:26:02 -07:00
Solomon Hykes
fdae64d8d7
Merge remote-tracking branch 'robryk/cmdstream-deadlock'
2013-03-29 13:20:17 -07:00
Solomon Hykes
f85e6548c7
Comment to explain CmdStream
2013-03-29 13:18:59 -07:00
Solomon Hykes
c937e237ad
Merged Ctrl-C interception by @creack
2013-03-29 13:12:04 -07:00
Guillaume J. Charmes
0ebdca5e61
Add unit test for multiple attach / restart
2013-03-29 10:56:49 -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
0b2eee8b33
Fix #108 , reattach now works properly
2013-03-29 09:31:47 -07:00
Solomon Hykes
d0d5d5ff09
Merge pull request #265 from dotcloud/formating_debug_harmonize
...
Formating debug harmonize
2013-03-29 21:30:43 -07:00
Solomon Hykes
57dfca052b
Merge pull request #266 from dotcloud/do_not_log_stopped_container
...
Do not log non-running containers
2013-03-29 21:29:19 -07:00
Solomon Hykes
99b36c2c32
Add comments in graph.go
2013-03-29 21:13:59 -07:00
Solomon Hykes
b013d93786
Merge remote-tracking branch 'origin/264-remove_cmdAttach_option'
2013-03-29 20:30:43 -07:00
Solomon Hykes
b1fa21aa0e
Merge remote-tracking branch 'lopter/master'
2013-03-29 20:17:33 -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
0f7a4534c1
Do not log non-running containers
2013-03-29 08:46:06 -07:00
Guillaume J. Charmes
7a565a0479
Remove unused variable from container struct
2013-03-29 08:41:48 -07:00
Guillaume J. Charmes
69c2250ec2
Add some error checking in container monitor
2013-03-29 08:29:59 -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
Guillaume J. Charmes
9442d6b349
Remove the options of CmdAttach
2013-03-29 07:49:26 -07:00
Guillaume J. Charmes
232dbb1864
Improve the containers unit tests (add error checking)
2013-03-29 07:44:58 -07:00
Robert Obryk
58befe3081
Fix a deadlock in CmdStream.
...
As per FIXME, CmdStream could have deadlocked if a command printed
enough on stderr. This commit fixes that, but still keeps all of
the stderr output in memory.
2013-03-29 12:55:48 +01:00
John Costa
bd3c6793a1
remove dulicated text and correct contributing link
2013-03-29 07:06:58 -04:00
Robert Obryk
d52451bcf8
Fix a race condition in bufReader.
...
The race condition cen be detected by running existing bufReader tests
with Go's race detector.
2013-03-29 11:00:50 +01:00
Maxim Treskin
6d72758f12
Remove unnecessary part of paths to lxc executables
2013-03-29 12:07:25 +07:00
Solomon Hykes
1d6929c8bc
Fixed leftover from docs merge. Thanks @cespare for spotting!
2013-03-28 19:18:03 -07:00
Solomon Hykes
48a208baf1
Merging dhrp/docs
2013-03-28 19:12:58 -07:00
Thatcher Peskens
61cf09b2e7
Fixed some links in gettingstarted
2013-03-28 19:03:06 -07:00
Solomon Hykes
b51fe837a4
Merge pull request #241 from titanous/cleanup-deps
...
Remove unneeded sqlite deps from puppet and debian control
2013-03-28 18:45:44 -07:00
Solomon Hykes
4e11e42546
Merge pull request #244 from dotcloud/docs-julien
...
Docs: Changed the url of the LEGO img to point to the one with copyright
2013-03-28 18:45:20 -07:00
Solomon Hykes
ba33d67a1a
Test that iptables() looks for iptables in the PATH
2013-03-28 18:44:47 -07:00
Solomon Hykes
70853785b6
Merge remote-tracking branch 'shawnsi/iptables-wrapper'
2013-03-28 18:40:02 -07:00
Solomon Hykes
12a65dc4a8
Merge remote-tracking branch 'titanous/camelize'
2013-03-28 18:23:59 -07:00
Solomon Hykes
b67fe1ecb9
Merge pull request #246 from titanous/update-authors
...
Update AUTHORS and add .mailmap
2013-03-28 18:19:05 -07:00
Jonathan Rudenberg
6bcc55f7d0
Update AUTHORS and add .mailmap
2013-03-28 20:53:54 -04:00
Jonathan Rudenberg
a6da7f138c
Camelize some snake_case variable names
2013-03-28 20:12:23 -04:00
Julien Barbier
d66de319bd
Docs: Changed the url of the LEGO img to point to the one with copyright
2013-03-28 17:09:36 -07:00
John Costa
760736b3f3
add contributing guidlines md file
2013-03-28 20:04:21 -04:00
Solomon Hykes
0636c11f0b
Merge remote-tracking branch 'origin/165-push_permission_check-fix'
2013-03-28 15:45:00 -07:00
Jonathan Rudenberg
5dc1e66366
Remove unneeded sqlite deps from puppet and debian control
2013-03-28 18:38:53 -04:00
John Costa
a5054184a1
move documentation changes to reStructuredText docs under website. https://github.com/dotcloud/docker/issues/42
2013-03-28 16:32:31 -04:00
Thatcher Peskens
09910785c8
Merge remote-tracking branch 'dotcloud/master' into dhrp/docs
...
Conflicts:
docs/sources/examples/python_web_app.rst
2013-03-28 12:48:32 -07:00
Shawn Siefkas
523803d633
Handling iptables() errors more usefully during portmapper setup
2013-03-28 14:44:54 -05:00
Thatcher Peskens
4bd21e0d7f
Merge remote-tracking branch 'dotcloud/master' into dhrp/docs
2013-03-28 12:36:14 -07:00
Shawn Siefkas
c66d2b6a53
Return error when iptables is not found
2013-03-28 14:30:56 -05:00
Thatcher Peskens
da69df5f42
Added the lego illustration to the docs.docker.io 'homepage'
2013-03-28 12:27:37 -07:00
Thatcher Peskens
32b58159cd
Changed the lego illustration on /README.md to the version which contains the copyright in the image itself.
2013-03-28 12:18:22 -07:00
Shawn Siefkas
dfc3904f77
Looking for iptables in PATH
2013-03-28 14:02:50 -05:00
Solomon Hykes
4825d3a537
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-28 11:54:33 -07:00
Ken Cochrane
5c639118d3
fixed some of the syntax in example
...
The example was broken, I updated it to work with latest version of code.
2013-03-28 15:51:10 -03:00
Thatcher Peskens
9bc7e71f16
Removed $'s from examples to make them easier to copy paste
2013-03-28 11:50:00 -07:00
Solomon Hykes
19316955dd
Merge remote-tracking branch 'origin/174-remove_image_twice-fix'
2013-03-28 11:48:41 -07:00
Thatcher Peskens
172f746e4d
Fixed links on gettingstarted to point to the right places in docs
2013-03-28 11:44:33 -07:00
Solomon Hykes
47e5d2f5e1
Merge remote-tracking branch 'origin/docs'
2013-03-28 11:12:00 -07:00
Thatcher Peskens
70594bdd16
Merge remote-tracking branch 'dotcloud/master' into local/dotcloud/docs
2013-03-28 10:58:01 -07:00
Ken Cochrane
09e69e45a6
Merge pull request #225 from dhrp/readthedocs
...
#225 Update the docs to work with http://docs.docker.io
2013-03-28 06:58:21 -07:00
Ken Cochrane
9528b8685f
Merge pull request #229 from mynamewastaken/master
...
Fixed typo in description
2013-03-28 06:55:40 -07:00
mynamewastaken
b3cbe87b62
Update README.md
...
Fixed typo
2013-03-28 02:55:28 -05:00
Guillaume J. Charmes
6a236184af
Change hardcoded "0" onto os.Stdin.Fd()
2013-03-27 23:56:36 -07:00
Guillaume J. Charmes
108acc0511
#214 Better signal handling
2013-03-27 23:54:53 -07:00
Charles Hooper
e37ce11cfa
Merge pull request #227 from chooper/issue226_vagrant
...
Remove /usr/local/bin/docker from Vagrant VirtualMachine image during provisioning
2013-03-27 22:56:37 -07:00
Charles Hooper
fa89076673
Remove /usr/local/bin/docker
2013-03-28 05:28:11 +00:00
Charles Hooper
5aba56e0e0
Merge remote-tracking branch 'upstream/master'
2013-03-28 02:08:04 +00:00
Charles Hooper
daa7e4a203
Merge pull request #184 from titanous/simplify-vagrant
...
vagrant: Simplify provisioning to build from repo
2013-03-27 19:07:20 -07:00
Jonathan Rudenberg
a3ab89df2b
vagrant: Simplify provisioning to build from repo
...
This sets up an idiomatic Go workspace in /opt/go with the source
shared from the host directory in
/opt/go/src/github.com/dotcloud/docker and docker installed into
/opt/go
2013-03-27 21:55:25 -04:00
Thatcher Peskens
90fb5dc962
Made all paths "pretty url's" including gettingstarted.
2013-03-27 17:01:50 -07:00
Thatcher Peskens
3b71336edc
Made changes to incorporate extermal docs.docker.io. Also took out /documentation/ dir so sources are easier accessible and the folder is not redundant on docs.docker.io/documentation/
2013-03-27 16:43:13 -07:00
Guillaume J. Charmes
baea0a98f8
Add unit test for #174 Delete image already deleted then repulled
2013-03-27 12:09:58 -07:00
Solomon Hykes
d8dc6d4583
Merged branch sa2ajj/top-level-makefile
2013-03-27 11:50:01 -07:00
Charles Hooper
95d87f1ac0
Merge remote-tracking branch 'upstream/master'
2013-03-27 14:50:42 +00:00
Charles Hooper
7e9975d00a
Merge pull request #205 from crazysim/docker-local-shared
...
Use the directory where the Vagrantfile is located for SyncFolders instead of a hard-coded "~/docker"
2013-03-27 07:34:58 -07:00
Ken Cochrane
212a044a55
changed docker import to docker pull
...
changed docker import to docker pull, still need to make sure that the image is in the registry.
2013-03-27 10:44:20 -03:00
Ken Cochrane
165a7f3670
change docker import to docker pull
...
change docker import to docker pull in the basecommands doc
2013-03-27 10:43:05 -03:00
Ken Cochrane
0d75c68e5e
Merge pull request #209 from gottagetmac/patch-1
...
Fixed typo in command description for pull
2013-03-27 06:06:15 -07:00
Daniel Robinson
ff04ce3ddf
Fixed typo in command description for pull
2013-03-27 10:02:11 -03:00
Nelson Chen
43213dfc4a
use the directory where the vagrantfile is located for mounting
2013-03-26 23:14:50 -07:00
Solomon Hykes
4a086dfc08
Fixed broken examples in docs
2013-03-26 20:28:46 -07:00
Charles Hooper
6b54a439b2
Merge pull request #204 from dhrp/master
...
Added amazon install path to documentation.
2013-03-26 20:23:21 -07:00
Charles Hooper
00b81936aa
Merge pull request #192 from chooper/vagrant11-providers
...
Fix AWS provisioning with Vagrant
2013-03-26 20:18:09 -07:00
Solomon Hykes
b2e16f941d
Merge pull request #199 from dotcloud/smalldocs
...
Small update to docs
2013-03-26 20:12:03 -07:00
Solomon Hykes
72563925a1
Merge pull request #200 from dhrp/update-examples
...
Update examples
2013-03-26 20:11:07 -07:00
Solomon Hykes
f951f7876b
Merge pull request #203 from hblanks/remove-run-dash-a
...
docs - remove references to run -a
2013-03-26 20:08:25 -07:00
Hunter Blanks
7e4ac6c689
docs - remove references to run -a
2013-03-26 19:31:50 -07:00
Charles Hooper
9e5a25c100
Merge remote-tracking branch 'upstream/master'
2013-03-27 02:19:52 +00:00
Charles Hooper
8461196a79
Stop using custom AMI and use standard Ubuntu AMI
2013-03-27 01:41:47 +00:00
Charles Hooper
5bec4b8f04
Fix Rackspace cloud user, remove dupe /home/vagrant definition
2013-03-27 01:41:06 +00:00
Thatcher Peskens
502f772839
not debian, but ubuntu is in base image
2013-03-26 18:28:46 -07:00
Thatcher Peskens
8cfaf658cc
Updated hello world examples
2013-03-26 18:21:52 -07:00
Charles Hooper
2b7284db4f
Remove duplicate user definition
2013-03-27 01:20:45 +00:00
Charles Hooper
2b090320be
Merge remote-tracking branch 'upstream/master' into vagrant11-providers
...
Conflicts:
puppet/modules/docker/manifests/init.pp
2013-03-27 01:09:22 +00:00
root
378dacdf1c
added copyright for LEGO picture
2013-03-26 17:25:35 -07:00
Thatcher Peskens
8513c179f3
Added files REQUIRED to have succesfull gh-pages deploy (i.c.w. sphinx)
2013-03-26 17:25:26 -07:00
Solomon Hykes
a710475726
Merge pull request #135 from amesserl/raxcloud-support
...
Added support to use docker with Rackspace Cloud Servers
2013-03-26 16:55:01 -07:00
Solomon Hykes
a8ae0aafe3
Add unit test for container id format
2013-03-26 16:54:13 -07:00
Jonathan Rudenberg
9518503ebe
Remove extraneous rand.Seed
2013-03-26 19:29:53 -04:00
Jonathan Rudenberg
141b5fc7d7
Simplify id generation
...
Instead of using a SHA-256 of a random number, hex encode 32 bytes
of random data from crypto/rand (sourced from /dev/urandom).
2013-03-26 19:29:44 -04:00
Thatcher Peskens
709849e717
Added Amazon AWS tutorial (can be activated after @sub_'s pull request is accepted.
2013-03-26 16:29:21 -07:00
Solomon Hykes
2ee3db6cd2
Merge pull request #193 from vivekagr/master
...
Fixed a misspelled command in the docs.
2013-03-26 15:39:48 -07:00
Solomon Hykes
84d1929973
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-26 15:36:07 -07:00
Charles Hooper
195208593d
Merge remote-tracking branch 'upstream/master' into HEAD
...
Conflicts:
README.md
2013-03-26 22:30:49 +00:00
Solomon Hykes
846a9e8963
When doing a reverse-lookup of an image's tag, if the image has multiple tags, the first tag in alphabetical order will be used
2013-03-26 15:30:16 -07:00
Vivek Agarwal
5cec37de53
Fixed a misspelled command in the docs.
...
`vagrant up` command was misspelled as `vagant up`.
2013-03-27 03:54:26 +05:30
Thatcher Peskens
261003ceb0
Merge remote-tracking branch 'dotcloud/docs'
2013-03-26 14:52:00 -07:00
Guillaume J. Charmes
e260e80814
Merge pull request #190 from dotcloud/189-broken_env_tty_mode-fix
...
#189 Fix the env in TTY mode
2013-03-26 14:44:30 -07:00
Ken Cochrane
2d71e2a44c
Merge pull request #186 from pbogdan/fix-docs-document-title
...
Improve document <title>'s for the docs.
2013-03-26 14:36:43 -07:00
Thatcher Peskens
84df72222d
Typo in macosx tutorial
2013-03-26 14:31:45 -07:00
Piotr Bogdan
08f1e3af48
Improve document <title>'s for the docs.
2013-03-26 21:25:42 +00:00
Charles Hooper
afdf29e57f
Fix issue where Vagrant AWS deploys outside of my dev account would fail
2013-03-26 21:21:54 +00:00
Daniel Mizyrycki
262be79041
Merge pull request #181 from dhrp/master
...
These are the necessary changes to tell github to not use jekyill and listen to http://docker.io
2013-03-26 13:20:51 -07:00
Solomon Hykes
8da1810975
Merge remote-tracking branch 'origin/175-auto_download_run-feature'
2013-03-26 13:20:32 -07:00
Solomon Hykes
9df7023497
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-26 13:15:21 -07:00
Solomon Hykes
54fa59c8ec
Set the container's hostname to the truncated ID
2013-03-26 13:14:44 -07:00
Solomon Hykes
2664139da4
Example of sharing an image in the README
2013-03-26 13:07:06 -07:00
Solomon Hykes
6bf4a10ed4
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-26 12:57:42 -07:00
Solomon Hykes
7f79fabaee
Added missing 'docker pull' to first example
2013-03-26 12:52:11 -07:00
Solomon Hykes
3813fa8a16
Rephrased answer to Q4 in the FAQ
2013-03-26 12:34:23 -07:00
Daniel Mizyrycki
75a116bdaa
Add more links and a question to the faq
2013-03-26 12:14:58 -07:00
Thatcher Peskens
f87aa7e336
Added files REQUIRED to have succesfull gh-pages deploy (i.c.w. sphinx)
2013-03-26 12:00:46 -07:00
Solomon Hykes
1904003511
Emphasized 'not for production' warning
2013-03-26 11:58:42 -07:00
Solomon Hykes
84cca8afc8
Changed project description in home page
2013-03-26 11:46:51 -07:00
Solomon Hykes
1a96ce552f
Merge remote-tracking branch 'dhrp/master'
2013-03-26 11:34:21 -07:00
Solomon Hykes
7db1890c99
New 'make github-deploy' rule to deploy the docs to github-pages
2013-03-26 11:27:36 -07:00
Charles Hooper
5cebc226cc
Use new AMI that won't cause issues with cloud-init apply_creds
2013-03-26 17:40:56 +00:00
Thatcher Peskens
1c5162c5a9
Added two user quotes. Cleanup of images.
2013-03-26 10:03:10 -07:00
Solomon Hykes
53641e8b8d
Merged documentation
2013-03-26 09:49:10 -07:00
Solomon Hykes
038fb523f1
Merge pull request #168 from johncosta/42-contribution-guidlines
...
incorporate feedback from https://github.com/dotcloud/docker/issues/42
2013-03-26 09:42:14 -07:00
Solomon Hykes
b70858ccae
Merge pull request #169 from sa2ajj/no-executable-sources
...
remove executable bit from lxc_template.go
2013-03-26 09:41:37 -07:00
Thatcher Peskens
f7d69601c5
Added line "docker is not ready for production" to tutorials
2013-03-26 08:50:34 -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
Mikhail Sobolev
f961ec55e7
print the location of the built binary
2013-03-26 17:19:58 +02:00
Mikhail Sobolev
21f55419b7
allow for verbose output from go tools
2013-03-26 17:19:58 +02:00
Mikhail Sobolev
a26c58e27e
slightly re-phrase the build from source in README
2013-03-26 17:19:58 +02:00
Mikhail Sobolev
5a0010abe9
do not print executed commands
2013-03-26 17:19:58 +02:00
Mikhail Sobolev
a57b37ed0e
use .gopath/ instead of build/
2013-03-26 17:19:57 +02:00
Mikhail Sobolev
6b4bc971fd
add a test target
2013-03-26 17:19:57 +02:00
Mikhail Sobolev
7009d6c6dd
introduce top-level Makefile to build the docker binary
2013-03-26 17:19:54 +02:00
Mikhail Sobolev
b2b6d519c5
remove executable bit from lxc_template.go
2013-03-26 16:36:49 +02:00
shin-
3cce89d8ed
Fixed issue with misplaced cursor after output
2013-03-26 07:10:31 -07:00
Guillaume J. Charmes
cca59081de
#189 Fix the env in TTY mode
2013-03-26 07:01:59 -07:00
John Costa
e53f45f621
incorporate feedback from https://github.com/dotcloud/docker/issues/42
2013-03-26 09:17:44 -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
6ccd473127
Improve the pre-push repository lookup for permisisons
2013-03-26 04:12:08 -07:00
Guillaume J. Charmes
161526d99d
Add a lookup before pushing repository to check permissions
2013-03-26 04:12:08 -07:00
Guillaume J. Charmes
069918e1fd
#174 Check if the image is already in the garbage before moving it. If it does, remove (really) the older one.
2013-03-26 03:33:47 -07:00
Guillaume J. Charmes
91d78a10c3
#175 Add autodownload on run command
2013-03-26 03:05:10 -07:00
Thatcher Peskens
6f80674d66
Fixed a little problem in the style
2013-03-25 21:16:33 -07:00
Thatcher Peskens
3150a789c1
Fixed a little problem in the style
2013-03-25 21:07:56 -07:00
Thatcher Peskens
f37a693825
Improved README
2013-03-25 20:48:04 -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
522b8bf2c1
Merge branch 'origin/18-termcap_issues-fix'
2013-03-25 20:09:58 -07:00
Thatcher Peskens
243eea36ca
Merge remote-tracking branch 'origin/master'
2013-03-25 19:53:14 -07:00
Thatcher Peskens
69b09ccfc8
Merge of docker-website into the docker documentation.
2013-03-25 19:52:52 -07:00
Guillaume J. Charmes
41a2954e4e
MakeRaw on given fd instead of 0
2013-03-25 19:31:20 -07:00
Guillaume J. Charmes
c85db1003b
Force xterm as TERM in tty mode
2013-03-25 19:20:18 -07:00
Solomon Hykes
7943a02cb6
Improved error checking of 'docker pull' by printing body of HTTP error
2013-03-25 18:50:02 -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
dhrp
022a1f9957
Updated README.md to prepare for docs merge
2013-03-25 18:46:13 -07:00
Guillaume J. Charmes
211ed0a766
Merge branch '18-termcap_issues-fix' of github.com:dotcloud/docker into 18-termcap_issues-fix
2013-03-25 18:45:07 -07:00
Guillaume J. Charmes
50bee2f811
Fix termcaps on the linux client
2013-03-25 18:44:05 -07:00
Guillaume J. Charmes
922a8648fc
Fix termcaps on the linux client
2013-03-25 18:43:25 -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
Solomon Hykes
e4a69b1044
Cleaned up error checking of 'docker push'
2013-03-25 17:20:55 -07:00
Solomon Hykes
b31211cbe9
Cleaned up UI of 'docker push'
2013-03-25 17:20:26 -07:00
Solomon Hykes
d01b5894c4
Unit tests fetch their base image with 'docker pull docker-ut'
2013-03-25 17:18:56 -07:00
Guillaume J. Charmes
504663a6ee
Skip missing images instead of failing the push
2013-03-25 15:29:42 -07:00
Solomon Hykes
bd63ae72e6
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-25 14:25:17 -07:00
Charles Hooper
4c19c9341c
Merge remote-tracking branch 'upstream/master'
2013-03-25 19:41:24 +00:00
Sam Alba
222c04a7e7
Merge pull request #154 from dotcloud/153-commitnorepo
...
Clearer information when listing images
2013-03-25 12:04:57 -07:00
Charles Hooper
fcdfd696ec
Merge remote-tracking branch 'upstream/master'
2013-03-25 18:24:45 +00:00
shin-
c8ca50b483
Fixed issue #158 (docker crashes when docker run is called with not enough arguments)
2013-03-25 07:17:11 -07:00
Guillaume J. Charmes
a61e68275a
Merge branch 'master' of github.com:dotcloud/docker
2013-03-25 01:29:09 -07:00
Guillaume J. Charmes
6576b19a28
Improve the debug function
2013-03-25 01:29:01 -07:00
Guillaume J. Charmes
ceb66fd035
Merge pull request #152 from srid/patch-1
...
`docker import` doesn't download an image
2013-03-24 16:58:35 -07:00
Guillaume J. Charmes
22598ee572
Merge pull request #155 from sa2ajj/debian-control-fix
...
fix run-time dependency
2013-03-24 16:54:01 -07:00
Guillaume J. Charmes
52969416bc
Merge pull request #147 from dotcloud/146_autologin-feature
...
#146 Auto login on push
2013-03-24 16:52:50 -07:00
Mikhail Sobolev
c61172f9c2
fix run-time dependency
2013-03-25 01:36:59 +02:00
shin-
0786d9ec22
Show <none> instead of an empty string in docker images listing for images with no repository or tag
2013-03-24 15:01:41 -07:00
shin-
938bf4c901
Reverted previous change
2013-03-24 14:53:00 -07:00
shin-
87d4e16568
Quick fix to avoid creating empty-string repositories when committing
2013-03-24 14:38:10 -07:00
Sridhar Ratnakumar
55c8908756
docker import doesn't download an image
...
```
$ docker import base
Downloading from http://base
Error: Get http://base : lookup base: no such host
```
only `docker pull` does:
```
$ docker pull base
Pulling base...
Pulling repo: https://registry.docker.io/v1/users/base
Pull completed
```
2013-03-24 14:13:08 -07:00
Guillaume J. Charmes
51455b1ee0
Merge pull request #138 from srid/handle-port-mapper-error
...
handle errors during the creation of port mapper
2013-03-24 10:27:03 -07:00
Ken Cochrane
906626b8f8
Merge pull request #143 from dotcloud/141-142_update_help-fix
...
141 142 update help fix
2013-03-24 07:07:24 -07:00
Charles Hooper
94b9ca988d
Fix missing group "Vagrant" error
2013-03-24 10:49:16 +00:00
Charles Hooper
bea7894166
Merge remote-tracking branch 'amesserl/raxcloud-support'
...
Conflicts:
Vagrantfile
2013-03-24 10:16:50 +00:00
Solomon Hykes
b32436cd2e
Prevent container.Kill() from crashing if container.cmd is nil
2013-03-23 19:51:35 -07:00
Solomon Hykes
190e2fa50f
Generate full-size SHA256 IDs for images and containers
2013-03-23 19:33:00 -07:00
Solomon Hykes
0d46ddf7b4
'docker commit -m': optional commit message
2013-03-23 19:16:42 -07:00
Solomon Hykes
f7eaaa3adb
Clean up 'container' environment variable injected by lxc-start
2013-03-23 19:11:00 -07:00
Solomon Hykes
57e2126a02
Bumped version to 0.1.0
2013-03-23 17:48:18 -07:00
Solomon Hykes
5130d3d6ec
Merge branch 'graph'
2013-03-23 17:47:33 -07:00
Solomon Hykes
587debf92e
Merge branch 'graph' of http://github.com/dotcloud/docker into graph
2013-03-23 17:04:37 -07:00
Solomon Hykes
d301c7b98c
'docker images' doesn't show all anonymous images by default - only anonymous heads
2013-03-23 17:03:30 -07:00
Solomon Hykes
f43fbda2a4
No more dependency on sqlite
2013-03-23 16:17:01 -07:00
Guillaume J. Charmes
e09383bccf
Remove json alteration
2013-03-23 14:54:18 -07:00
Solomon Hykes
301a8afff5
Properly cleanup iptables rules inserted in OUTPUT (introduced in 3c6b8bb888)
2013-03-22 22:31:20 -07:00
Sridhar Ratnakumar
371225520f
handle errors during the creation of port mapper
...
example:
2013/03/22 21:42:55 Unable to setup port networking: Failed to create DOCKER chain
(which was possibly introduced by commit 3c6b8bb88 )
2013-03-22 21:44:01 -07:00
Guillaume J. Charmes
eb95e49150
#146 Auto login on push
2013-03-22 19:04:12 -07:00
Guillaume J. Charmes
96010e3ca1
Allow anonymous pulls
2013-03-22 18:46:47 -07:00
Guillaume J. Charmes
e55b8b2fd9
Merge pull request #145 from dotcloud/144-login_daemon_mode-fix
...
Login now works with daemon mode
2013-03-23 20:30:19 -07:00
Guillaume J. Charmes
ffe5370e35
Login now works with daemon mode
2013-03-22 18:37:53 -07:00
Guillaume J. Charmes
df19863b23
#142 Change the help for push and pull in order for it to be more clear
2013-03-22 18:17:49 -07:00
Guillaume J. Charmes
cb3c4af404
#141 Update and order the help
2013-03-22 18:15:44 -07:00
Guillaume J. Charmes
bd2a55cd26
Merge branch 'no_root_repo_push'
2013-03-22 17:58:34 -07:00
Guillaume J. Charmes
b370acd679
Forbid users to push "root" repositories
2013-03-22 17:58:00 -07:00
Guillaume J. Charmes
5c04d3488a
Implement the "library" repository endpoint on the registry
2013-03-22 17:43:11 -07:00
Solomon Hykes
690cae0ef4
Merge pull request #133 from shawnsi/master
...
Vagrant Provision Touch Up
2013-03-22 15:11:52 -07:00
Solomon Hykes
936bd87a52
Merge pull request #124 from donspaulding/master
...
Fix typos in the README
2013-03-22 15:10:13 -07:00
Guillaume J. Charmes
dc2d930520
Remove the json alterations when decoding
2013-03-22 14:27:10 -07:00
Guillaume J. Charmes
966cddf26b
Add some verbosity to the push/pull
2013-03-22 13:21:44 -07:00
Guillaume J. Charmes
6e35f28352
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 13:10:31 -07:00
Solomon Hykes
0146c80c40
An image embeds the configuration of its parent container ('ContainerConfig')
2013-03-23 14:48:16 -07:00
Solomon Hykes
b809dc4271
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-23 14:18:41 -07:00
Solomon Hykes
f37c432bd5
Fixed 'docker inspect' to exit silently when an image doesn't exist
2013-03-23 14:18:35 -07:00
Solomon Hykes
d9471bee3d
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-23 12:39:36 -07:00
Solomon Hykes
6ce64e8458
Moved image name into config. runtime.Create() now receives a single Config parameter
2013-03-23 12:39:09 -07:00
Solomon Hykes
031f91df1a
runtime.Create receives an image name + Config. The Config includes all required runtime information: command, environment, ports etc.
2013-03-23 12:16:58 -07:00
Guillaume J. Charmes
89763bc8af
Remove the lookup before pushing
2013-03-22 13:10:17 -07:00
Guillaume J. Charmes
6e507b9460
Add a Debugf() helper and a -D (debug) flag to docker
2013-03-22 11:44:12 -07:00
Guillaume J. Charmes
c57727fd65
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 11:18:33 -07:00
Guillaume J. Charmes
a2e5333a93
Make sure the remote repository exists prior to push
2013-03-22 10:42:13 -07:00
Guillaume J. Charmes
5e6355d182
Fix the lookup method
2013-03-22 10:22:22 -07:00
Joffrey F
e4886a9e33
Merge pull request #134 from shawnsi/98-natfix
...
Fixing Issue #98 : Adding DOCKER to output chain during iptables setup
2013-03-22 09:35:07 -07:00
Antony Messerli
95ad9e4573
Adding support for the Rackspace Open Cloud
2013-03-22 11:30:54 -05:00
Shawn Siefkas
3c6b8bb888
Fixing Issue #98 : Adding DOCKER to output chain during iptables setup
2013-03-22 11:28:15 -05:00
Shawn Siefkas
cff01ec5ec
Redirecting docker daemon stdout/stderr to /var/log/dockerd
2013-03-22 10:30:47 -05:00
creack
0c4b639083
Update makefile gotest
2013-03-22 08:04:53 -07:00
creack
d1c8eabc63
Fix/Improve push/pull registry
2013-03-22 07:56:44 -07:00
creack
c000a5ed75
Remove the possibility to choose the remote name on push
2013-03-22 07:10:52 -07:00
Shawn Siefkas
9542876d2f
Waiting to start docker until the fresh binaries have been copied in
2013-03-22 08:48:50 -05:00
creack
899613f788
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 06:39:08 -07:00
Solomon Hykes
829eeb07f8
'docker run' with no argument no longer hardcodes a default image and command
2013-03-22 20:55:17 -07:00
Solomon Hykes
841c7ac0f9
Deprecated 'docker run -a'. Containers are run in the foreground by default. '-d' enables detached mode
2013-03-22 20:46:14 -07:00
Solomon Hykes
34fbaa5f6d
'docker run -e': set environment variables in a container
2013-03-22 20:36:34 -07:00
Solomon Hykes
9b5f0fac81
Fix 'docker import' to accept urls without explicit http:// scheme
2013-03-22 19:47:32 -07:00
creack
1ed78ee160
Improve (drastically) the push
2013-03-22 06:38:54 -07:00
creack
e726bdcce2
Fix the rootPath for auth
2013-03-22 05:52:13 -07:00
creack
ab3a57d01b
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 04:44:46 -07:00
Solomon Hykes
bc51d961cd
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-22 19:22:24 -07:00
Solomon Hykes
12049f956a
'docker {history,ps,images}': show human-friendly image names when applicable
2013-03-22 19:22:06 -07:00
Solomon Hykes
7952e6befe
Merge branch 'master' into graph
2013-03-22 18:30:46 -07:00
Solomon Hykes
72e16f6d96
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-22 18:27:32 -07:00
Solomon Hykes
bf7602bc09
'docker tag': assign a repository+tag to an image
2013-03-22 18:27:18 -07:00
Solomon Hykes
520af226c0
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-22 17:52:27 -07:00
Solomon Hykes
542c66997f
'docker inspect' can lookup image by repository and tag
2013-03-22 17:52:19 -07:00
Solomon Hykes
f8ebeaae10
Removed debug command 'docker mount'
2013-03-22 17:44:12 -07:00
Solomon Hykes
56752158af
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-22 17:40:32 -07:00
Solomon Hykes
09b27f9e8d
Fancier output for 'docker history'
2013-03-22 17:22:32 -07:00
creack
77549ad4f6
Improve the error management with the registry communication
2013-03-22 04:44:07 -07:00
creack
fc0eac37e4
Put back the "official" repo
2013-03-22 04:37:18 -07:00
creack
db8f2a1a9d
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 04:35:19 -07:00
creack
08cb430281
Move the debian makefile to avoid confusions
2013-03-22 04:34:46 -07:00
shin-
9fa3d891c6
Merge branch 'master' of github.com:dotcloud/docker
2013-03-22 04:25:37 -07:00
shin-
b00ff47963
Fixing newlines in attached mode
2013-03-22 04:24:03 -07:00
creack
e02f7912bc
Enforce login for push/pull
2013-03-22 03:43:57 -07:00
creack
e4f9a0dca0
Update the help with push/pull
2013-03-22 03:24:37 -07:00
creack
3870ebee6d
Add content type to Push
2013-03-22 03:22:36 -07:00
creack
062ebff098
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 03:10:30 -07:00
creack
0eed4b4386
Add some verbosity to the push/pull features
2013-03-22 03:10:09 -07:00
creack
4307b7dd8e
Add authentification to all registry call
2013-03-22 02:57:28 -07:00
creack
c72ff318d3
Integrate Auth in runtime and make the config file relative to runtime root
2013-03-22 02:19:39 -07:00
creack
5e561a9d52
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-22 01:27:16 -07:00
Solomon Hykes
640026ec59
Looking up a tag by repository name will default to REPOSITORY:latest. The empty tag '' is no longer allowed.
2013-03-22 16:07:13 -07:00
creack
11c4294846
Handle push/pull of repositories
2013-03-22 01:25:27 -07:00
Solomon Hykes
1850e8d49c
Merge pull request #128 from cespare/markdown-fixes2
...
Fix numbering in README markdown.
2013-03-21 22:46:22 -07:00
Solomon Hykes
afb4a36ffa
Merge pull request #130 from dotcloud/113_vagrant-compat
...
113 vagrant compat
2013-03-21 22:44:38 -07:00
Daniel Mizyrycki
45df6f7801
vagrant; issue #113 : normalize whitespaces
2013-03-21 22:26:18 -07:00
Daniel Mizyrycki
6295a02275
vagrant; issue #113 : Make Vagrantfile backward compatible with versions < 1.1
2013-03-21 22:16:52 -07:00
dhrp
13e597a5ad
create README.md at this place for preview.
2013-03-21 21:47:14 -07:00
Caleb Spare
d515e2b06c
Fix numbering in README markdown.
2013-03-21 21:46:00 -07:00
Solomon Hykes
41c664cacf
Merge pull request #126 from cespare/markdown-fixes
...
Markdown fixes in the readme.
2013-03-21 18:24:46 -07:00
Caleb Spare
7566006d0d
Markdown fixes in the readme.
2013-03-21 18:20:54 -07:00
creack
d8fa52b7b5
Comply the tests with golang TIP
2013-03-21 10:31:02 -07:00
creack
f246cc9cdd
Apply the new WalkHistory prototype to merge
2013-03-21 10:12:05 -07:00
creack
da266e6c7b
Factorize the pull/push commands and create a registry.go
2013-03-21 10:10:14 -07:00
Solomon Hykes
f50dcbe404
Image.ParentCommand and Image.ParentConatiner should be stored
2013-03-21 22:45:22 -07:00
Solomon Hykes
cdd62522b6
Merge branch 'graph' of ssh://github.com/dotcloud/docker into graph
2013-03-21 22:21:00 -07:00
Solomon Hykes
1ad69ad415
'docker history': show the history of an image
2013-03-21 21:42:18 -07:00
Solomon Hykes
05ae69a6eb
'docker commit' records parent container id and command, in addition to parent image
2013-03-21 21:13:27 -07:00
Solomon Hykes
8396798eba
'docker commit' can optionally tag the new image into a repository
2013-03-21 20:07:37 -07:00
Solomon Hykes
49a78929c6
Repositories and tags can't have ':' in their name (to allow parsing the REPO:TAG notation)
2013-03-21 20:06:20 -07:00
Solomon Hykes
379d449c44
'docker run' can reference an image by REPOSITORY:TAG
2013-03-21 19:01:55 -07:00
Solomon Hykes
d0c776528b
Fix a bug which caused repository metadata to be cleared at startup
2013-03-21 19:00:43 -07:00
Solomon Hykes
4af8b711c0
Fixed output quirks in 'docker images'
2013-03-21 18:59:12 -07:00
Solomon Hykes
ef711962d5
Folded graph/ back into main package
2013-03-21 17:47:23 -07:00
Solomon Hykes
44faa07b6c
First integration of runtime with repositories & tags
2013-03-21 17:35:49 -07:00
Solomon Hykes
680f40c37e
graph.RepoStore: first draft of a Repository/Tag on top of the graph
2013-03-21 12:18:47 -07:00
shin-
3aefed2dc2
When lxcbr0 has several associated IPs, default to first one found
2013-03-21 09:19:22 -07:00
Don Spaulding
8ff60ddef4
Typos in the README
2013-03-21 08:39:52 -05:00
creack
eef9659c95
merge graph in graph
2013-03-21 06:35:57 -07:00
creack
42cf74d56b
POC: push/pull are (kinda) working
2013-03-21 06:33:29 -07:00
creack
04ba4348de
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-21 04:32:04 -07:00
creack
864a8d9aca
Merge branch 'graph' of github.com:dotcloud/docker into graph
2013-03-21 03:54:24 -07:00
creack
edcfd687ef
POC of push/pull for images, pull works, push do push but without the layer
2013-03-21 03:53:27 -07:00
creack
3e8d1dfb69
Enforce model for the json image format
2013-03-21 03:52:58 -07:00
Solomon Hykes
b6b5e5cec1
Merged master
2013-03-21 02:13:21 -07:00
Solomon Hykes
f783759928
Docker currently doesn't support 32-bit hosts. Let's make that clear by failing right away with an informative message
2013-03-21 02:04:10 -07:00
Solomon Hykes
c37d7aad36
Merge branch 'master' into graph
2013-03-21 01:43:32 -07:00
Solomon Hykes
d65983f386
No need for a Container.networkManager field: it can be accessed via Container.runtime
2013-03-21 01:43:03 -07:00
Solomon Hykes
1ed13f65fe
Merge branch 'master' into graph
2013-03-21 01:38:44 -07:00
Solomon Hykes
377cebe36f
Renamed docker*.go to runtime*.go
2013-03-21 01:24:54 -07:00
Solomon Hykes
2f781f2128
Removed 'sparse export' mode, it is deprecated by the new diff-based transfer protocol
2013-03-21 01:24:12 -07:00
Solomon Hykes
e627a0da1e
Renamed 'docker tar' to 'docker export' for symmetry with 'docker import'
2013-03-21 01:23:00 -07:00
Solomon Hykes
623e91e2e3
Moved Go() to the main package... And got rid of the useless docker/future package
2013-03-21 01:13:55 -07:00
Solomon Hykes
deb603aaf4
Removed unused utility future.Pv()
2013-03-21 01:10:44 -07:00
Solomon Hykes
0208b6accd
moved GenerateId() to the graph package
2013-03-21 01:07:07 -07:00
Solomon Hykes
d7c5d060c4
Moved Download() and progressReader{} to the main package
2013-03-21 00:54:54 -07:00
Solomon Hykes
299d0b2720
Moved HumanDuration() to the main package
2013-03-21 00:52:43 -07:00
Solomon Hykes
b8547f31e4
Renamed Docker{} to Runtime{} for clarity
2013-03-21 00:41:15 -07:00
Solomon Hykes
7c57a4cfc0
Simplified the core container API, ported it to the new graph. Some features are missing eg. image 'paths' and tags
2013-03-21 00:25:00 -07:00
Solomon Hykes
84e8c4aa1d
Fixed a bug in graph.Graph.Get()
2013-03-21 00:21:32 -07:00
Solomon Hykes
89a140fb75
Removed redundant mount_test.go (graph_test.go already tests the mount ability)
2013-03-21 00:21:03 -07:00
Guillaume J. Charmes
3e9877a30f
Merge pull request #122 from srid/patch-1
...
remove ! from command line
2013-03-20 23:26:50 -07:00
Sridhar Ratnakumar
3bb176d8ae
remove ! from command line
...
bash does not like it
```
$ JOB=$(docker run base /bin/sh -c "while true; do echo Hello world!; sleep 1; done")
bash: !: event not found
$
```
2013-03-20 22:53:42 -07:00
Solomon Hykes
34023558f5
Pruned more semi-useless commands: 'docker cat', 'docker cp', 'docker ls', 'docker write'. Removed outdated commands from help message
2013-03-20 22:48:52 -07:00
Solomon Hykes
9d82bab041
Removed anal warning from 'go vet'
2013-03-20 22:42:50 -07:00
Solomon Hykes
3eff62394b
Removed dependency on the fake package in graph unit tests
2013-03-20 22:42:08 -07:00
Solomon Hykes
4d9c324495
Removed extra import
2013-03-20 22:41:31 -07:00
Solomon Hykes
75c866d6a3
Unmount() and Mounted(): utility functions to unmount a mountpoint and check if it's mounted, respectively
2013-03-20 22:41:03 -07:00
Solomon Hykes
6f6eaca861
Removed mount code from container. It belongs in graph
2013-03-20 22:16:02 -07:00
Solomon Hykes
ea258c4492
docker/fs is deprecated by docker/graph
2013-03-20 22:15:09 -07:00
Solomon Hykes
240333277a
Removed Image.Unmount(). It belongs in container code
2013-03-20 22:13:57 -07:00
Solomon Hykes
9e8278134d
Image.Mount(): create rw and rootfs directory if they don't exist
2013-03-20 22:13:28 -07:00
Solomon Hykes
c8db980add
Image.Changes(): list all changes between an image and a rw directory
2013-03-20 22:12:38 -07:00
Guillaume J. Charmes
3f63e3426e
Merge pull request #121 from ezbercih/patch-1
...
Fix issue #120 , initialize TCPAddr w/ field names
2013-03-20 20:25:16 -07:00
Solomon Hykes
31296cc3f7
Removed deprecated or useless commands (cp, layers, reset, mirror, debug, web)
2013-03-20 20:21:59 -07:00
Solomon Hykes
33d2905cde
Merge pull request #115 from termie/readme_update
...
update the dependencies for the dev environment
2013-03-20 15:20:18 -07:00
termie
2048354c8b
update the dev requirements in readme
...
a little pedantic, perhaps, but on a fresh precise image from vagrant I
still needed these two packages to run the commands following it
2013-03-20 20:17:46 +00:00
Solomon Hykes
98542d4497
Merge branch 'master' into graph
2013-03-20 09:41:37 -07:00
shin-
6d580247c2
Removed 'fake' package.
2013-03-20 07:49:38 -07:00
creack
ab99e9252d
Complete pull request #121 , init TCPAddr with named field
2013-03-20 06:02:25 -07:00
ezbercih
fac32cda5a
Fix issue #120 , initialize TCPAddr w/ field names
...
Current Go tip (+74e65f07a0c8) and likely Go 1.1 does not build docker since net.TCPAddr struct has an additional field now for IPv6:
type TCPAddr struct {
IP IP
Port int
Zone string // IPv6 scoped addressing zone
}
Initializing the struct with named fields resolves this problem.
2013-03-21 00:11:16 -03:00
Solomon Hykes
a3174fd874
Merge pull request #114 from jpetazzo/whiteboard20130319
...
Images & repositories, what they mean, and the protocol to push/pull them
2013-03-20 00:18:43 -07:00
Solomon Hykes
ddf4c79977
Merge pull request #112 from srid/devenv
...
instructions to compile docker
2013-03-20 00:08:54 -07:00
Jérôme Petazzoni
acd51ecea8
add pseudo-spec of images, repositories, push, and pull operations
2013-03-19 20:35:14 -07:00
Sridhar Ratnakumar
4389574aff
instructions to compile docker
2013-03-19 20:17:32 -07:00
Solomon Hykes
ff2ae90764
Merge pull request #110 from synack/master
...
Add linux-image-extra instructions to README
2013-03-19 18:46:28 -07:00
Jeremy Grosser
2508b5cef9
Update README.md
2013-03-19 18:45:11 -07:00
Solomon Hykes
b1acd0a7b0
Merge pull request #106 from kencochrane/users
...
change registry address to https from http
2013-03-19 17:42:29 -07:00
Ken Cochrane
8be58d3a7f
change registry address to https from http
2013-03-19 16:03:17 -07:00
Solomon Hykes
c5051ea0ea
Merge pull request #102 from fkautz/master
...
Some minor cleanup of cleanup in Makefile
2013-03-19 10:07:21 -07:00
Solomon Hykes
3c1db4ca43
Ported test for image deletion
2013-03-18 17:57:18 -07:00
Solomon Hykes
33c2f07fc7
Bumped version to 0.0.3
2013-03-18 00:35:48 -07:00
Solomon Hykes
33f6a0aaf5
docker/graph: a store for filesystem images and the graph of their relationships
2013-03-18 00:15:35 -07:00
Solomon Hykes
1480bff3a9
Contributing to Docker
2013-03-17 19:32:06 -07:00
Solomon Hykes
ac7fa37be3
Moved Ubuntu install to the top
2013-03-17 19:10:47 -07:00
Solomon Hykes
065eca9d4e
Docker: the Linux container runtime
2013-03-17 19:09:51 -07:00
Frederick F. Kautz IV
6316b99556
Adding clean to beginning of all for cleaner builds.
2013-03-17 11:59:59 -07:00
Frederick F. Kautz IV
bb9ce6b287
Adding bin to clean
2013-03-17 11:54:05 -07:00
Frederick F. Kautz IV
a3ca3e9218
Makefile cleanup renamed to clean to match standard conventions.
2013-03-17 11:53:37 -07:00
Solomon Hykes
a030c1bd24
Removed out-of-date examples directory (see README and the wiki for examples)
2013-03-16 18:36:52 -07:00
Solomon Hykes
4a1c40364c
Removed redundant file used by debian packaging
2013-03-16 18:35:43 -07:00
Solomon Hykes
4015f8dd34
Merge pull request #101 from silas/examples
...
Fix docker run typo
2013-03-16 18:32:26 -07:00
Silas Sewell
16f132b156
Fix docker run typo
2013-03-16 16:16:13 -04:00
Solomon Hykes
b400d78b19
Merge pull request #100 from silas/readme
...
Fix coffee typo
2013-03-16 12:35:43 -07:00
Silas Sewell
e190c27d10
Fix coffee typo
2013-03-16 15:19:58 -04:00
Solomon Hykes
da47420af6
Removed unnecessary step in the README
2013-03-16 11:39:49 -07:00
Solomon Hykes
b55e461122
Merge pull request #84 from kencochrane/users
...
added docker login command to login to docker registry
2013-03-16 02:14:07 -07:00
Ken Cochrane
c4640689af
added better error message
2013-03-15 15:04:36 -07:00
Ken Cochrane
27ad71e025
fixed missing varible, error:
2013-03-15 14:48:42 -07:00
Ken Cochrane
0a35db8fd0
added more debugging/ error catching
2013-03-15 14:41:55 -07:00
Solomon Hykes
c1c60a2835
Merge branch 'vagrant11-providers' of ssh://github.com/chooper/docker
2013-03-15 14:25:42 -07:00
Solomon Hykes
ad29305630
Merged branch packaging
2013-03-15 14:20:02 -07:00
Solomon Hykes
bb5b7897a4
Merged branch 79-rmi_regexp-feature
2013-03-15 14:08:02 -07:00
Solomon Hykes
5d569a8741
Merge branch 'packaging'
2013-03-15 13:45:08 -07:00
Ken Cochrane
878ae25980
made sure password was required, fixed docker help issue with login prompt
2013-03-15 07:49:27 -07:00
creack
b2cf5041cd
Change the errors.New() with fmt.Errof
2013-03-15 03:58:43 -07:00
Guillaume J. Charmes
29210802dd
Merge pull request #95 from dotcloud/93-test_restore_fail-fix
...
Make sure that Deregister really returns an error instead of just displaying it
2013-03-15 03:10:27 -07:00
creack
54b44e3705
Make sure that Deregister really returns an error instead of just displaying it
2013-03-15 03:07:33 -07:00
Guillaume J. Charmes
9ff6dd767a
Allow ping within a container. Issue #91
...
Allow the net_raw capability
2013-03-15 02:37:02 -07:00
creack
137af244ee
Add the health check to mount_test
2013-03-15 02:33:37 -07:00
creack
030a33aa23
Implement more extensive tests on the image deletion
2013-03-15 02:22:50 -07:00
creack
2839a59018
Add a test to make sure we are root before starting the tests on docker package
2013-03-15 02:03:41 -07:00
creack
82188b9c2c
Issue #92 Run go test on fs package as non-root
2013-03-15 02:01:48 -07:00
creack
4d80958b01
Add entries to the gitignore
2013-03-15 01:28:09 -07:00
creack
cb7819cbc5
Correct the help
2013-03-15 00:47:02 -07:00
Daniel Mizyrycki
0e0d76b7ac
packaging; issue #30 : Add tests to Makefile
2013-03-14 23:13:31 -07:00
creack
eab39dc3fa
Add local build and tests to makefile
2013-03-14 23:13:31 -07:00
Daniel Mizyrycki
47a5a51d39
packaging; issue #30 : Adjust package metadata
2013-03-14 23:13:31 -07:00
Daniel Mizyrycki
76bd475648
packaging; issue #30 : Improved dependencies
2013-03-14 23:13:31 -07:00
Solomon Hykes
9598b28933
Moved debian-specific files to ./deb, minor fixes to Makefile
2013-03-14 23:13:31 -07:00
Solomon Hykes
d615496c4c
Gradual improvement of Makefile
2013-03-14 23:13:31 -07:00
Daniel Mizyrycki
3b9c97a5d5
packaging; issue #30 : Add ubuntu deb packaging
2013-03-14 23:13:31 -07:00
Charles Hooper
7cc0a07524
Fix *other* typo in README
2013-03-15 04:29:10 +00:00
Charles Hooper
98a4d38eb4
Fix typo in README
2013-03-15 04:26:59 +00:00
Charles Hooper
8c83484bf2
Add AWS support for running Docker on AWS
2013-03-15 04:22:07 +00:00
Ken Cochrane
7ec6a311f8
Removed the extra newline char from the messages
2013-03-14 20:23:45 -07:00
Ken Cochrane
d94a5b7d05
only show status message if there is one to show
2013-03-14 20:21:03 -07:00
Ken Cochrane
9b94d89b06
added more message changes
2013-03-14 19:43:42 -07:00
Ken Cochrane
f1cf5074f5
cleaned up the code a little
2013-03-14 18:43:02 -07:00
Ken Cochrane
18519f12ae
merge from master
2013-03-14 18:23:45 -07:00
creack
c0b9afbf01
Add image removal unit tests
2013-03-14 18:07:33 -07:00
Ken Cochrane
5e79c4394a
changed scanf's with fscanf's, so it works better for remote
2013-03-14 17:53:10 -07:00
Ken Cochrane
be20f3c518
added ability to login/register to the docker registry, via the docker login command
2013-03-14 17:43:59 -07:00
Solomon Hykes
c65c1738b5
Merge remote-tracking branch 'origin/65-autodownload_unittest_image'
2013-03-14 12:07:46 -07:00
Guillaume J. Charmes
7188dcd96d
Merge pull request #78 from dotcloud/77-undeleted_mountpoint-fix
...
Fix undeleted mountpoint on destroy
2013-03-14 10:09:00 -07:00
creack
3cd34f1039
Issue #79 , add regexp to the CmdRmi command
2013-03-14 09:27:06 -07:00
Guillaume J. Charmes
fcc0af9f5b
Fix undeleted mountpoint on destroy
...
Issue #77 , Now mountpoints are always deleted even when not currently mounted.
2013-03-14 04:06:57 -07:00
creack
de753d5a90
issue #65 automatically download busybox for unittests
2013-03-14 02:43:16 -07:00
creack
e5e66716df
Move commands into docker
2013-03-14 02:43:16 -07:00
Solomon Hykes
b97f9e8148
Removed web console feature for now - let's focus on the core before adding bells and whistles
2013-03-13 22:13:38 -07:00
Solomon Hykes
cc18df61b9
Bumped version to 0.0.2
2013-03-13 22:12:24 -07:00
Solomon Hykes
681e452832
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-13 21:50:25 -07:00
Solomon Hykes
a444327ab6
Fixed a bug which causes 'docker import' to fail silently when bsdtar is not installed
2013-03-13 21:50:15 -07:00
Solomon Hykes
722d4c92c3
Merge pull request #74 from jpetazzo/contrib-install-sh
...
Update get.docker.io install script for single-binary
2013-03-13 21:30:45 -07:00
Solomon Hykes
27512332d0
Merge pull request #73 from jpetazzo/contrib-make-busybox-image
...
Add contrib/ directory, README, and script to create a basic busybox image
2013-03-13 21:30:22 -07:00
Solomon Hykes
0b5e223b4e
Moved debian-specific files to ./deb, minor fixes to Makefile
2013-03-13 21:22:30 -07:00
Solomon Hykes
78ef1ba32f
Gradual improvement of Makefile
2013-03-13 21:11:05 -07:00
jpetazzo
e81d7132fa
Update get.docker.io install script for single-binary
2013-03-14 03:29:56 +00:00
jpetazzo
c74408d7b8
Add contrib/ directory, README, and script to create a basic busybox image
2013-03-14 03:16:42 +00:00
jpetazzo
71c997dc83
Add contrib/ directory, README, and script to create a basic busybox image
2013-03-14 03:13:00 +00:00
Solomon Hykes
a1712ea6d3
Merge pull request #72 from chooper/master
...
Create /var/lib/docker so new installs don't fail
2013-03-13 19:51:12 -07:00
Solomon Hykes
a216712f3c
'docker images' lists images in reverse creation order
2013-03-13 19:09:19 -07:00
Charles Hooper
2b8c79d74c
Merge remote-tracking branch 'upstream/master'
2013-03-14 01:49:46 +00:00
Charles Hooper
06553a756b
Create docker directories *before* allocating a LayerStore
2013-03-14 01:48:50 +00:00
Solomon Hykes
c78cbbd002
Changed image mirror to http://get.docker.io/images
2013-03-13 18:37:53 -07:00
Charles Hooper
3686feaccc
Minor formatting changes to ProgressReader. Newlines when complete
2013-03-14 01:37:47 +00:00
Solomon Hykes
d6c3d02205
gofmt
2013-03-13 18:37:00 -07:00
Daniel Mizyrycki
09d96656a0
packaging; issue #30 : Add ubuntu deb packaging
2013-03-13 17:08:04 -07:00
Andy Rothfusz
e614690f07
spelling fix
2013-03-13 16:06:57 -07:00
Solomon Hykes
3a6c2e48f9
Merge pull request #61 from synack/master
...
Add a makefile to make life easier
2013-03-13 15:44:22 -07:00
Solomon Hykes
0f952a7dbb
Removed deprecated docker/image module
2013-03-13 15:36:22 -07:00
Solomon Hykes
1b34630b8c
Cleaned up fs.LayerStore.AddLayer()
2013-03-13 14:20:07 -07:00
Solomon Hykes
68e173ad50
Merge branch store_register_refactor
2013-03-13 14:09:04 -07:00
Solomon Hykes
8f81feb1f0
Merge branch 'pull-missing' of ssh://github.com/chooper/docker
2013-03-13 13:50:47 -07:00
Solomon Hykes
ce20fbfff6
Improved output of 'docker inspect'
2013-03-13 13:48:00 -07:00
Ken Cochrane
f0a65207ab
changed the fs.store.Register and fs.store.Create, so that it is a little cleaner, and easier to reuse. Also added a unit test
2013-03-13 13:35:34 -07:00
Ken Cochrane
fde01381d5
puppet fixes for recent vagrant changes
2013-03-13 13:31:23 -07:00
Ken Cochrane
d479efc01e
updated Vagrant to support new single binary, and exposing the vagrant shared folder, and setting some ENV variables
2013-03-13 13:30:13 -07:00
Solomon Hykes
f3d826447d
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-13 13:24:16 -07:00
Solomon Hykes
f5f26a510f
'docker inspect' supports pinned versions again (eg. 'docker inspect PATH:revision')
2013-03-13 13:23:59 -07:00
Guillaume J. Charmes
aaaf56e62f
Merge pull request #64 from dotcloud/32-aufs_delete_fix
...
32 aufs delete fix
2013-03-13 13:04:55 -07:00
Guillaume J. Charmes
804abddec1
Add fixme for the change detection
2013-03-13 13:03:29 -07:00
Charles Hooper
8c2ff9374c
Merge branch 'master' into pull-missing
2013-03-13 19:51:08 +00:00
Solomon Hykes
89245360e8
Merged branch 28-standalone
2013-03-13 12:23:37 -07:00
Solomon Hykes
8d5f683dc4
Fixed formatting in README
2013-03-13 12:00:13 -07:00
Solomon Hykes
d614e91b62
Added usage exmaples to the README
2013-03-13 11:58:15 -07:00
Solomon Hykes
baf6988d87
Updated README
2013-03-13 11:46:09 -07:00
Charles Hooper
fae8284b16
Merge branch 'master' into pull-missing
...
Conflicts:
image/image.go
server/server.go
2013-03-13 18:33:48 +00:00
Solomon Hykes
895e145e61
README: removed superfluous install step
2013-03-13 11:28:52 -07:00
Solomon Hykes
41e0c74fd0
Merge branch 'master' of ssh://github.com/dotcloud/docker
2013-03-13 11:27:23 -07:00
Solomon Hykes
d54ff35f02
Moved download binaries to get.docker.io
2013-03-13 11:27:06 -07:00
shin-
c3622a963d
Re-enabled docker rmi
2013-03-13 11:14:37 -07:00
creack
77272bea9c
Merge branch 'master' into 32-aufs_delete_fix
2013-03-13 01:18:55 -07:00
creack
7cc512c7c0
Fix issue #32 , aufs now take into consideration deleted files
2013-03-13 01:17:03 -07:00
Solomon Hykes
745edc49cd
Merge dockerd into docker. 'docker -d' runs in daemon mode. For all other commands, docker auto-detects whether to run standalone or to remote-control the daemon
2013-03-13 00:29:40 -07:00
Solomon Hykes
86854ffbc5
Merged master
2013-03-12 21:53:34 -07:00
Solomon Hykes
070bc0bb6d
Merged version option by @kencochrane
2013-03-12 20:59:47 -07:00
Ken Cochrane
e20a74d247
fixed formatting issue
2013-03-12 17:34:15 -07:00
Charles Hooper
b0265e0a38
Remove Curl function from future
2013-03-12 23:06:07 +00:00
Charles Hooper
b5c1cd7991
Only update download/untar progress every 1%. Related to #49
2013-03-12 23:02:50 +00:00
Charles Hooper
2feefb4375
Fix "no such image" bug in docker run, introduced last commit. Ref #49,#50
2013-03-12 22:13:21 +00:00
Charles Hooper
1bfd827701
Add native Go downloading functionality with progress bar. Ref #49 , #50
2013-03-12 22:08:10 +00:00
Solomon Hykes
d2cba75d5f
Removed interactive mode ('docker -i'). Cool UI experiment but seems more trouble than it's worth
2013-03-12 15:05:41 -07:00
Charles Hooper
49554f47f6
Add Download method for native Go downloading (to replace curl). Catch 404s.
...
Ref: #49 , #50
2013-03-12 20:50:11 +00:00
creack
453d49573c
Put back the github.com path for the import
2013-03-12 11:59:27 -07:00
Charles Hooper
8e0986caec
Error gracefully when an image is not found on pull. Addresses #50 and comments from #49
2013-03-12 05:49:57 +00:00
Charles Hooper
b8219b5275
Don't allow images with colons in name and reject pegging versions on pull/import. Addresses #49 and #52
2013-03-12 04:31:49 +00:00
Charles Hooper
63edf8a4a1
Use ioutil.NopCloser instead of opening /dev/null for ReadCloser in CmdRun. Related to #31
2013-03-12 03:18:34 +00:00
Charles Hooper
f6d64738d0
Pull missing images on run. Addresses #31 .
...
chooper@chimay:~/projects/docker/bin$ ./docker images
NAME ID CREATED PARENT
chooper@chimay:~/projects/docker/bin$ ./docker run -a base echo "hello world"
Downloading from http://s3.amazonaws.com/docker.io/images/base
Unpacking to base
######################################################################## 100.0%
base:e9cb4ad9173245ac
hello world
chooper@chimay:~/projects/docker/bin$ ./docker run -a base echo "hello world"
hello world
chooper@chimay:~/projects/docker/bin$ ./docker run -a nosuchimage echo "hello world"
Downloading from http://s3.amazonaws.com/docker.io/images/nosuchimage
Unpacking to nosuchimage
######################################################################## 100.0%
Error: Error downloading image: nosuchimage
chooper@chimay:~/projects/docker/bin$
2013-03-12 02:58:39 +00:00