diff --git a/lxd/containers_post.go b/lxd/containers_post.go
index <HASH>..<HASH> 100644
--- a/lxd/containers_post.go
+++ b/lxd/containers_post.go
@@ -438,7 +438,7 @@ func createFromMigration(d *Daemon, project string, req *api.InstancesPost) resp
 		}()
 
 		// And finally run the migration.
-		err = sink.Do(op)
+		err = sink.Do(d.State(), op)
 		if err != nil {
 			return fmt.Errorf("Error transferring container data: %s", err)
 		}
lxd/containers/post: Pass state to migration Do function