1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
Tianon Gravi
62a81370ff Add new "cross" bundle to cross-compile the Docker client for other platforms (currently just 32-bit and 64-bit OS X) 2013-12-19 11:33:49 -07:00
Guillaume J. Charmes
e74c65c3db Merge pull request #3274 from tianon/tianon-dockerfile
Make Tianon the official root "Dockerfile" maintainer
2013-12-19 10:31:00 -08:00
Victor Vieux
248eadd341 Merge pull request #3277 from jpoimboe/fix-root-symlink
Move root symlink check to engine.New
2013-12-19 10:24:23 -08:00
Ben Firshman
bdf99cd443 Move log messages to container 2013-12-19 18:20:48 +00:00
Victor Vieux
e829d5b6d2 Merge pull request #3275 from crosbymichael/sqlite-import
Move sqlite conn to graph db for cross compile support
2013-12-19 10:18:30 -08:00
Michael Crosby
35d8ac94f3 Merge pull request #3270 from vreon/tree-box-drawing-characters
Use box-drawing characters in `docker images -tree`
2013-12-19 10:00:33 -08:00
Ben Firshman
5a46278f79 Fix project name getting overridden with service 2013-12-19 16:56:58 +00:00
Ben Firshman
2d2d81d33f Rename "service collection" to "project" 2013-12-19 16:55:12 +00:00
Aanand Prasad
818728b825 Mount volumes 2013-12-19 15:53:43 +00:00
Ben Firshman
d6db049b42 Generate project name based on current dir 2013-12-19 15:32:24 +00:00
Ben Firshman
c488710625 Add project option to services 2013-12-19 15:16:17 +00:00
Ben Firshman
6c551a200b Do not allow underscores in names 2013-12-19 14:47:43 +00:00
Aanand Prasad
9f1d08c54b Implement --version flag 2013-12-19 13:06:31 +00:00
Aanand Prasad
9e9a20b227 Remove unused imports 2013-12-19 13:06:31 +00:00
Ben Firshman
9cf1d232b2 Better ps output 2013-12-19 13:03:44 +00:00
Aanand Prasad
bac37a19e3 Fix method name in start() 2013-12-19 12:39:23 +00:00
Aanand Prasad
ae0fa0c447 Hide stack traces for Docker API errors 2013-12-19 12:36:38 +00:00
Aanand Prasad
fb69512008 Set port_bindings to None when starting a one-off container in 'plum run' 2013-12-19 12:26:58 +00:00
Aanand Prasad
beaa1dbc14 Fix run: use Container.logs(), explicitly start container 2013-12-19 12:26:13 +00:00
Josh Poimboeuf
94821a3353 Move root symlink check to engine.New
Since commit c91c365, when starting the docker daemon without an
existing /var/lib/docker directory, it fails with:

  2013/12/18 23:39:36 Unable to canonicalize root (%!s(*string=0xc210077c80)): lstat /var/lib/docker: no such file or directory

Move the symlink checking code to engine.New after the root dir has been
created.
2013-12-19 00:39:12 -06:00
Jesse Dubay
d14c162fd6 Use box-drawing characters in docker images -tree
This makes the output of `docker images -tree` look a little prettier.
Previously it displayed a combination of box-drawing characters and pipe
characters, so the lines didn't quite connect...

Before:

    └─aceb1e132fe5 Size: 487 MB (virtual 1.728 GB)
      |─c5480c55e00a Size: 44.89 MB (virtual 1.773 GB)
      | └─96c21b5e3c80 Size: 17.25 kB (virtual 1.773 GB)
      |   └─58f3f2293512 Size: 8.191 MB (virtual 1.782 GB)

After:

    └─aceb1e132fe5 Size: 487 MB (virtual 1.728 GB)
      ├─c5480c55e00a Size: 44.89 MB (virtual 1.773 GB)
      │ └─96c21b5e3c80 Size: 17.25 kB (virtual 1.773 GB)
      │   └─58f3f2293512 Size: 8.191 MB (virtual 1.782 GB)
