c33d198609
add ability to publish range of ports
...
Closes #8899
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com >
2017-06-02 00:06:44 +00:00
1cc7a4eb81
add Scott's link checker script, and fix what it finds
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au >
2017-06-02 00:06:43 +00:00
41d3d7dc72
Added description for 'docker run' command, -c/--cpu-shares flag
...
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com >
2017-06-02 00:06:43 +00:00
76daef2b9a
Forbid client piping to tty enabled container
...
Forbid `docker run -t` with a redirected stdin (such as `echo test |
docker run -ti busybox cat`). Forbid `docker exec -t` with a redirected
stdin. Forbid `docker attach` with a redirect stdin toward a tty enabled
container.
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com >
2017-06-02 00:06:43 +00:00
acd8287c74
Add a fuse example, combining both SYS_ADMIN and --device
...
inspired by #9448 and #9487
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com >
2017-06-02 00:06:43 +00:00
c5e525eb4c
add --cap-add=NET_ADMIN to make a new network device
...
inspired by #9452
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com >
2017-06-02 00:06:43 +00:00
dc2868ee11
Note that using -lxc-conf to change things Docker manages has pitfalls
...
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com >
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
2017-06-02 00:06:43 +00:00
fec9e65e60
Corrected description of --sig-proxy
...
Signal proxy does work only in non-TTY mode (--tty=false). Man pages and
commands should not lie about it.
Signed-off-by: Michal Minar <miminar@redhat.com >
2017-06-02 00:06:40 +00:00
4d80935bff
Allow IPC namespace to be shared between containers or with the host
...
Some workloads rely on IPC for communications with other processes. We
would like to split workloads between two container but still allow them
to communicate though shared IPC.
This patch mimics the --net code to allow --ipc=host to not split off
the IPC Namespace. ipc=container:CONTAINERID to share ipc between containers
If you share IPC between containers, then you need to make sure SELinux labels
match.
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2017-06-02 00:06:40 +00:00
fb4c349f40
unify –(en dash) to - when specifying options
...
Signed-off-by: Xie Shi <georgexsh@gmail.com >
2017-06-02 00:06:39 +00:00
7a545897fe
enhancing set-macaddress docu #2
...
Signed-off-by: Malte Janduda <mail@janduda.net >
2017-06-02 00:06:39 +00:00
a9e9f21f0f
enhancing set-macaddress docu
...
Signed-off-by: Malte Janduda <mail@janduda.net >
2017-06-02 00:06:39 +00:00
ad1a9d8d2f
Adding docker-cli run param to set MAC address
...
Signed-off-by: Malte Janduda <mail@janduda.net >
2017-06-02 00:06:39 +00:00
5b9405b388
adding support for port ranges on --expose
...
Closes #1834
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com >
2017-06-02 00:06:39 +00:00
aedfc62293
Link to run reference from cli doc
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
2017-06-02 00:06:37 +00:00
981a612adf
Add info on --device flag permissions ':rwm'
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au >
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au > (github: SvenDowideit)
2017-06-02 00:06:37 +00:00
3be32c5e8e
Add some docs about which env vars are defined in new containers
...
@SvenDowideit FYI
Closes #3087
Signed-off-by: Doug Davis <dug@us.ibm.com >
2017-06-02 00:06:36 +00:00
53ee6d2237
Fix security-opt docs
...
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2017-06-02 00:06:36 +00:00
c5f3535b06
update docs
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:06:35 +00:00
5619082f2b
Add --security-opts options to allow user to customize security configuration
...
security-opts will allow you to customise the security subsystem.
For example the labeling system like SELinux will run on a container.
--security-opt="label:user:USER" : Set the label user for the container
--security-opt="label:role:ROLE" : Set the label role for the container
--security-opt="label:type:TYPE" : Set the label type for the container
--security-opt="label:level:LEVEL" : Set the label level for the container
--security-opt="label:disabled" : Turn off label confinement for the container
Since we are passing a list of string options instead of a space separated
string of options, I will change function calls to use InitLabels instead of
GenLabels. Genlabels interface is Depracated.
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com > (github: rhatdan)
2017-06-02 00:06:35 +00:00
d6d5dcd55a
Doc update to clarify random port mapping on docker run -P
...
Signed-off-by: Dan Cotora <d@bluevision.ro >
2017-06-02 00:06:35 +00:00
14c0f0781d
Allow extra lines in /etc/hosts
...
This adds a --add-host host:ip flag which appends lines to /etc/hosts. This is needed in places where you want the container to get a different name resolution than it would through DNS. This was submitted before as #5525 , closed, and now I am re-opening. It has come up 2 or 3 times in the last couple days.
Signed-off-by: Tim Hockin <thockin@google.com >
2017-06-02 00:06:34 +00:00
3ca630d381
Consistently use 'sudo docker' in examples
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
2017-06-02 00:06:34 +00:00
70abfec849
add -p PORT as a valid format specification
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com > (github: SvenDowideit)
2017-06-02 00:06:33 +00:00
5547dedac3
Added --device flag to run reference
...
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net > (github: jamtur01)
2017-06-02 00:06:33 +00:00
bbea6aa42d
Update /etc/hosts when linked container is restarted
...
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com > (github: vieux)
2017-06-02 00:06:33 +00:00
4fc06d1790
update go import path and libcontainer
...
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com > (github: vieux)
2017-06-02 00:06:32 +00:00
dbec9b15d4
Added info re: image[:tag] to make docs consistent. Fixed a markdown issue.
...
Closes issue #6833
Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com > (github: fredlf)
2017-06-02 00:06:31 +00:00
ff64867b75
Adjust Link description to match target
...
The target document headline is "Managing data in containers" and so should the link be named.
2017-06-02 00:06:31 +00:00
4a685c6482
update api doc
...
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com > (github: vieux)
2017-06-02 00:06:31 +00:00
1b9bc637e6
add doc
...
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com > (github: vieux)
2017-06-02 00:06:31 +00:00
316fa6a218
Fix typos
...
Docker-DCO-1.1-Signed-off-by: Bryan Bess <squarejaw@bsbess.com > (github: squarejaw)
2017-06-02 00:06:31 +00:00
c23159c986
run.md: Fix references to cli
...
There are now no other occurrences of `#cli-` in this document.
TODO: Find other places with wrong links.
2017-06-02 00:06:30 +00:00
6f03f597ad
I'm going to wish I didn't do this
...
Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au > (github: SvenDowideit)
2017-06-02 00:06:30 +00:00
dce7a15eda
Formatting and consistency fixes to CLI and RUN references
...
* Removed double backticks.
* Reformatted paragraphs.
* Fixed consistent STDOUT/STDIN/STDERR references.
* Fixed several broken URLs.
* Fixed backtick mismatches.
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net > (github: jamtur01)
2017-06-02 00:06:30 +00:00
acbbeb39de
Fix typo in the docs.
...
Fix a minor typographical error inside `run.md`.
2017-06-02 00:06:30 +00:00
faeae5d7b7
Fix flag names
2017-06-02 00:06:29 +00:00
12be909528
Document the potential insecurity of --net host
...
Docker-DCO-1.1-Signed-off-by: Timothy <timothyhobbs@seznam.cz > (github: https://github.com/timthelion )
2017-06-02 00:06:29 +00:00
3ca0eb652b
Fix several typos
...
Docker-DCO-1.1-Signed-off-by: Michael Prokop <github@michael-prokop.at > (github: mika)
2017-06-02 00:06:29 +00:00
74a03f6def
Adding User Guide
...
* Added User Guide section outlines.
* Added User Guide to menu.
* Moved HTTPS example to articles.
* Replaced Hello World example with User Guide.
* Moved use cases out of examples.
* Updated Introduction to add User Guide.
* Redirected migrated /use and /articles links.
* Added Docker.io section
* Added Dockerized section
* Added Using Docker section
* Added Docker Images section
* Added Docker Links section
* Added Docker Volumes section
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net > (github: jamtur01)
2017-06-02 00:06:28 +00:00
2477e56243
Check uid ranges
...
Fixes #5647
Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com > (github: LK4D4)
2017-06-02 00:06:27 +00:00
043c294859
changed deprecated option styles to supported ones
...
-name and -rm to --name and --rm
2017-06-02 00:06:27 +00:00
875f5489c4
Cleaned up Network settings overview
2017-06-02 00:06:27 +00:00
1af0c1584d
Fix link to daemon/execdriver/lxc/lxc_template.go
2017-06-02 00:06:27 +00:00
cbdde9c15a
update the docs to reflect the nice \n handling
...
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com > (github: SvenDowideit)
2017-06-02 00:06:27 +00:00
35c4f1426e
Update the run --net cli help to include the 'host' option
...
and then add that to the run and cli docs
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com > (github: SvenDowideit)
2017-06-02 00:06:27 +00:00
2ff41c5365
add linked containers to hosts file
...
Docker-DCO-1.1-Signed-off-by: Bryan Murphy <bmurphy1976@gmail.com > (github: bmurphy1976)
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com > (github: shykes)
Tested-by: Solomon Hykes <solomon@docker.com > (github: shykes)
2017-06-02 00:06:27 +00:00
4e22cf681e
Add docs for --net flag
...
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com > (github: crosbymichael)
2017-06-02 00:06:27 +00:00
4cf7b28b9a
run.md: Close braces
...
Docker-DCO-1.1-Signed-off-by: Felix Rabe <felix@rabe.io > (github: felixrabe)
2017-06-02 00:06:26 +00:00
a3595e6a6e
run.md: Convert some backticks to apo's
2017-06-02 00:06:26 +00:00