2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Manjaro に Docker をインストール

Last updated at Posted at 2020-09-23

はじめに

Raspberry Pi 4 にインストールした Manjaro に Docker を入れて何かサーバを立てよう。
初めてのArch系で、恥ずかしながら緊張しているよ。

確認環境
$ lsb_release -rd
Description:    Manjaro ARM Linux
Release:        20.09

Docker

インストール

$ sudo pacman -S docker
$ docker --version
Docker version 19.03.12-ce, build 48a66213fe

一般ユーザに実行権限を与える

$ sudo usermod -aG docker `whoami`

サービスの有効化

再起動無しで systemctl start docker したかったが、全然起動してくれなかった。
systemctl enable docker して再起動したらあっさりいけたので、これで良しとする。

$ sudo systemctl enable docker
$ sudo reboot

※グループが反映されていないからでした。

Docker Compose

インストール

$ sudo pacman -S docker-compose
$ docker-compose --version
docker-compose version 1.27.3, build unknown

おわりに

結構パッケージ充実してんだね。

2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?