1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00
Commit Graph

68 Commits

Author SHA1 Message Date
Sven Dowideit
05adee5aca add a little bit mentioning commandline option combinations
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 0db1996a26
Component: cli
2017-06-02 00:06:22 +00:00
Barnaby Gray
acb1068850 Add fish shell completions from https://github.com/barnybug/docker-fish-completion.
Docker-DCO-1.1-Signed-off-by: Barnaby Gray <barnaby@pickle.me.uk> (github: barnybug)
Upstream-commit: 45e2caf10e
Component: cli
2017-06-02 00:06:22 +00:00
Sven Dowideit
c72678e3e6 one ponted out by lukaspustina, and one that I bet I added
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 29d73de168
Component: cli
2017-06-02 00:06:22 +00:00
Victor Vieux
926294bc3b add missing doc
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Upstream-commit: 231c00296b
Component: cli
2017-06-02 00:06:22 +00:00
Brian Goff
f5af2eb8c7 make docker build -rm=true default #4292
Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Upstream-commit: 730417f46f
Component: cli
2017-06-02 00:06:22 +00:00
Vincent Batts
4da3c798d1 execdriver flag for docker daemon
like the storage-driver flag, this implements a flag for choosing the
  execdriver to be used, defaulting to lxc.

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
Upstream-commit: 9d1894a44c
Component: cli
2017-06-02 00:06:21 +00:00
Brian Goff
af385344cd Remove uneeded wording in Dockerfile format
Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Upstream-commit: 92d8b836a7
Component: cli
2017-06-02 00:06:21 +00:00
Danny Berger
28982b4453 Drop -mtu from docs in favor of --mtu only
Docker-DCO-1.1-Signed-off-by: Danny Berger <dpb587@gmail.com> (github: dpb587)
Upstream-commit: dcea86eb25
Component: cli
2017-06-02 00:06:21 +00:00
Danny Berger
b6ce0ab105 Fix cli argument usage typo for docker --mtu
Docker-DCO-1.1-Signed-off-by: Danny Berger <dpb587@gmail.com> (github: dpb587)
Upstream-commit: 16e959358b
Component: cli
2017-06-02 00:06:21 +00:00
unclejack
b3323cd058 forbid chained onbuild, from & maintainer triggers
This changes the way onbuild works:
- forbids the chaining of onbuild instructions
- forbids the use of `onbuild from`
- forbids the use of `onbuild maintainer`

It also makes docker throw errors when encountering such triggers when
executing the triggers during `FROM`.

