# Docker general workflow with vsc

**URL:** <https://forums.docker.com/t/docker-general-workflow-with-vsc/88706>\
**Category:** General\
**Created:** [February 10, 2020, 9:16am UTC](https://forums.docker.com/t/docker-general-workflow-with-vsc/88706 "2020-02-10T09:16:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hittive](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@hittive](https://forums.docker.com/u/hittive)\
**Post date:** [February 10, 2020, 9:16am UTC](https://forums.docker.com/t/docker-general-workflow-with-vsc/88706/1 "2020-02-10T09:16:02Z")

</div>

Hello!  
I am a new user of docker and I have some questions about Docker workflow.  
I know these two workflows:

1. 

I work with codebase on my host machine. And every time when I want to build code and run an application I type:

- docker build …
- docker run …  
I think that is not the most comfortable approach

1. 

The second workflow is working with visual studio code in running containers.  
The pros are:

- I see all dependencies in visual studio code (because I working inside a container)
- I need only restart container to recompile my changes  
But I see big cons:
- When I save the invalid file in the container I cannot start it. And I cannot change this invalid file because I need running container to change file.

Can anyone share knowledge about workflow with docker?
