LoginSignup
18
20

More than 5 years have passed since last update.

debian wheezy で docker

Last updated at Posted at 2014-06-09

DebianでDockerを使う話。

debianでDockerを使うための最低限のパッケージなど。

前準備

  • Dockerにはカーネル 3.8以降が推奨されているので wheezy-backports からカーネルをインストールします。
$ sudo sh -c "echo deb http://ftp.jp.debian.org/debian wheezy-backports main | tee  /etc/apt/sources.list.d/wheezy-backports.list"
$ sudo apt-get update
$ sudo apt-get -t wheezy-backports install linux-image-amd64 -y
  • インストールが終わったら、再起動かけます。
$ sudo reboot

docker インストール

  • 再起動が終わればdocker本体をインストール
$ sudo sh -c "curl -sSL https://get.docker.com/ | sh"

docker 起動

$ sudo docker run -t -i debian:stable /bin/bash

補足1

補足2

  • 現時点では非公式の方法となりますので、ご注意ください。

更新 2014-11-05

  • 公式ドキュメントが更新されていたので、追従しました。
18
20
5

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
18
20