Public Repository

Last pushed: 2 years ago
Short Description
Centos 7
Full Description

Настроенный Centos 7

docker pull centos:latest
docker run -t -i --name 'centos7' -v /shared/archive:/shared/archive centos /bin/bash

groupadd -g 500 -r apache
useradd -g 500 -u 500 -r -s /sbin/nologin -M apache
groupadd -g 501 -r mysql
useradd -g 501 -u 501 -r -s /sbin/nologin -M mysql
groupadd -g 502 -r www
useradd -g 502 -u 502 -r -s /sbin/nologin -M www
groupadd -g 503 -r skydns
useradd -g 503 -u 503 -r -s /sbin/nologin -M skydns
groupadd -g 600 -r no
useradd -g 600 -u 600 -r -s /sbin/nologin -M no

cd /tmp
yum remove -y fakesystemd-1-17.el7.centos.noarch
yum install -y deltarpm
yum install -y systemd initscripts wget
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
yum install –y nano mc htop fuse fuse-ntfs-3g hostname net-tools unzip bind-utils screen sudo
yum update –y
yum check

Запуск Centos

docker run -t -i -d --name 'centos7' -v /shared/archive:/shared/archive vistoyn/centos7
Docker Pull Command
Owner
vistoyn

Comments (0)