Help us understand the problem. What is going on with this article?

debian wheezy で docker

More than 5 years have passed since last update.

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

  • 公式ドキュメントが更新されていたので、追従しました。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした