-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio reports 'invalid value for "since"' when starting container #419
Comments
I've also noticed this bug rarely but haven't been able to track it down. Do you have a way to reproduce this consistently or is it just intermittent? Also what version of VS and Docker are you using? |
I haven't figured out reproduction instructions, no, but I do notice the behaviour seems to persist for me. It's happening for me again (still?), though, with the same duration ( I've had a bit of a scan of the output of I do perform fairly regular updates of both VS and Docker, but here's the versions I have currently: Microsoft Visual Studio Community 2022 (64-bit) - Current Docker Desktop version: 4.26.1 (131620) |
any update on Visual Studio, experts? |
@HydTechie Do you have the exact same error mesage with |
@kitgrose sorry this issue slipped through the cracks. I have a suspicion on what is causing this, but I would like to confirm.
The first part of the error is from docker as --since requires a datetime and not just the time. I think the issue could be we are splitting/parsing the log line incorrectly and only storing the time and not the whole datetime. |
I recently opened Visual Studio and rebuilt a Docker Compose project without making any changes since it was last run.
Visual Studio's Containers window shows a banner saying "An error occurred during the stream operation":
When I click the View Details link, I get a dialog box saying:
The broken formatting (CRLF literals, lowercase starting letter on the error message, weird pluralisation and formatting of the header, etc.) are all exactly as per the dialog, which makes it feel like an error generated by a less trustworthy third party:
I've seen this dialog before and I'm fairly sure it went away once I restarted Docker, but surely
16:12:44
is a valid duration, and should be supported.The text was updated successfully, but these errors were encountered: