Skip to content

container detached mode not working #3

Description

@anudeepmk

Running the container in detached mode - (docker run -itd ...) , The container exits with the below messages

Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Microsoft.WindowsAzure.Storage.AzCopy.Interaction.WriteConsoleAtCursor(String message, Boolean finished)
at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.OutputNonVerboseTransferStatus(Nullable1 transferredBytes, Boolean finished) at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.ProgressUpdate(TransferStatus status) at Microsoft.WindowsAzure.Storage.DataMovement.TransferProgressTracker.InvokeProgressHandler() at Microsoft.WindowsAzure.Storage.DataMovement.TransferProgressTracker.AddProgress(TransferProgressTracker progressTracker) at Microsoft.WindowsAzure.Storage.DataMovement.TransferCollection1.AddTransfer(Transfer transfer, Boolean updateProgress)
at Microsoft.WindowsAzure.Storage.DataMovement.TransferManager.GetOrCreateDirectoryTransfer(TransferLocation sourceLocation, TransferLocation destLocation, TransferMethod transferMethod, TransferContext transferContext)
at Microsoft.WindowsAzure.Storage.DataMovement.TransferManager.CopyDirectoryInternalAsync(TransferLocation sourceLocation, TransferLocation destLocation, Boolean isServiceCopy, ITransferEnumerator sourceEnumerator, CopyDirectoryOptions options, DirectoryTransferContext context, CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.AzCopy.DirectoryTransferLauncher.TransferFromCloudBlobDirectory(CloudBlobDirectory sourceDirectory, ILocation destLocation, DirectoryTransferContext transferContext, CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.AzCopy.DirectoryTransferLauncher.ExecuteImplAsync(CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.AzCopy.TransferLauncherBase.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.AzCopy.BlobFileTransfer.DoTransfer()
at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.ExecuteTransfer()
at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.Execute(String[] args)
at Microsoft.WindowsAzure.Storage.AzCopy.AzCopy.Main(String[] args)
/usr/bin/azcopy: line 8: 9 Aborted $DIR/../lib/azcopy/azcopy "$@"

Is there any fix for this?
Cant this be run in detached mode?

Thanks
Anudeep

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions