Commit Graph
327 Commits
Author SHA1 Message Date
Akihiro Suda 5f684d2ae8 Merge pull request #2 from thaJeztah/review_suggestions 2021-02-25 20:15:51 +09:00
Sebastiaan van Stijn b5567e71b7 Update "post-install" output
- use "/go/" redirect URLs for links to docs.docker.com, which are
  easier to remember, and allows us the flexibility to point them
  to new locations in the docs if content is moved.
- remove instructions for giving non-root access,  and instead
  include a link to the documentation. The existing "usermod"
  instruction may not be complete, and may not work on all
  platforms, so providing a link to the documentation allows
  us to go more into depth.
- remove the (now unused) $your_user variable
- Update the "daemon attack surface" warning to mention
  "privileged Docker daemon", to make clear that this is
  mostly (only) a concern if the daemon is not running
  rootless.
- Wrapped / rephrased the output to make sure it fits in
  80-characters (to prevent unwanted wrapping)
- Fixed / updated some other links while at it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-25 11:52:15 +01:00
Akihiro Suda e5b163217e install.sh: promote Rootless mode over "sudo usermod -aG docker me"
Fix issue 210

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-15 13:02:29 +09:00
Akihiro Suda 7ac13ea193 install.sh: install docker-ce-rootless-extras explicitly
Fix issue 212

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-15 13:02:29 +09:00
Stefan Scherer 27d05be28b Merge pull request #211 from AkihiroSuda/rootless-20.10.3
rootless-install.sh: bump up to 20.10.3
2021-02-04 08:35:45 +01:00
Akihiro Suda f79b9b6c67 rootless-install.sh: bump up to 20.10.3
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-02 14:21:56 +09:00
Stefan Scherer 9dd5b52ae6 Merge pull request #209 from AkihiroSuda/rootless-20.10.2
rootless-install.sh: bump up to 20.10.2
2021-01-14 07:36:06 +01:00
Akihiro Suda f9cd6620d3 rootless-install.sh: bump up to 20.10.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-01-07 14:59:29 +09:00
Stefan Scherer a11ea7368b Merge pull request #203 from AkihiroSuda/rootless-20.10.1
rootless-install.sh: bump up to 20.10.1
2020-12-16 07:52:45 +01:00
Stefan Scherer cb5cd35ec4 Merge pull request #202 from AkihiroSuda/rootless-cleanup
rootless-install.sh: remove v19.03 functions
2020-12-16 07:50:50 +01:00
Akihiro Suda 3319f3b80b rootless-install.sh: bump up to 20.10.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-15 18:47:29 +09:00
Akihiro Suda 03b86b4145 rootless-install.sh: remove v19.03 functions
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-09 14:54:05 +09:00
Tibor Vass 3d8fe77c2c Merge pull request #201 from thaJeztah/update_20.10
Update rootless-install to 20.10.0
2020-12-08 19:54:23 -08:00
Sebastiaan van Stijn 43876371c0 Update rootless-install to 20.10.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-09 01:17:18 +01:00
Stefan Scherer b9c3b3f459 Merge pull request #200 from AkihiroSuda/rootless-20.10-0-rc2
rootless-install.sh: bump up test channel to 20.10.0-rc2
2020-12-03 09:33:42 +01:00
Akihiro Suda 33f6c5310d rootless-install.sh: bump up test channel to 20.10.0-rc2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-03 17:23:13 +09:00
Stefan Scherer a4920acd85 Merge pull request #199 from AkihiroSuda/rootless-19.03.14
rootless-install.sh: bump up to 19.03.14
2020-12-03 09:17:22 +01:00
Akihiro Suda baf62bb078 rootless-install.sh: bump up to 19.03.14
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-02 15:22:44 +09:00
Stefan Scherer 4f8e39ac0a Merge pull request #198 from AkihiroSuda/rootless-20.10-0-rc1
rootless-install.sh: bump up test channel to 20.10.0-rc1
2020-11-20 17:36:44 +01:00
Akihiro Suda f2ce55eea2 rootless-install.sh: bump up test channel to 20.10.0-rc1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-11-19 03:20:21 +09:00
Stefan Scherer 003e979be5 Merge pull request #196 from AkihiroSuda/rootless-20.10.0-beta1
rootless-install.sh: support CHANNEL=test (20.10.0-beta1)
2020-10-21 10:26:05 +02:00
Akihiro Suda 4679d9d10a rootless-install.sh: support CHANNEL=test (20.10.0-beta1)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-10-19 16:09:43 +09:00
Stefan Scherer cf456361bb Merge pull request #192 from oToToT/fix-typo
fix typo in rootless-install.sh
2020-10-06 21:10:48 +02:00
Sebastiaan van Stijn 4a5a92ab5f Merge pull request #193 from thaJeztah/executable
make install.sh executable
2020-09-24 16:12:57 +02:00
Sebastiaan van Stijn b84b90a723 make install.sh executable
this shouldn't affect users downloading, but makes it easier
to debug the script while making changes.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-24 14:08:45 +02:00
Tommy Chiang 2418df5b48 remove useless \n
Signed-off-by: oToToT <ty1208chiang@gmail.com>
2020-09-23 02:26:50 +08:00
Stefan Scherer 5731f1616e Merge pull request #191 from AkihiroSuda/rootless-19.03.13
rootless-install.sh: bump up to 19.03.13
2020-09-21 20:30:45 +02:00
Sebastiaan van Stijn 5c58e06443 Merge pull request #189 from AkihiroSuda/rootless-fix-path-env
rootless (nightly): set PATH="$BIN:$PATH" before running setup tool
2020-09-18 08:39:41 +02:00
Akihiro Suda 4127d4d5c6 rootless-install.sh: bump up to 19.03.13
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-09-18 14:57:59 +09:00
Akihiro Suda 42ea9b5816 rootless (nightly): set PATH="$BIN:$PATH" before running setup tool
Previously, it was failing with the following error when $BIN is not
present in $PATH:

  + /home/vagrant/bin/dockerd-rootless-setuptool.sh install
  [ERROR] dockerd-rootless.sh needs to be present under $PATH

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-09-10 20:46:40 +09:00
Stefan Scherer 2639a23348 Merge pull request #181 from AkihiroSuda/rootless-install-nightly
rootless: call dockerd-rootless-setuptool.sh for $CHANNEL=nightly
2020-07-29 15:58:00 +02:00
Akihiro Suda 648b037d33 rootless: call dockerd-rootless-setuptool.sh for $CHANNEL=nightly
`dockerd-rootless-setuptool.sh` is the new standard way to set up the systemd unit file.
https://github.com/moby/moby/blob/master/contrib/dockerd-rootless-setuptool.sh

