Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker Image for CentOS 7 with steroids
Full Description

CentOS 7 Dockerfile

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

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
Docker Pull Command
Owner
zokeber
Source Repository

Comments (0)