3
2

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.

Alpine Linuxにdockerとdocker-composeをインストール

Last updated at Posted at 2020-10-26

proxmox にalpineをインストール

ハードウェア設定

  • Storage
    • VirtIO

インストーラー

1.png

  • アカウント : root、パスワードなし
setup-alpine

基本的に Enterキーを押下で進む。?キーで選択ができる。

  • sys
  • Asia/Tokyo
  • vda
  • openssh
  • ipアドレス
    • 192.168.0.2/24 みたいな形式
  • DNS
    • local
    • 8.8.8.8
  • password
    • なにか入れる

インストール終了後

画面

3.png

root ユーザーで、さきほど設定した パスワード でログイン

リポジトリの設定

vi /etc/apk/repositories

以下のように3行目以降をすべてコメントアウト解除

4.png

# リポジトリ情報の更新
apk update
dockerパッケージが見つかるか確認
apk search docker

もしくは

apk list | grep ^docker

6.png

dockerのインストール

apk add docker docker-compose

service docker start

メモリ使用量とDISK使用量は以下のように少ない。

スクリーンショット_2020-10-26_08-57-06.png

自動起動サービスに追加
rc-update add docker
3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?