Restarting Policies

When starting pods, different restart policies can be set for them:

  • no - default option;

  • on-failure;

  • always;

  • unless-stopped;

More information can be found on this link.

An example of how to start a new pod using a restart policy would be:

docker run -dp 80:80 --restart always --env-file yourEnvFile ourPublicRepo/betterforms:V0.10.84-bfe

Last updated