Configure container to start at boot

docker update --restart=unless-stopped [ container_name ]

Same for podman.

podman update --restart=unless-stopped [ container_name ]

And of course, add –restart=unless-stopped to your run command or restart: unless-stopped to the compose file.

Check if what the policy is:

docker/podman inspect [ container_name ] | jq '.[].HostConfig.RestartPolicy.Name'

To disable start at boot:

docker update --restart=no [ container_name ]