Cài đặt Docker trên Raspberry Pi - Printable Version +- Online Tips n Tricks (https://a-zgsm.com/tipsntricks) +-- Forum: Home Automation (https://a-zgsm.com/tipsntricks/forum-17.html) +--- Forum: IOT (https://a-zgsm.com/tipsntricks/forum-24.html) +--- Thread: Cài đặt Docker trên Raspberry Pi (/thread-3719.html) |
Cài đặt Docker trên Raspberry Pi - nnm - 18-07-2021 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 … 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 # add user “pi” to docker if needed Quote:usermod -aG docker pi #raspberry_pi #hassio |