The usage of `rootless-install.sh` stays same.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-07-09 12:06:42 +09:00
Stefan Scherer 2e839c9ac3 Merge pull request #180 from AkihiroSuda/rootless-19.03.12
rootless-install.sh: bump up to 19.03.12
2020-06-30 19:10:30 +02:00
Akihiro Suda 71e416d33b rootless-install.sh: bump up to 19.03.12
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-06-26 14:29:52 +09:00
Sebastiaan van Stijn ca9ffdfa16 Merge pull request #178 from AkihiroSuda/rootless-safe-fallback
rootless-install.sh: use safer XRD on non-systemd hosts
2020-06-22 11:48:23 +02:00
Akihiro Suda ebbfa9e2c9 rootless-install.sh: use safer XRD on non-systemd hosts
`/tmp/docker-$(id -u)` is not a good candidate as `$XDG_RUNTIME_DIR`,
because it might be already created by another user.

The new path is `$HOME/.docker/run`.

This commit does not affect systemd-based hosts.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-06-17 12:11:26 +09:00
Stefan Scherer 3d1b8a87b3 Merge pull request #176 from AkihiroSuda/rootless-19.03.11
rootless-install.sh: bump up to 19.03.11
2020-06-02 08:26:58 +02:00
Akihiro Suda 9b848b90d5 rootless-install.sh: bump up to 19.03.11
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-06-02 12:28:13 +09:00
Stefan Scherer a65b2ef5cc Merge pull request #175 from AkihiroSuda/rootless-19.03.10
rootless-install.sh: bump up to 19.03.10
2020-06-01 11:43:50 +02:00
Akihiro Suda 8bebc47718 rootless-install.sh: bump up to 19.03.10
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-05-31 18:35:10 +09:00
Stefan Scherer 0016726309 Merge pull request #174 from AkihiroSuda/rootless-19.03.9
rootless-install.sh: bump up to 19.03.9
2020-05-21 16:16:07 +02:00
Akihiro Suda 5d4953fa6d rootless-install.sh: bump up to 19.03.9
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-05-20 07:53:54 +09:00
Sebastiaan van Stijn 26ff363bcf Merge pull request #172 from StefanScherer/cleanup_dists
Cleanup unsupported dists
2020-05-14 14:45:04 +02:00
Stefan Scherer d09f5ddf06 Cleanup unsupported dists
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2020-05-14 14:36:39 +02:00
Stefan Scherer 6c853fbdb5 Merge pull request #171 from tiborvass/rhel
Make script work on RHEL
2020-05-14 14:35:23 +02:00
Tibor Vass ff2a04b1d0 Make script work on RHEL
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-05-14 09:13:13 +00:00
Sebastiaan van Stijn 1b02882d63 Merge pull request #170 from StefanScherer/check-docker-desktop
[DESKTOP-2757] Check for macOS and WSL and suggest Docker Desktop
2020-05-04 17:07:07 +02:00
Stefan Scherer eb9f7d5535 Check for macOS and WSL
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
2020-05-01 18:30:32 +02:00
Stefan Scherer b50fac9805 Merge pull request #164 from AkihiroSuda/rootless-19.03.8
rootless-install.sh: bump up to 19.03.8
2020-03-13 07:26:42 +01:00
Sebastiaan van Stijn 839088df28 Merge pull request #139 from mike2307/fix_systemd_target
Changed systemd target of rootless docker to default
2020-03-12 13:29:07 +01:00