0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspi5でDocker構築

Posted at

Raspi5でDockerをインストール

最終更新:2025/5/12

Raspi環境

  • os : Raspberry Pi OS (32bit)

最初に

aptを用いてアップグレード

apt update
apt upgrade

※必要ならrootユーザーに

# rootユーザーのパスワードが決まってなければ
sudo passwd root

#決まっているなら
su -

インストール

以下のコマンドでインストール

url -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

確認

不安な方はバージョンを確認してインストールできているか確認

docker -v
docker compose version

動作確認

実際にdockerのコマンドを実行してみる

docker ps -a

※権限問題
上記のコマンドを実行した際にPermission deniedが出た場合は下記コマンド実行

sudo chmod 666 /var/run/docker.sock

実行確認できたら構築完了

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?