Online Tips n Tricks

Full Version: Cài đặt Docker trên Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Chạy các lệnh sau để cài đặt Docker trên Raspberry Pi đang chạy hệ điều hành Linux : Raspbian, Hassbian …

[Image: 100px-Raspberry_Pi_Logo.svg.png]


Quote:apt update


Quote:apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Add Docker’s official GPG key:

Quote:curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add --

# install docker

Quote:curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

# Register its startup

Quote:systemctl start docker.service
systemctl enable docker.service

# add user “pi” to docker if needed


Quote:usermod -aG docker pi


#raspberry_pi #hassio