On Windows10 host creating the container based on centos:latest image:
# NB! the backticks is just PowerShell syntax to split long commands
docker run --name='my_container' `
--detach `
--tty `
centos `
/usr/sbin/init
Then opening the container shell:
docker exec -it `
my_container `
/bin/bash
and running systemd:
# systemd
bash: systemd: command not found
Based on https://hub.docker.com/_/centos and other Google-ing results then the issue is that I should mount the host cgroup/systemd? Or am I misunderstanding something?
So this is not doable on Windows10 host?