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?

  • Get YAML for deployed Kubernetes services?
  • Docker Compose not updating content
  • Container cannot be started from
  • AWS ECS - how to log to cloudwatch from ECS container?
  • Running the official consul docker image
  • Connection refused in Docker containers communicating through exposed ports
  • 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.

  • Containers running on Multi Host (two VMs on seperate ESX) networking with overlay network driver
  • Manage Kubernetes cluster from UI
  • Docker - unable to mount start mongodb in container - operation not permitted
  • Port unreachable after deploying NGINX image to IBM Bluemix Container Cloud
  • When using mesos, marathon, and zookeeper my mesos-slave doesnt start when I specify the “containerizers” file with “docker,mesos”?
  • Error running gitlab-ci.yml script under Alpine Docker based Image
  • 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.