2013-12-18 22:30:21 -08:00
Tianon Gravi
14d1c5a2c3 Make Tianon the official root "Dockerfile" maintainer, since it's so hard-locked to hack changes most of the time 2013-12-18 22:29:48 -07:00
Michael Crosby
329d154209 Move sqlite conn to graph db for cross compile support 2013-12-18 21:14:16 -08:00
Michael Crosby
7bc96aec7b Improve interface by moving to subpkg
Enable builds on OSX
2013-12-18 16:42:49 -08:00
Michael Crosby
a6fdc5d208 Fix unmount issues 2013-12-18 15:24:08 -08:00
Guillaume J. Charmes
681b40c801 Merge pull request #3268 from vieux/prevent_panic_volume
prevent a panic with docker run -v /
2013-12-18 14:06:44 -08:00
Victor Vieux
536da93380 prevent a panic with docker run -v / 2013-12-18 13:57:49 -08:00
Michael Crosby
45d7dcfea2 Handle external mounts outside of lxc 2013-12-18 13:46:02 -08:00
Guillaume J. Charmes
210fa0871c Merge pull request #3267 from vieux/debug_daemon_start
add some debug to runtime.restore()
2013-12-18 13:45:22 -08:00
Victor Vieux
f768c6adb7 Merge pull request #3263 from tianon/abspath-root
Canonicalize our root path before we try using it
2013-12-18 11:41:47 -08:00
Aanand Prasad
730f9772f9 plum start runs in foreground by default
Also fixed LogPrinter regressions. Sorry for not doing that in a
separate commit.

Also made 'plum logs' show backlog. Yep, rolled that right in too. Gonna
go whip myself now.
2013-12-18 19:03:34 +00:00
Victor Vieux
fde909ffb8 add some debug to runtime.restore() 2013-12-18 10:57:21 -08:00
Michael Crosby
553b4dae45 Merge pull request #3264 from creack/fix_osx_compilation
Fix osx compilation
2013-12-18 10:50:14 -08:00
Ben Firshman
26ea08087a Remove build target from logs 2013-12-18 18:46:53 +00:00
Ben Firshman
dd767aef34 Remove extraneous new lines when building 2013-12-18 18:45:25 +00:00
Ben Firshman
f89e4bc70f Add quotes to build output 2013-12-18 18:44:33 +00:00
Tianon Gravi
929662a4d5 Merge pull request #3266 from tianon/fix-integration-test-building
Add -a to our BUILDFLAGS directly, which fixes some fun test compilation issues
2013-12-18 10:37:55 -08:00
Ben Firshman
a5fc880d10 Refactor service to add a container object 2013-12-18 18:37:48 +00:00
Tianon Gravi
fbac812540 Add -a to our BUILDFLAGS directly, which fixes some fun test compilation issues
Also, now that we use "-a", we no longer get any benefit from "go test -i", and it actually causes problems sometimes, so let's nuke it.
2013-12-18 11:32:25 -07:00
Guillaume J. Charmes
e481c82fa9 Fix OSX compilation for aufs 2013-12-18 10:18:49 -08:00
Guillaume J. Charmes
73a1ef7c22 Fix OSX build for sysinit 2013-12-18 10:16:48 -08:00
Tianon Gravi
c91c365f88 Canonicalize our root path before we try using it, because we make assumptions about it not containing symlinks
Fixes #3242
2013-12-18 11:15:09 -07:00
Ben Firshman
5e1e4a71e0 Rename ServiceTest 2013-12-18 17:01:50 +00:00
Aanand Prasad
e5642bd8b7 Show a sensible error when an unknown service name is given to 'run' 2013-12-18 16:20:03 +00:00
Aanand Prasad
4cc906fcd2 ps only lists running containers 2013-12-18 16:20:03 +00:00
Aanand Prasad
64253a8290 Basic log output 2013-12-18 16:20:03 +00:00
Aanand Prasad
23c3dc430b Add texttable to requirements.txt 2013-12-18 16:20:03 +00:00
Aanand Prasad
f0df5c6079 Refactor container retrieval / name parsing 2013-12-18 16:20:03 +00:00
Ben Firshman
3458dd2fad Print build output 2013-12-18 16:12:53 +00:00
Ben Firshman
cb366eed7a Add logging to start and stop 2013-12-18 13:13:40 +00:00