Marco Hennings
687d27ab57
Add an option to set the working directory.
...
This makes it possible to simply wrap a command inside a container. This makes
it easier to use a container as an unified build environment.
Examples:
~/workspace/docker
$ docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu ls
AUTHORS Makefile archive.go changes.go docker
[...]
docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu pwd
/home/marco/workspace/docker
2013-08-18 19:34:01 +02:00
Andy Rothfusz
d4eab77f0c
Fix #1517 , #1521 by adding sudo to examples and installation.
2013-08-14 16:21:36 -07:00
Michael Crosby
9662f9e56a
Merge pull request #1478 from jpetazzo/929-insecure-flag
...
add -privileged flag and relevant tests, docs, and examples
2013-08-14 13:55:18 -07:00
Jérôme Petazzoni
280901e5fb
add -insecure flag and relevant tests
2013-08-13 16:20:22 -07:00
Kawsar Saiyeed
a2fb870ce3
Fix typo in docs for docker run -dns
2013-08-11 02:04:04 +01:00
Dražen Lučanin
6115348dd9
doc: syntax to run a specific image tag
2013-08-07 13:57:31 +02:00
Michael Crosby
5b8cfbe15c
Add cp command and copy api endpoint
...
The cp command and copy api endpoint allows users
to copy files and or folders from a containers filesystem.
Closes #382
2013-08-06 16:09:54 +00:00
Victor Vieux
a97cf23355
add docs
2013-08-05 11:07:27 +00:00
Michael Crosby
3a123bc479
Add no cache for docker build
...
Add a new flag to disable the image cache when building images.
2013-08-02 16:18:54 +00:00
Victor Vieux
108635582f
rebase master
2013-07-31 15:32:08 +00:00
Thatcher Peskens
5dc86d7bca
Updated the description of run -d
...
The goal is to make it more clear this will give you the container id after run completes.
Since stdout is now standard on run, "docker run -d" is the best (or only) way to get the container ID returned from docker after a plain run, but the description (help) does not hint any such thing.
2013-07-29 14:17:15 -07:00
Guillaume J. Charmes
9cc8b72a38
Merge pull request #1288 from dlintw/1286-improve-import-txz-description
...
Fixes #1286 improve-import-txz-description
2013-07-25 12:37:37 -07:00
Daniel YC Lin
8f6b6d5784
Fixes #1286
2013-07-25 15:36:32 +08:00
Victor Vieux
8165e51ecc
Merge branch '858-disable-network-configuration' of https://github.com/stfp/docker into stfp-858-disable-network-configuration
2013-07-23 08:44:12 +00:00
Ken Cochrane
2bba279cf1
Merge pull request #1259 from dsissitka/patch-3
...
*Documentation: Updated the stop command's docs.
2013-07-22 06:59:02 -07:00
Stefan Praszalowicz
3342bdb331
Support networkless containers with new docker run option '-n'
2013-07-21 17:11:47 -07:00
David Sissitka
1d02a7ffb6
Updated the stop command's docs.
2013-07-21 19:00:18 -04:00
dsissitka
788935175e
Added top to the list of commands in the sidebar.
2013-07-21 18:30:51 -04:00
unclejack
2a3b91e3b6
docs - add example for cidfile
2013-07-19 16:03:45 +03:00
unclejack
221ee504aa
docs - add cidfile flag to run docs
2013-07-19 16:03:45 +03:00
Guillaume J. Charmes
de563a3ea3
Merge pull request #1194 from crosbymichael/build-verbose
...
* Builder: Add verbose output to docker build
2013-07-17 12:53:06 -07:00
Victor Vieux
9cf2b41c05
change rm usage in docs
2013-07-17 19:24:54 +00:00
Victor Vieux
f310b875f8
Merge branch 'master' of https://github.com/kencochrane/docker into kencochrane-master
2013-07-17 19:23:06 +00:00
Guillaume J. Charmes
18e91d5f85
Update docs
2013-07-16 10:14:21 -07:00
Ken Cochrane
364f48d6c7
updated the rmi command docs, the had typos
2013-07-12 14:05:26 -04:00
Victor Vieux
752f99e8a1
Merge pull request #977 from dotcloud/966-improve_docker_login_parameters-feature
...
* Client: Add options to docker login to be able to use it via script
2013-07-12 05:07:25 -07:00
Victor Vieux
9232d1ef62
Merge branch 'master' into list_container_processes-feature
2013-07-12 11:47:27 +00:00
Michael Crosby
474191dd7b
Add verbose output to docker build
...
Verbose output is enabled by default and
the flag -q can be used to suppress the verbose output.
2013-07-11 15:27:33 -09:00
Victor Vieux
fc3a8e409d
change tag -> repo name in build usage
2013-07-10 22:44:31 +00:00
Victor Vieux
11e28842ac
change to top
2013-07-01 15:19:42 +00: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
3b5ad44647
rebase master
2013-07-01 12:31:16 +00:00
Victor Vieux
8589fd6db8
Add doc
2013-06-28 18:05:41 +02: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
de1a5a75cc
Merge pull request #848 from dotcloud/builder_server-3
...
Improve Docker build
2013-06-21 14:55:08 -07:00
Victor Vieux
42bcfcc927
add options to docker login
2013-06-21 10:00:25 +00:00
unclejack
6a1279fb90
docs: mark command as optional for docker run
2013-06-21 11:07:14 +03:00
Solomon Hykes
352991bdf4
Merge branch 'simpler-build-upload' ( #900 ) into builder_server-3 ( #848 )
2013-06-20 22:02:36 -07:00
Victor Vieux
063c838c92
update docs
2013-06-19 12:48:50 +00:00
Guillaume J. Charmes
84ceeaa870
Update documentaiton
2013-06-18 14:36: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
Andy Rothfusz
7958f1f694
Add examples for local import.
2013-06-14 13:42:59 -06: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
8984aef899
Fix typo in docs
2013-06-10 09:32:31 -07:00
Guillaume J. Charmes
2cc22de696
Update documentation for docker build
2013-06-06 16:48:36 -07:00
unclejack
4b3a381f39
docs: build: ADD copies just needed data w/ full path
2013-06-07 00:39:43 +03: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
28d5b2c15a
Update docker build docs
2013-05-30 12:35:19 -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