Alexander Larsson
0f5ccf934e
Runtime: Automatically use docker-init if it exists
...
In some builds the main docker binary is not statically linked,
and as such not usable in as the .dockerinit binary, for those
cases we look for a separately shipped docker-init binary and
use that instead.
2013-09-26 15:08:54 +00:00
Alexander Larsson
250bc3f615
Add a separate docker-init binary
...
This may be used for the .dockerinit case if the main binary is not
statically linked.
2013-09-26 15:08:54 +00:00
Alexander Larsson
2b1dc8a8a3
devmapper: Add simple tool to test the DeviceSet commands
2013-09-26 15:08:54 +00:00
Alexander Larsson
0b12702c0c
devmapper: Add DeviceSet device-mapper helper
...
This is a module that uses the device-mapper create CoW snapshots
You instantiate a DeviceSetDM object on a specified root (/var/lib/docker),
and it will create a subdirectory there called "loopback". It will
contain two sparse files which are loopback mounted into
a thin-pool device-mapper device called "docker-pool".
We then create a base snapshot in the pool with an empty filesystem
which can be used as a base for docker snapshots. It also keeps track
of the mapping between docker image ids and the snapshots in the pool.
Typical use of is something like (without error checking):
devices = NewDeviceSetDM("/var/lib/docker")
devices.AddDevice(imageId, "") // "" is the base image id
devices.MountDevice(imageId, "/mnt/image")
... extract base image to /mnt/image
devices.AddDevice(containerId, imageId)
devices.MountDevice(containerId, "/mnt/container")
... start container at /mnt/container
2013-09-26 15:08:54 +00:00
Alexander Larsson
739af0a17f
Add libdevmapper wrapper
2013-09-26 15:08:54 +00:00
Andy Rothfusz
06c1f000e8
Merge pull request #2000 from tianon/deprecated-docker-latest-tgz
...
Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3
2013-09-25 13:47:48 -07:00
Andy Rothfusz
00b3acb8ab
Merge pull request #2001 from tianon/gentoo-tree
...
Update Gentoo installation documentation now that we're in the portage tree proper
2013-09-25 13:45:51 -07:00
Victor Vieux
420ba9c85a
Merge pull request #2004 from kencochrane/master
...
fix the error message so it is the same as the regex issue #1999
2013-09-25 09:46:15 -07:00
Ken Cochrane
0f829bf5cf
fix the error message so it is the same as the regex issue #1999
2013-09-25 11:33:09 -04:00
Victor Vieux
1363de0934
Merge pull request #1989 from alexlarsson/setsid
...
Container: Always create a new session for the container
2013-09-25 07:40:51 -07:00
Tianon Gravi
d06116d2e8
Update Gentoo installation documentation now that we're in the portage tree proper
...
We're officially a first-class Gentoo citizen now, which is very exciting. Many thanks to @gregkh for helping us get here.
I started just adapting sections of language in this document, and realized several bits needed to just be rewritten entirely to be more clear.
2013-09-24 23:26:36 -06:00
Tianon Gravi
595210a370
Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3
2013-09-24 21:25:45 -06:00
Michael Crosby
c9b916b293
Update VERSION to 0.6.3-dev
2013-09-24 19:54:13 -07:00
Michael Crosby
1e6370fd4b
Merge branch 'release'
2013-09-24 19:54:06 -07:00
Solomon Hykes
a59a66528b
Merge pull request #1968 from tianon/hack-build-instructions
...
* Hack: Add several of the small make.sh fixes from #1920 , and make the output more consistent and contributor-friendly
2013-09-24 17:38:39 -07:00
Andy Rothfusz
b048e9dffc
Merge pull request #1983 from blissdev/patch-1
...
various command fixes in postgres example
2013-09-24 14:03:48 -07:00
blissdev
c000e6a7fc
revert removal of slash betwixt user/repo
2013-09-24 15:51:21 -05:00
Tianon Gravi
aa3de0b849
Add several of the small make.sh fixes from #1920 , and make the output more consistent and contributor-friendly, since release instructions already exist in release.sh
2013-09-24 14:36:20 -06:00
Michael Crosby
648d759517
Merge pull request #1972 from dotcloud/bump_0.6.3
...
Bump to version v0.6.3
2013-09-24 11:20:27 -07:00
Solomon Hykes
03fe5632d0
Merge pull request #1970 from dotcloud/cleanup-hack
...
Cleanup and reorganize docs and tooling for contributors and maintainers
2013-09-24 10:38:21 -07:00
Victor Vieux
7447867edd
Merge pull request #1982 from modcloth-labs/spelling-fix-for-the-word-protocol
...
Minor spelling correction of protocoll -> protocol
2013-09-24 07:40:21 -07:00
Alexander Larsson
c1c74cb0b1
Container: Always create a new session for the container
...
We never want the container to be in the same process group as the
daemon, as then the container will receive signals sent to the
process group of the container.
2013-09-24 14:57:29 +02:00
blissdev
17b7194d91
use su instead of sudo
2013-09-24 02:25:16 -05:00
Jordan Arentsen
15ad2915b9
various command fixes
...
Indicating the repository and tag should be separated by a space and not a '/'. Also fixed a quote typo.
2013-09-24 02:12:24 -05:00
Tianon Gravi
d6887b769c
Merge pull request #1883 from tianon/mkimage-debian
...
Several small tweaks/fixes for contrib/mkimage-debian.sh
2013-09-23 22:44:16 -07:00
Tianon Gravi
10362870db
Add a few tweaks and fixes to contrib/mkimage-debian.sh
...
Add simple workaround for #1755 to contrib/mkimage-debian.sh
Add simple echo patch in contrib/mkimage-debian.sh to prevent init scripts from running during apt-get installs/updates
Add `apt-get clean` to mkimage-debian.sh for slightly smaller images
Add more small apt tweaks to mkimage-debian.sh thanks to @jpetazzo and @spahl
2013-09-23 22:39:57 -06:00
Dan Buch
a7db125480
Minor spelling correction of protocoll -> protocol
2013-09-23 23:14:42 -04:00
Solomon Hykes
f6c64827c8
Hack: correct typo in release checklist
2013-09-23 18:43:08 -07:00
Andy Rothfusz
30b759ffa9
Merge pull request #1973 from metalivedev/1969-formatfix
...
Fix #1969 formatting, add information about multiline json
2013-09-23 13:17:55 -07:00
Michael Crosby
35ca35ffb6
Merge pull request #1975 from tianon/patch-1
...
Add @tianon to hack/MAINTAINERS
2013-09-23 12:21:36 -07:00
Tianon Gravi
a4067b1b44
Add @tianon to hack/MAINTAINERS
2013-09-23 12:39:14 -06:00
Michael Crosby
b0a49a30c7
Bump to version v0.6.3
2013-09-23 11:29:11 -07:00
Andy Rothfusz
6097644e4b
Fix #1969 formatting, add information about multiline json
2013-09-23 11:29:08 -07:00
Solomon Hykes
fa3837abf1
Hack: update README
2013-09-23 11:26:05 -07:00
Solomon Hykes
baff72bc82
Update maintainer's manual: every change should be done in a pull request.
2013-09-23 11:26:05 -07:00
Solomon Hykes
99377de7d2
Hack: update release checklist and reference it in REAMDE
2013-09-23 11:26:04 -07:00
Solomon Hykes
0ef5bcb17d
hack/MAINTAINERS.md: a maintainer's manual.
2013-09-23 11:26:04 -07:00
Solomon Hykes
fd1c43f0e0
Hack: remove deprecated files
2013-09-23 11:26:03 -07:00
Michael Crosby
dc06496dc8
Merge pull request #1967 from dotcloud/vendor-update-tar
...
Update tar dependency to newest version
2013-09-23 10:44:42 -07:00
Michael Crosby
cfbe76e559
Update tar dependency to newest version
2013-09-23 09:59:04 -07:00
Victor Vieux
2fafe1efce
Merge pull request #1948 from dotcloud/fix_attach
...
Fix attach issue
2013-09-23 02:15:51 -07:00
Daniel Mizyrycki
8240e37b87
Merge pull request #1820 from dotcloud/1647-api-group
...
packaging, issue #1647 : Add docker groupname on the package release
2013-09-22 14:21:26 -07:00
Michael Crosby
23cf3c7a33
Merge pull request #1934 from dotcloud/host-permissions
...
Only copy files and change permissions with non bindmount
2013-09-22 09:40:52 -07:00
Andy Rothfusz
2819cfb3f3
Merge pull request #1954 from metalivedev/1901-cherrypick-builddocker
...
1901 1929 1932 cherrypick to release and docs
2013-09-20 18:13:11 -07:00
Andy Rothfusz
a479f7659d
Merge pull request #1929 from tianon/gentoo-docs
...
Simplified Gentoo install instructions now that our overlay is in the official layman repositories.xml list
2013-09-20 18:06:27 -07:00
Andy Rothfusz
b02a591f57
Merge pull request #1932 from jcassee/patch-1
...
Download Ubuntu 13.04 repository key over HTTPS
2013-09-20 18:02:40 -07:00
Andy Rothfusz
c654075654
Merge pull request #1901 from jalateras/update-contributring-docs
...
Fix #1664
2013-09-20 17:55:15 -07:00
Andy Rothfusz
5a3dcbb3f6
Merge pull request #1952 from metalivedev/1909-cherrypick
...
Fix minor typo
2013-09-20 16:56:07 -07:00
Nick Stinemates
cce6f00c0c
Fix minor typo
...
Changed to
2013-09-20 16:31:57 -07:00
Michael Crosby
4db64111bd
Merge pull request #1949 from dotcloud/1895-registry-regex
...
Modify repository name regex to match index
2013-09-20 14:03:50 -07:00