docs.coopcloud vs docs.docker instructions differ; which ones to choose? #1

Closed
opened 2021-08-24 21:42:10 +00:00 by timewarp · 2 comments
Owner

From https://docs.coopcloud.tech/deploy/#install-server-prerequisites :

sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt update
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io

From https://docs.docker.com/engine/install/debian/ :

sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

DIFFERENCES

  1. Two sudo apt-get install coopcloud docs use the -y command line option, docker doc does not
  2. coopcloud docs installs gnupg-agent while docker docs installs gnupg
  3. coopcloud docs installs software-properties-common while docker docs installs lsb-release
  4. coopcloud docs pipes curl output into "sudo apt-key add -" while
    docker docs uses "sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg"
  5. coopcloud docs use add-apt-repository while docker docs use echo and lsb_release and writes to a file in /etc/apt/sources.list.d

Does it matter which instructions are used? If it doesn't matter, I will arbitrarily pick one or the other for the coop-cloud-win-deploy guide. If it does matter, then please say more about what matters and what commands to execute.

From https://docs.coopcloud.tech/deploy/#install-server-prerequisites : sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt update sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" sudo apt-get update sudo apt-get install -y docker-ce docker-ce-cli containerd.io _______________________________________________________________________ From https://docs.docker.com/engine/install/debian/ : sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io _______________________________________________________________________ DIFFERENCES =========== 1. Two sudo apt-get install coopcloud docs use the -y command line option, docker doc does not 1. coopcloud docs installs gnupg-agent while docker docs installs gnupg 1. coopcloud docs installs software-properties-common while docker docs installs lsb-release 1. coopcloud docs pipes curl output into "sudo apt-key add -" while docker docs uses "sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg" 1. coopcloud docs use add-apt-repository while docker docs use echo and lsb_release and writes to a file in /etc/apt/sources.list.d _______________________________________________________________________ Does it matter which instructions are used? If it doesn't matter, I will arbitrarily pick one or the other for the coop-cloud-win-deploy guide. If it does matter, then please say more about what matters and what commands to execute.
3wordchant was assigned by timewarp 2021-08-24 21:42:11 +00:00
timewarp self-assigned this 2021-08-24 21:42:11 +00:00

Hi @timewarp, I believe I copy/pasta'd the docker.com instructions that were current at the time into the documentation and now they've been updated on docker.com? Maybe we could update them or just refer to docker.com altogether to avoid confusion?

FYI, the new abra implementation which is Coming Soon ™️ has the Docker client baked into it, so no installation will be necessary on your local computer. It will also support bootstrapping Docker on the remote server too.

Thanks for raising this 🚀

Hi @timewarp, I believe I copy/pasta'd the docker.com instructions that were current at the time into the documentation and now they've been updated on docker.com? Maybe we could update them or just refer to docker.com altogether to avoid confusion? FYI, the new `abra` implementation which is Coming Soon ™️ has the Docker client baked into it, so no installation will be necessary on your local computer. It will also support bootstrapping Docker on the remote server too. Thanks for raising this 🚀
timewarp referenced this issue from a commit 2021-08-29 21:59:50 +00:00
Author
Owner

I used the current docker.com instructions as of August 2021.

I used the current docker.com instructions as of August 2021.
Sign in to join this conversation.
No Label
No Milestone
No project
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: timewarp/coop-cloud-win-deploy#1
No description provided.