# docker-centos **Repository Path**: xiaoyang16/docker-centos ## Basic Information - **Project Name**: docker-centos - **Description**: docker image of centos - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-03-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Build pkg docker run -i -t -v $HOME/docker-images/centos/:/build andals/centos:7.2.1511 /bin/bash /build/script/build_pkg.sh # Build image docker build -t andals/centos:7.2.1511 ./ # Run data volumn home docker run -d -v /home:/home --name data-home andals/centos:7.2.1511 echo Data Volumn Home # Run container docker run -i -t -e "RUN_UID=`id -u`" -e "RUN_USER=$USER" --name=centos-7.2.1511 --volumes-from=data-home --net=host andals/centos:7.2.1511