Docker with systemd and systemctl

I want to make a docker container that can run systemctl and systemd commands. I am new to docker and never have I ever learnt about docker. I have a docker file but dont know where should i place what.

Here is my docker file Link to pastebin , if someone can help me understand what command and where should i place it in this dockerfile so that i can just deploy this from github into my vps and have systemctl and systemd .

I saw this thread and seriously don't know where should i put what.

4 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like