Docker – Local Development on container

Getting started with Docker and I wanted to know the following:

I want to develop a Laravel application, all of the files are located on my local machine. However, I cannot seem to figure out how I am able to synchronise the files on my local machine to the server itself?

  • Install docker-machine on OSX WITHOUT Docker Toolbox
  • Current Base Device UUID: does not match with stored UUID:
  • docker-compose: connection refused between containers, but service accessible from host
  • Docker isn't caching my RUN commands correctly
  • Create a network for two machines in docker that is not reachable from the host system
  • Deploy a .war into a Docker image by fabric8io docker-maven-plugin
  • This was available using vagrant so I’m just wondering is there an effective and easy solution to this problem?

  • Error: 403 Forbidden while pushing/pulling images to/from docker
  • How to access JIRA Software files in a docker image?
  • Redis sentinel Docker setup
  • install/access executable for existing docker container
  • How to get forever to print child process output to stdout.
  • Tomcat freezes in Docker container when starting
  • One Solution collect form web for “Docker – Local Development on container”

    Have a look at:
    Probably you have to do something like:

    $ docker run -d --name mycontainer -v /home/user/Sites/mysite:/var/www/mysite my/image

    This way you mount the host folder to you container folder. This means that the folder on your host will be visible from your container. These two folders are the same folder physically!

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