Restoring Backup failed (migrating gitlab from server to docker container

After creating a container , while trying to restore backup it is aborted and gave me this massage:
Restoring repositories …

  • root/gitlab … rake aborted!
    storage not found: “external”
    /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:219:in token' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:178:inrequest_kwargs’
    /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client.rb:131:in call' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/namespace_service.rb:35:ingitaly_client_call’
    /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/gitaly_client/namespace_service.rb:17:in add' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/shell.rb:280:inadd_namespace’
    /opt/gitlab/embedded/service/gitlab-rails/app/models/storage/legacy_project.rb:27:in ensure_storage_path_exists' /opt/gitlab/embedded/service/gitlab-rails/app/models/project.rb:58:inensure_storage_path_exists’
    /opt/gitlab/embedded/service/gitlab-rails/lib/backup/repository.rb:81:in block in restore' /opt/gitlab/embedded/service/gitlab-rails/lib/backup/repository.rb:78:inrestore’
    /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:87:in block (4 levels) in <top (required)>' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/backup.rake:60:inblock (3 levels) in <top (required)>’
    /opt/gitlab/embedded/bin/bundle:23:in load' /opt/gitlab/embedded/bin/bundle:23:in
    Tasks: TOP => gitlab:backup:repo:restore
    (See full trace by running task with --trace)