Skip to content

feat: add --restart and --no-rm options#83

Open
cecilkootz wants to merge 1 commit intoscitrera:mainfrom
cecilkootz:docker-restart
Open

feat: add --restart and --no-rm options#83
cecilkootz wants to merge 1 commit intoscitrera:mainfrom
cecilkootz:docker-restart

Conversation

@cecilkootz
Copy link

I have a few clusters that are headless and wanted to keep the running containers after a reboot or OOM. Added Docker restart policy support (--restart) and the ability to keep containers after exit (--no-rm) to the run command. When a restart policy is set, --rm is automatically disabled since Docker does not allow both flags simultaneously.

Add Docker restart policy support (--restart) and the ability to keep
containers after exit (--no-rm) to the `run` command. When a restart
policy is set, --rm is automatically disabled since Docker does not
allow both flags simultaneously.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant