# docker-centos **Repository Path**: andals/docker-centos ## Basic Information - **Project Name**: docker-centos - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2016-03-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Init ``` git clone git@gitee.com:andals/docker-centos.git centos cd centos prjHome=`pwd` centosVer=7 ``` # Build pkg ``` docker run -i -t -v $prjHome/:/build --name=build-centos-${centosVer} andals/centos:${centosVer} /bin/bash /build/script/build_pkg.sh ``` # Build image ``` docker build -t andals/centos:${centosVer} ./ ``` # Run data volumn home ``` docker run -d -v /home:/home -v /myspace:/myspace --name data-home andals/centos:${centosVer} echo Data Volumn Home ```