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?

  • what triggers Elastic Beanstalk to pull in an updated Docker image
  • Dokku Port configuration problems EC2
  • Setting .htcaccess in an external volume for Docker not working
  • docker + rails + redis - rescue workers are not running
  • Nginx, PHP-FPM, MySQL and Symfony using Docker : Nginx 502 Bad Gateway and Symfony No route found exception
  • Container ifconfig & nslookup IPs don't match
  • 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.

  • How to show the run command of a docker container
  • Should I install Docker on Server Having Cpanel already on it?
  • Cron job doesn't work until I re-save cron file in docker container
  • Spring Boot app with eureka server and docker
  • Which DSpace Docker container is officially endorsed by the DSpace community?
  • Docker for Mac: Using Persistent Storage
  • 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.