Commit Graph

2150 Commits

Author SHA1 Message Date
Usha Mandya 685c3c915a
Merge pull request #12874 from thaJeztah/move_and_fix_redirects
remove some ee "stubs", and move redirects
2021-05-21 13:21:13 +01:00
Andreas Scheucher 2730b1e2c6
Added instructions on how to deal with MacOS security measures (#12837)
* Added instructions on how to deal with MacOS security measures

Mac OS prevents downloaded files to be executed.

Added the description how to allow it again.

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-05-21 11:07:59 +01:00
Sebastiaan van Stijn 3974ba17aa
remove some ee "stubs", and move redirects
This moves some of the stubs that were still in place for docker enterprise,
and moves the redirects they contained to more sensible locations where possible,
also making these redirect slightly more "visible" for when we're editing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-20 22:30:33 +02:00
Sebastiaan van Stijn 030ebcd114
engine/security/protect-access: markdown touch-ups
- use "console" code hints for better copy/paste
- change links to point to markdown files

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-11 16:10:23 +02:00
unknown 477b71cb58 fixed broken link 2021-05-10 11:33:01 -05:00
Metal 47260ee549
Remove Command-line reference to a removed feature of docker app 2021-05-10 17:59:38 +07:00
Sebastiaan van Stijn e146c7f2cd
Merge pull request #12588 from aro5000/update_rootless_docker
Adding docker.socket to also be in disable command for rootless docker
2021-05-05 21:16:26 +02:00
Sebastiaan van Stijn c88e4718cf
Merge pull request #12706 from aofdev/patch-2
Update examples.md (Add parameter platform value is nil)
2021-04-23 16:27:34 +02:00
Sebastiaan van Stijn 13b1a61a2d
Merge pull request #12705 from aofdev/patch-1
Update index.md (Add parameter platform value is nil)
2021-04-23 16:26:02 +02:00
Matthias Scholz 0dd3dcd6ae
📝 🐛 typo command 2021-04-21 16:02:53 +02:00
Usha Mandya 35087c61e1
Merge pull request #12703 from thaJeztah/dockerfile_syntax
use Dockerfile "syntax" directive in examples
2021-04-21 10:12:21 +01:00
Guillaume Lours f2822d7862
Change the repository link to open an issue on docker scan plugin (#12722)
* Change the repository link to open an issue on docker scan plugin

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>

* Remove the statement on trials

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-04-21 09:36:58 +01:00
Sebastiaan van Stijn e22984f7d4
use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Visarut Phusua 1fc1f0e4c9
Add parameter platform value is nil
- Run a container in the background
- Commit a container
2021-04-20 00:51:47 +07:00
Visarut Phusua ce3c977b70
Add parameter platform value is nil 2021-04-20 00:39:49 +07:00
Sebastiaan van Stijn 06651b34b8
remove old "voting app" images that are no longer referenced
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-19 10:38:54 +02:00
Sebastiaan van Stijn e4455a5f8f
Add / update some redirects for old URLs, and move old engine examples
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-19 10:38:52 +02:00
Anca Iordache 5161d0fd07 Document `compose images` command
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2021-04-15 17:59:04 +02:00
Usha Mandya 5db5ac020f
Merge pull request #12682 from europ/patch-1
fixed linux service commands
2021-04-15 15:33:35 +01:00
Usha Mandya 16359b7a67
Merge pull request #12654 from jiaming0708/patch-1
update the dotnet core image source
2021-04-15 15:29:57 +01:00
Sebastiaan van Stijn a6e2944ddf
Merge pull request #12648 from avivmu/patch-2
Rootless is not experimental anymore
2021-04-15 14:26:43 +02:00
Adrián Tóth 464b1c03c9
fixed command inconsistency 2021-04-15 10:55:36 +02:00
Adrián Tóth e589713da8
fixed service restarting commands 2021-04-15 10:26:06 +02:00
Akihiro Suda 5f47c24504
rootless: update for v20.10.6
- btrfs is now supported (moby/moby PR 42253)
- CLI context "rootless" is now created by default (moby/moby PR 42109)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-14 14:47:57 +09:00
Tibor Vass 1e602747d0
Merge pull request #12657 from thaJeztah/update_distro_list
engine: update list of distros that we build on
2021-04-12 11:06:06 -07:00
Sebastiaan van Stijn c876e5cba7
engine: update list of distros that we build on
Adds new distros:

- Ubuntu 21.04 "hirsute hippo"
- Debian/Raspbian 11 "bullseye"
- Fedora 34

Removes Debian 9 "stretch", which reached EOL in upstream Debian

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-12 19:24:00 +02:00
Tibor Vass 48efeb0b58 Add release notes for 20.10.6
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-04-12 17:14:27 +00:00
Jimmy 2929492c0c
update the image source
* the image source is changed
* upgrade to 5.0
2021-04-12 14:46:57 +08:00
avivmu f35134f44a
Rootless is not experimental anymore
As mentioned in [https://docs.docker.com/engine/security/rootless/](Rootless mode) the feature has graduated from experimental in v.20.10
2021-04-10 11:37:33 +03:00
Sebastiaan van Stijn 1898b1b09c
add buildx install/uninstall
these commands are hidden in the cli, but functional, and mentioned
in the "working with buildx" introduction.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-07 16:12:08 +02:00
Aaron Stults 1c828097a6 Adding docker.socket to also be disabled otherwise any docker command run will re-enable docker.service 2021-03-27 16:02:43 -06:00
Andrew Grosser c6ef1e671d
Added important disambiguation to swarm mode (#10987)
* Added important disambiguation to swarm mode

This really needs to be added, I had no idea people gave up on docker/swarm because of a misunderstanding, but it's common enough we need to clarify it.

From Docker's public #swarm slack channel:
```
andrew grosser  4:45 PM
Hey @channel I am about to give a talk in San Francisco to a bunch of devops experts about swarm using my ingress and reverse proxy controller https://github.com/sfproductlabs/roo and one of the organizers said swarm was deprecated, is that so? It's so much easier than kubernetes, I can't imagine losing it.
sfproductlabs/roo
A zero config distributed edge-router & reverse-proxy (supporting multiple letsencrypt/https hosts). No dependencies.
Stars
40
Language
Go
<https://github.com/sfproductlabs/roo|sfproductlabs/roo>sfproductlabs/roo | Apr 9th | Added by GitHub
4:46
Is there something we don't know?
james_wells  4:48 PM
As of the most recent official Docker release, no Swarm is still officially part of Docker...  They merely added native support for Kubernetes
andrew grosser  4:49 PM
🙏 Phew, is there an EOL?
4:49
Thanks @james_wells
4:50
I think they going to get the grenade launchers out if I can't answer these questions
james_wells  4:51 PM
Now that is a good question and my guess is that no, there is no plan to remove it, at least before Docker 3.
andrew grosser  4:52 PM
Amazing thx, I have a system that is a startups dream and is personally saving me more than 10x using swarm, so praying it stays
bmitch:docker:  4:53 PM
Classic container deployed swarm is deprecated (I believe). Swarm mode that's integrated into the engine is still being developed by Mirantis with no EOL set.
4:53
So if someone says swarm is deprecated, make sure to ask "which swarm" they are referring to.
andrew grosser  4:54 PM
Ok thanks @bmitch
4:54
Think that's a brand thing we'll need to help change
james_wells  4:56 PM
@bmitch I am not sure I understand what you are sayin there.  Could you please explain the differences
bmitch:docker:  4:56 PM
See the disambiguation section: https://hub.docker.com/r/dockerswarm/swarm
james_wells  4:57 PM
Excellent.  Thank you sir
andrew grosser  5:02 PM
Thanks
bmitch:docker:  5:02 PM
See also this link where they are getting ready to archive the standalone swarm, aka classic swarm. https://github.com/docker/classicswarm/issues/2985#issuecomment-640486361
justincormackjustincormack
Comment on #2985 Why have all issues been closed?
The vast majority of issues were from 5 years ago when it was being actively developed, and the recent ones were all mistakes for swarmkit, other than some issues I resolved. Many were issues in components or Moby or other software and may be resolved. It is GitHubs (reasonable) recommendation that you close issues and PRs before archiving a repository so that people know they are not being worked on, and I was also looking to see if anyone came forward to say that they were still working on things or, indeed, actively using Swarm Classic.
<https://github.com/docker/classicswarm|docker/classicswarm>docker/classicswarm | Jun 8th | Added by GitHub
james_wells  5:08 PM
That is really unfortunate...  Kubernetes is simply too expensive IMNSHO, Swarm is nice and lightweight.
andrew grosser  5:08 PM
Both the different swarms point to the same point in the documentation in the disambiguation @bmitch
bmitch:docker:  5:09 PM
Swarm mode, aka swarmkit is alive and well.
andrew grosser  5:10 PM
Whoa I can see why they were confused
bmitch:docker:  5:10 PM
If you type docker swarm init you are not running classic swarm
andrew grosser  5:11 PM
Can someone inside docker add this to the swarm docs page? I think it's important
5:12
I think something talking about 2014 was EOLd but this is still current and alive would help.
bmitch:docker:  5:12 PM
Docker themselves isn't maintaining it, that team went to Mirantis, so someone over there would need to submit the PR
andrew grosser  5:12 PM
OK, could I?
bmitch:docker:  5:13 PM
Docs are in GitHub
andrew grosser  5:13 PM
Thanks
```

* Minor edit to the wording to clarify the diff

* Minor update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-03-25 16:03:11 +00:00
Usha Mandya 3db32ba9b4 Minor style update
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-25 11:47:37 +00:00
Usha Mandya 055127bc81 Remove beta note from Docker scan doc
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-24 19:47:04 +00:00
Usha Mandya 1651a230de Reorganize Docker scan docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-23 22:55:33 +00:00
Usha Mandya 41b2904738
Merge pull request #12466 from ndeloof/compose-cli
compose cli reference documentation
2021-03-10 11:41:38 +00:00
Usha Mandya ef78003d20
Merge pull request #12447 from akester/patch-1
Add `lsb-release` to required debian packages.
2021-03-09 14:59:30 +00:00
Andrew Kester 891837abf9 Add `lsb-release` to required debian and ubuntu packages
Certain installations may not have this.  Without this, the step
where `/etc/apt/sources.list.d/docker.list` will fail and write
garbled data to the file, potentially breaking apt.

Co-Authored-By: Andrew Kester <akester@cox.net>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-09 15:47:10 +01:00
Nicolas De Loof 4a68e6cca3
compose cli reference documentation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-09 12:16:34 +01:00
Usha Mandya c64aca187a
Merge pull request #12440 from usha-mandya/engdocs-363
Update docker scan version
2021-03-09 09:34:59 +00:00
Usha Mandya 274266690f Fix URL display issue
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-05 10:48:02 +00:00
Usha Mandya 5bceac5dc9 Update docker scan version
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-04 12:55:21 +00:00
Tibor Vass c236f5638a Add release notes for 20.10.5
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-03-02 22:36:29 +00:00
Sebastiaan van Stijn 2a84b75739
engine/install: uninstall: add removing containerd state to all distros
This was only included in some distributions, so adding it to all
pages.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:23 +01:00
Sebastiaan van Stijn d95a4266ff
replace "output truncated" with special <...> (supported by "rouge")
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:21 +01:00
Sebastiaan van Stijn f4ba73ecbb
engine/instal: use "console" code-hints for examples
This tones down the prompt and command output, so that the commands
to run stand out more clearly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:12 +01:00
Sebastiaan van Stijn 687b46db9e
engine: add missing sudo in ubuntu instructions
Looks like the Debian version was updated during review, but the Ubuntu variant
was forgotten in 760bb64ea3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 11:57:51 +01:00
denis-roy 760bb64ea3
Offering an alternative to the deprecated apt-key tool (#11990)
* Offering an alternative to apt-key (deprecated)

[Use trusted.gpg.d instead of apt-key · Issue #11625 · docker/docker.github.io](https://github.com/docker/docker.github.io/issues/11625)

As of Debian 10 / Ubuntu 20.10, apt-key is deprecated and will not be available after Debian 11 / Ubuntu 22.04

Although adding keys directly to `/etc/apt/trusted.gpg.d`/ is suggested by apt-key deprecation message, as per [Debian Wiki](https://wiki.debian.org/DebianRepository/UseThirdParty) GPG keys for third party repositories should be added to `/usr/share/keyrings` and referenced with the `signed-by` option in the source.list.d entry.

Providing a binary .gpg key instead of an ASCII Armored one might help shorten the lengthy command by removing the ` | gpg --dearmor ` bit.

This removes the software-properties-common provides add-apt-repository which we don't use anymore
2021-03-02 11:30:37 +01:00
Akash Borad 39e00df035
Fix typo in asp.net core sample docs 2021-02-28 13:22:04 +05:30
Tibor Vass 20a868c64f Add release notes for 20.10.4
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-02-26 16:26:36 +00:00