Three tests have been added:
- ensure that chained onbuild (`onbuild onbuild`) is forbidden
- ensure that `onbuild from` is forbidden
- ensure that `onbuild maintainer` is forbidden

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Upstream-commit: a79fae655d
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
0e1c391909 reinforce that docker build --rm is a good default to use
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 0793ff9774
Component: cli
2017-06-02 00:06:21 +00:00
Andy Rothfusz
24c6f1a33b update links
Docker-DCO-1.1-Signed-off-by: Andy Rothfusz <github@developersupport.net> (github: metalivedev)
Upstream-commit: 2be94a6d55
Component: cli
2017-06-02 00:06:21 +00:00
Andy Rothfusz
c878f08021 Update the documentation docs with new branch information.
Docker-DCO-1.1-Signed-off-by: Andy Rothfusz <github@developersupport.net> (github: metalivedev)
Upstream-commit: 2af848ac2c
Component: cli
2017-06-02 00:06:21 +00:00
Brian Goff
b566758d8e Add extra info regarding docker run funcationality
Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)
Upstream-commit: bdb4174a7f
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
d2e070809a my attempt to disentagle repository and registry (Issue #1439)
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 4e224b4218
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
fcfd6c1df9 add a little reenforcement to the help for docker build -q
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 0bf10f83a1
Component: cli
2017-06-02 00:06:21 +00:00
Song Gao
dad9180967 Support submodules when building from a gh repo
Docker-DCO-1.1-Signed-off-by: Song Gao <song@gao.io> (github: songgao)
Upstream-commit: 4e4c5547b8
Component: cli
2017-06-02 00:06:21 +00:00
unclejack
190101a0de disallow tcp:// from defaulting to 127.0.0.1:4243
This stops docker from accepting tcp:// as a valid bind address.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Upstream-commit: 0c427d6796
Component: cli
2017-06-02 00:06:21 +00:00
Dafydd Crosby
2b0d5a8618 Fix RST formatting
Upstream-commit: bb10fef646
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
9f9df6cd54 add a little more information about the docker run -P option
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: ba6266c648
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
a4a6a0dbc1 point out that ENV DEBIAN_FRONTEND will persist, so its not recommended
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 605f913fc5
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
da710527a4 please, for the love of Docker, do. not. use. symlinks
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 808f83bc5c
Component: cli
2017-06-02 00:06:21 +00:00
Sven Dowideit
cbd2748ec4 be a little more explicit about what WORKDIR does
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: ff4a5b431b
Component: cli
2017-06-02 00:06:21 +00:00
Solomon Hykes
22fd28d287 New build instruction: ONBUILD defines a trigger to execute when extending an image with a new build
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Upstream-commit: 8bef3842d7
Component: cli
2017-06-02 00:06:20 +00:00
Johan Euphrosine
9394ed21e5 docs/cli: add mtu option
Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: google)
Upstream-commit: 05c073b292
Component: cli
2017-06-02 00:06:20 +00:00
Sven Dowideit
559326d1b1 add a known issue for lxc-1.0.0.beta3 and beyond for removeal of lxc-kill see #3844
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: 3b5e659814
Component: cli
2017-06-02 00:06:20 +00:00
Andy Rothfusz
dc37f8e0bd Address feedback from @jamtur01.
Docker-DCO-1.1-Signed-off-by: Andy Rothfusz <github@developersupport.net> (github: metalivedev)
Upstream-commit: baded3bcc0
Component: cli
2017-06-02 00:06:20 +00:00
Andy Rothfusz
206d157982 Fix 2720 -- Expanded documentation for docker run.
Docker-DCO-1.1-Signed-off-by: Andy Rothfusz <github@developersupport.net> (github: metalivedev)
Upstream-commit: ef0eb78f58
Component: cli
2017-06-02 00:06:20 +00:00
Brandon Philips
15929897e5 fix(cli.rst): add missing underscores
As suggested by @metalivedev

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: f9e5fa6aeb
Component: cli
2017-06-02 00:06:20 +00:00
Brandon Philips
bf8cf1aaed Allow fd:// like unix:// and tcp://
Somthing like 20605eb310f0b57bd06eea80ec63c5022fc83bde

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: 27a2933df4
Component: cli
2017-06-02 00:06:20 +00:00
Brandon Philips
6f2846a385 fix(docs): add Systemd in front of socket activation
Suggested by SvenDowideit.

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: 43cea0e97c
Component: cli
2017-06-02 00:06:20 +00:00
Brandon Philips
87597d03a6 docs: improve the socket activation cli docs
as suggested by SvenDowideit expand the docs to have more information on
socket activation.

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: 8922f0314a
Component: cli
2017-06-02 00:06:20 +00:00
Brandon Philips
1382a0f40b fix(docs): fixup based on changes in master
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: a25ce61e87
Component: cli
2017-06-02 00:06:20 +00:00
Sven Dowideit
5cdb637e21 talk about the new exec form of RUN (Closes #3723) implemented by #3558
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Upstream-commit: c046828392
Component: cli
2017-06-02 00:06:20 +00:00
Sven Dowideit
538f28b15b change the documentation only - It looks like we have a number of cmdline params to completely update from the code version
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 5bfb9bf093
Component: cli
2017-06-02 00:06:20 +00:00
Paul Lietar
6dcbeea319 Add a --signal option to the kill command to specify a signal.
Docker-DCO-1.1-Signed-off-by: Paul Lietar <paul@lietar.net> (github: plietar)
Upstream-commit: 9a20d94d97
Component: cli
2017-06-02 00:06:20 +00:00
Maxime Petazzoni
8364e5f019 Documentation about automatic bind-mount dir creation
Docker-DCO-1.1-Signed-off-by: Maxime Petazzoni <max@signalfuse.com> (github: mpetazzoni)
Upstream-commit: f0d44c8bc1
Component: cli
2017-06-02 00:06:20 +00:00
Tianon Gravi
57e78abe14 Update bash completion to ignore stderr output of docker binary
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Upstream-commit: 632263387f
Component: cli
2017-06-02 00:06:20 +00:00
Sven Dowideit
725d14dfe0 add a little info about ghosts
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Upstream-commit: 4e48cc274e
Component: cli
2017-06-02 00:06:20 +00:00
Tianon Gravi
98131c2bc4 Switch docker run --username to docker run --user which is more accurate (while we can still do so without breaking anyone's scripts)
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Upstream-commit: d24c5c599d
Component: cli
2017-06-02 00:06:20 +00:00
Tianon Gravi
4aa138c60d Resync bash completion to include all flags defined in the code, and to autocomplete properly on all parameters that are reasonably possible to do so on today
This also includes several new minor features that are interesting, so do explore a little. :)

Finally, this also fixes a few bugs where commands would complete parameters that they won't necessarily accept.  We still have a few of these cases, but they're reduced to a minimum now.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Upstream-commit: 3ca9415d56
Component: cli
2017-06-02 00:06:20 +00:00
Victor Vieux
8f168e41f5 update commands.go
update docker.go

move to pkg

update docs

update name and copyright

change --sinceId to --since-id, update completion and docs

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor@docker.com> (github: vieux)
Upstream-commit: 33415ebe36
Component: cli
2017-06-02 00:06:19 +00:00
James Turnbull
30d36fff92 Added Reference Manual
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)
Upstream-commit: 98b39c91de
Component: cli
2017-06-02 00:06:19 +00:00
Paul
21a737b698 Mac OSX command for pip was incorrect
Upstream-commit: fb17f9fcab
Component: cli
2017-06-02 00:06:19 +00:00
Thomas LEVEIL
3cd5549ecd support for container names in bash completion
Upstream-commit: bc7722ea0f
Component: cli
2017-06-02 00:06:19 +00:00
Sven Dowideit
1c211d0906 make docs is more consistent
Upstream-commit: 2d576ea3b6
Component: cli
2017-06-02 00:06:19 +00:00
Sven Dowideit
ab0c9a7cea change the policy wrt $ sudo docker to simplify auto-testing
Upstream-commit: 3091ba88fa
Component: cli
2017-06-02 00:06:19 +00:00
John Feminella
768974c22a Corrects misspellings of 'Sphinx'
Upstream-commit: 01d4e98cc8
Component: cli
2017-06-02 00:06:19 +00:00
John Feminella
ff73503948 Suggest users install dependencies by using requirements.txt, not manually
Upstream-commit: b52c999103
Component: cli
2017-06-02 00:06:19 +00:00
Victor Vieux
f022c32444 rebase and add some filters
Upstream-commit: e074bc6db1
Component: cli
2017-06-02 00:06:19 +00:00