This repository contains a Dockerfile to build a Docker Image with CentOS 7 Base.
Install Docker.
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 container:
docker create -it --name centos -h centos zokeber/centos
Start container:
docker start centos
docker exec -it centos bash
Stop the currently running image:
docker stop centos
Update the docker image:
docker pull zokeber/centos:latest
Content type
Image
Digest
sha256:da596137f…
Size
131 MB
Last updated
over 11 years ago
docker pull zokeber/centos