Sign inSign up

zokeber/centos

By zokeber

Updated over 11 years ago

Docker Image for CentOS 7 with steroids

Image
2

10K+

zokeber/centos repository overview

CentOS 7 Dockerfile

This repository contains a Dockerfile to build a Docker Image with CentOS 7 Base.

Build Status

Base Docker Image

Usage

Installation
  1. Install Docker.

  2. You can download automated build from public Docker Hub Registry:

docker pull zokeber/centos:latest

Another way: build from Github

To create the image zokeber/centos, clone this repository and execute the following command on the docker-centos folder:

docker build -t zokeber/centos:latest .

Another alternatively, you can build an image directly from Github:

docker build -t="zokeber/centos:latest" github.com/zokeber/docker-centos

Create and running a container

Create container:

docker create -it --name centos -h centos zokeber/centos

Start container:

docker start centos
Connection methods:
docker exec -it centos bash
Upgrading

Stop the currently running image:

docker stop centos

Update the docker image:

docker pull zokeber/centos:latest

Tag summary

Content type

Image

Digest

sha256:da596137f

Size

131 MB

Last updated

over 11 years ago

docker pull zokeber/centos