cloud/docker: clean deps
cloud/docker: making pull() synchrone + fixing container restart