Open fcolecumberri opened 1 year ago
The pip-module installs "systemctl.py" and "systemctl3.py". In order to override "systemctl" command you would need to make the copy/symlink being an additional step in the dockerfile.
After all, you are correct - copy/download the one file and push it in place.
The Readme makes a great work explaining how it works, but I still find some troubles understanding how this should be used. I found this on pypi https://pypi.org/project/docker-systemctl-replacement/ so I would assume I could put inside a dockerfile:
However it doesn't work, I am almost sure it is not supposed to run that way since I could not find mention on pip in any place on the Readme.
I have also thought I could just:
However I am not sure if I should only do that of if I should also do something else. I am new to docker.