dto-btn / todo

Catch-all for issues that aren't related to a specific project.
0 stars 0 forks source link

Dockerfile with systemd running as PID 1 #16

Closed patheard closed 5 years ago

patheard commented 5 years ago

This will allow and Ansible playbook test docker stack to run services that rely on systemctl.

Another possibility would be:

  1. Removing ssh and switching to ansible_connection: docker; and
  2. Starting container with CMD: ["/sbin/init"].

This would mean that the Ansible playbooks could only be tested from a Linux host.

Related to #8

patheard commented 5 years ago

Fixed with https://github.com/gdraheim/docker-systemctl-replacement.