Commit Graph

2119 Commits

Author SHA1 Message Date
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
Sebastiaan van Stijn 734e868ade
Merge pull request #12234 from AkihiroSuda/rootless
update rootless docs
2021-02-25 11:26:36 +01:00
Usha Mandya ec70070506 Add note on viewing scan results on Desktop and Hub dashboards
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-02-17 17:35:05 +00:00
Sebastiaan van Stijn 238c346705
Fix redirect for "/engine/security/https/"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-12 19:43:02 +01:00
Akihiro Suda 690e0010aa
update rootless docs
= _includes/install-script.md, engine/install/linux-postinstall.md =
- Remove "Rootless mode is currently available as an experimental feature."
  Close issue 12050

= engine/security/rootless.md =
== "Prerequiresites" section ==
- Remove information about old distros (Debian 9, CentOS 7.5-7.6)

== "Distribution-specific hint" section ==
- Tabified (`<div class="tab-content" />`)

== "Known limitations" section ==
- Kernel 5.11 supports rootless overlayfs, without the Ubuntu/Debian patch.

== "Install" section ==
- Promote RPM/DEB installation over TGZ installation.
  See docker/roadmap issue 188

== "Uninstall" section ==
- Add "Uninstall" section.
  Close issue 12053

== "Usage" section ==
- Added more information about systemd
- Move `nsenter` tips to "Tips for debugging" subsection under "Troubleshooting" section

== "Best practice" section ==
- Remove guide for `lxc-user-nic` network driver due to immaturity.
  Will be brought back in future.
  See rootless-containers/rootlesskit issue 138 .

== "Troubleshooting" section ==
- Add a guide for "can't open lock file /run/xtables.lock: Permission denied" (SELinux).
  See moby/moby issue 41230

- Add a guide for "failed to register layer: ApplyLayer exit status 1 ..." (NFS).
  Close docker/for-linux issue 1172

- Improve guides for slirp4netns.

- Remove v19.03 information (e.g., "cgroup v2 is unsupported, use cgroup v1")

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-12 19:36:51 +09:00
Akihiro Suda 6fec6ef0c3
engine/security: add more description about ssh://
Previously, the `ssh://` helper was only mentioned in `engine/security/index.md`.

The `ssh://` helper is now documented in "Protect the Docker daemon socket"
(`engine/security/protect-access.md`, nee `engine/security/https.md`).

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-10 19:06:09 +09:00
Tibor Vass 35b2f26163 Add release notes for 20.10.3 and 19.03.15
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-02-01 23:55:22 +00:00
Sebastiaan van Stijn 4291e391bd
fix broken links in "working with contexts"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-21 15:58:03 +01:00
Sebastiaan van Stijn 6b1bae466f
engine: remove "upstart" section from post-install, and minor touch-ups
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-20 15:43:16 +01:00
Sebastiaan van Stijn ff16f50572
Rewrite logging section for dual logging (engine 20.10)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-20 15:43:10 +01:00
Sebastiaan van Stijn 3a794b3197
(temporarily) replace compose-file deep links to v3 docs
The documentation curently doesn't contain reference docs for the
unified (version-less) compose-file syntax, so for now replacing
all links to point to the v3 compose-file reference, which is still
present.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-07 14:21:37 +01:00
Sebastiaan van Stijn 48b9da14ba
engine/api: add redirects and link for archived API versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 16:18:42 +01:00
Sebastiaan van Stijn 2666a4892c
Merge pull request #11977 from cclauss/patch-1
print() is a function in Python 3
2021-01-05 14:39:48 +01:00
Sebastiaan van Stijn 54744c8564
engine: add missing release notes for 19.03.14
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 11:50:24 +01:00
Sebastiaan van Stijn e4ecf664d5
Merge pull request #11865 from gtardif/compose-cli-docs
Compose cli reference docs
2021-01-05 11:25:06 +01:00
Tibor Vass c3637fd0e6 Add engine 20.10.2 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-01-05 09:04:20 +00:00
Guillaume Tardif cd5bc70940 Include ACI/ECS reference docs from compose-cli and make them easier to find for docker users
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-04 16:16:12 +01:00
Christian Clauss 1878deaf57
print() is a function in Python 3
Python 2 died on 1/1/2020 and legacy print statements are syntax errors in all currently supported versions of CPython.
2020-12-24 13:34:12 +01:00
Tibor Vass 3e06ed6791
Merge pull request #11874 from developer-guy/patch-1
Fix trust_delegation.md for target role
2020-12-24 00:07:14 -08:00
Sebastiaan van Stijn 97abade445
Merge pull request #11869 from pacoxu/patch-2
release-note update: containerd is 1.4.3 in v20.10.0
2020-12-15 15:40:07 +01:00
Tibor Vass d73fecdc79 Add engine 20.10.1 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-15 07:58:29 +00:00
Usha Mandya 5182176414
Merge pull request #11895 from fahedouch/update-release-note
Update release-note
2020-12-14 13:25:31 +00:00
Nicolas De Loof 3a8e1dd311
x-aws-vpc expect an ID, not ARN
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-12-14 09:59:28 +01:00
fahed dorgaa 872f685020
Update index.md
based on this comment https://github.com/moby/buildkit/issues/1892#issuecomment-743409990. the source tracking feature is only possible with `buildx` v0.5-rc which is not available in docker 20.10
2020-12-12 22:27:26 +01:00
Usha Mandya 70831b5a2d
Update index.md 2020-12-11 14:11:26 +00:00
Bahadır YARDIM 4d5275f5e6
Severity parameter samples UI bug fixed. 2020-12-10 19:09:30 +03:00
Usha Mandya a80750a132
Merge pull request #11866 from bhdryrdm/patch-2
Forgotten dash added for exclude-base parameter.
2020-12-10 15:12:29 +00:00
Guillaume Lours 872d7dc38a
Add documentation of the severity flag in Docker Scan plugin (#11842)
* Add documentation of the severity flag in Docker Scan plugin

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

* Update documentation after PR review

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

* Add documentation for Docker Scan --group-issues flag

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

* Minor update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-10 14:59:27 +00:00
Batuhan Apaydın cc7d5b6697
Update trust_delegation.md
I think the target role should be target/releases instead of the targets/targets.
2020-12-10 16:52:37 +03:00
Paco Xu bd1a3510a5
release-note update: containerd is 1.4.3 in v20.10.0 2020-12-10 11:18:58 +08:00
Bahadır YARDIM 13347fee1f
Forgotten dash added for exclude-base parameter. 2020-12-09 14:33:16 +03:00
Sebastiaan van Stijn d6fee67243
Merge pull request #11861 from tiborvass/20.10-release-notes
Add engine 20.10.0 release notes
2020-12-09 02:27:09 +01:00