I use VS2017 (15.7) with Win10 (1803) and Docker (18.03).
My solution contains a Docker-Project (dcproj) which defines how my docker container should start.
Whenever I open Visual Studio or change code it automatically starts preparing the container.
========== Preparing Containers ==========
Getting Docker containers ready...
<snip>
Step 1/4 : FROM microsoft/aspnet:4.7.1-windowsservercore-1709
<snip>
Successfully built cbde0ec28022
<snip>
Done! Docker containers are ready.
How can I stop that behavior? It eats up the performance of my laptop! When I want to start the container I would start, but building all the time is too much.
Is there a setting for this?
Issue Link: https://github.com/Microsoft/DockerTools/issues/100
Note that pressing `Ctrl+C` when the terminal is attached to a container output causes the container to shut down. Use `Ctrl+PQ` in order to detach the terminal from container output.
To exit out of the docker container bash shell. Just run exit or hit ctrl-D like you normally would.
Refer to the docker image tag reference for more information about valid image and tag names. Killing the docker image push process, for example by pressing CTRL-c while it is running in a terminal, terminates the push operation.
Deselect 'Start Docker when you log in' on the General tab. Close the Preferences window. Quit Docker (Cmd-Q or use the menu).
The solution is by disabling it under
Tools->Options menu and then Container Tools->Settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With