LoginSignup
15

More than 5 years have passed since last update.

CentOS 6.5 (64bit)でDockerを使う

Posted at

EPELレボジトリを導入

$ sudo rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

Dockerのインストール

$ sudo yum update
$ sudo yum -y remove docker
$ sudo yum -y install docker-io
$ sudo service docker start
$ sudo chkconfig docker on

インストール出来たか確認

$ docker --version

CentOSの導入

$ sudo docker pull centos
$ sudo docker images centos
$ sudo docker run -i -t centos /bin/bash

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
15