Docker container for development

I have question about docker and using it in development on windows.

I have boot2docker installed and I am able to install a container and access it with ip provided by “boot2docker ip” command. But how should i set up my project on Widnows to edit code of my app in container. for example. I have a container with lighttp and some HTML5 and JS app inside. How can I enable my host machine (Windows) to access this code?

  • Is it possible to show the `WORKDIR` when building a docker image?
  • SSL certificate verification fails inside docker container on specific server
  • Docker communication between apps in separate containers
  • Error when doing a docker ps
  • Is it safe to extract the root filesystem of a image and use it in a chroot?
  • Docker Login for AWS ECR failing with “Cannot connect to the Docker deamon…”
  • I know i could just make git repository on my local machine and commit code to remote repo on container, but it is not very practical.

  • Docker does not have default machine in Windows 10
  • Can't remove record from aerospike
  • Setting arguments in docker-compose file
  • How to build Docker images quciker
  • Docker and Julia - how to get .jl files to run inside a container
  • Docker image from existing Rails/Unicorn/MySQL app
  • One Solution collect form web for “Docker container for development”

    If i understand correctly, you’re developing inside a docker container and you are trying to get your source from your container?

    I guess the easiest way would be to put your source inside a shared volume with the boot2docker and then use scp protocol to get those file back.

    On another hand if you’re wanting to share a folder between the boot2docker vm and your windows host i suggest you read this tutorial :

    Hope it was helpful.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.