mhutter / ansible-docker-systemd-service

Ansible role for creating Systemd services for docker containers
https://galaxy.ansible.com/mhutter/docker-systemd-service
MIT License
48 stars 30 forks source link

Add support for `--hostname` #59

Closed andygrunwald closed 1 year ago

andygrunwald commented 1 year ago

See https://docs.docker.com/engine/reference/commandline/run/

Adds support for

--hostname-h: Container host name

Checklist

mhutter commented 1 year ago

Thanks!

At one point we might just add a container_args map :nerd_face:

andygrunwald commented 1 year ago

Thanks!

I created https://github.com/mhutter/ansible-docker-systemd-service/issues/60 based on your idea.