Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active August 10, 2025 04:34
Show Gist options
  • Select an option

  • Save tstellanova/714c64fe476eef467982c93976c955be to your computer and use it in GitHub Desktop.

Select an option

Save tstellanova/714c64fe476eef467982c93976c955be to your computer and use it in GitHub Desktop.
Install docker CE for arm64
#!/bin/bash
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo "deb [arch=arm64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y docker-ce
# allow the current user to use docker as if they were root
sudo usermod -aG docker $USER
# setup plain http access to a LAN docker registry
sudo tee /etc/docker/daemon.json <<EOF
{
"insecure-registries": ["rock64-01.local:5000","10.0.1.5:5000"]
}
EOF
@emmonsha
Copy link

emmonsha commented Aug 5, 2025

Привет!
Я попробую использовать твой скрипт в своем учебном проекте.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment