runtime_vm: set container creation time
If not set it may result in silently ignored probes by the kubelet
Fixes:
@@ -249,6 +249,7 @@ func (r *runtimeVM) StartContainer(c *Container) error {
if err := r.start(r.ctx, c.ID(), ""); err != nil {
return err
}
+ c.state.Started = time.Now()
// Spawn a goroutine waiting for the container to terminate. Once it
// happens, the container status is retrieved to be updated.
