项目作者: dhoppeIT

项目描述 :
CentOS image including Systemd
高级语言: Dockerfile
项目地址: git://github.com/dhoppeIT/docker-centos-systemd.git
创建时间: 2020-12-12T18:22:29Z
项目社区:https://github.com/dhoppeIT/docker-centos-systemd

开源协议:Apache License 2.0

下载


CentOS image including Systemd

This Docker image can be used to test Ansible playbooks based on Molecule.

Supported tags

Branch CentOS version Docker image tag
master 8 8
7 7 7
8 8 8

Usage

Start the container

  1. docker run \
  2. --cap-add SYS_ADMIN \
  3. --detach \
  4. --name centos-8 \
  5. --rm \
  6. --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
  7. dhoppeit/docker-centos-systemd:8

Enter the container

  1. docker exec -it centos-8 bash

Stop the container

  1. docker stop centos-8