Open tmichett opened 7 months ago
With SystemD Entrypoint
C:\Users\tmich\Documents\Github\Ansible_Containers\UBI>docker run -it -p 2222:22 ansible /bin/bash
Failed to mount tmpfs at /run: Operation not permitted
[!!!!!!] Failed to mount API filesystems.
Exiting PID 1...
Without SystemD Entrypoint
C:\Users\tmich\Documents\Github\Ansible_Containers\UBI>docker run -p 2222:22 -d ansible
9ec5d0665e357a791c1171e63808ad9d60b07526e402869e5bfc9157caea71e6
[devops@9ec5d0665e35 ~]$ whoami
devops
[devops@9ec5d0665e35 ~]$ systemctl status sshd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Container doesn't work with the SystemD Entrypoint. Crashes immediately