Docker Fast Mode not working in Rider 2023.1
Hello there,
I was testing Docker Fast Mode last week on a large microservice project with the new Rider 2023.1 update. Everything worked perfectly that day. After getting back the next day and getting back to work on the project Fast Mode seemed to stop working entirely. I am now getting behavior that's similar to enabling the option "Don't use Docker Fast Mode" even though this option is not enabled.
I have tried to get it working on multiple machines, fresh installs, other workstations etc. and nothing has worked.
Where can I start looking to solve this issue? As Fast Mode drastically improves our workflow.
Please sign in to leave a comment.
I see that in the previous version 2022.3.3 there is a docker build option called "Don't use publish in Docker fast debug", which enabled the desired functionality for me.
This options is not available in the new version 2023.1.
It would be great if this could be brought back.
[EDIT]
I take it back. It still spends ~30 sec doing something whenever a sourcefile has been changed.
I'm also pretty sure that what's written in https://www.jetbrains.com/help/rider/Docker_fast_mode.html is not true. It definitly uses the build stage of a Dockerfile.
Same issue here. Also debugging doesn't work.
Hello M T H Besters, Immerkjaer and Constantin Alupoaie,
Thank you for reaching Rider Forum.
Since it seems as abnormal behavior, could you please do the following:
- Navigate to Help | Diagnostic tools | Choose Trace Scenarios and enable Trace scenario for Docker and Debugger;
- Reproduce the issue, collect the full log bundle via Help | Collect logs;
- Disable Trace scenarios;
- Attach the resulting log bundle to either https://upolads.jetbrains.com or create a new issue on our YouTrack and attach logs there. Thank you in advance!
As for the Constantin Alupoaie's question:
In the version 2023.1 the Fast Mode has been added not only to Debug, but to all Docker options and thus, option Don't use publish in Docker fast debug is not required, since it is turned off with the plain Don't use Docker fast mode as well. You may find the information about the update on our What's New page.
Looking forward to hearing from you soon.