项目作者: dhoppeIT

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

开源协议:Apache License 2.0

下载


Ubuntu image including Systemd

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

Supported tags

Branch Ubuntu version Docker image tag
master 20.04 20.04
18.04 18.04 18.04
20.04 20.04 20.04

Usage

Start the container

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

Enter the container

  1. docker exec -it ubuntu-20.04 bash

Stop the container

  1. docker stop ubuntu-20.04