分类目录归档:Docker

Docker Centos/Systemd


Docker Centos/Systemd

Linux

Centos With Systemd

Dockerfile

FROM centos:7
ENV container docker
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/sy

Read more

ORACE install by docker


ORACE install by docker

1. 安装阿里的docker源

cat /etc/docker/daemon.json
{
"registry-mirrors": ["https://pee6w651.mirror.aliyuncs.com"]
}

2. 重启docker服务

systemctl restart docker

3. 选者oracle版本

这里选择12c

sudo docker pull sath89/oracle-12c

4. 运行docker

sudo docker run -d --name oracle -p 

Read more

Docker Install


Docker Install -- Centos 7


1. 卸载旧版本的Docker

sudo yum remove docker \
              docker-client \
              docker-client-latest \
              docker-common \
              docker-latest \
              docker-latest-logrotate \
              docker-logrotate \
              docker-engine

Read more