LoginSignup
5
4

More than 5 years have passed since last update.

dockerでcentos5.x系のコンテナ作成

Posted at

1. 適当なimageを探す

# docker search centos5

2.手順1で探したimageをダウンロードする

# docker pull fatherlinux/centos5-base

3.ダウンロードしたimageを確認する

# docker images
fatherlinux/centos5-base   latest              09a12fae6313        8 months ago        1.139 GB  ←手順2でpullしたイメージ

4. コンテナを作成する

docker run -i -t -name cent5 fatherlinux/centos5-base /bin/bash

5.確認

# cat /etc/redhat-release 
CentOS release 5.10 (Final)

おわり

5
4
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
5
4