• 1 Post
  • 1.75K Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


















  • At its simplest:

    docker run -d --name servicename --restart unless-stopped container

    That’ll get you going. Youi’ll have containers running, they restart, etc. There are more sophisticated ways of doing things (create a systemd file that starts/stops the container, use kubernetes, etc.) but if you’re just starting this will likely work fine.