Using Docker for Drupal Dev (Local)

So, to put it simply, I have a drupal site that’s live.

I want to work on it locally and use docker containers to manage that.

  • ERROR: Device or resource busy, when running dockerfile or creating container on RedHat 6.8
  • Forbid docker to use specific network
  • Docker container with Flask server stops responding after around 20 requests
  • Docker redsocks proxy behind HTTP proxy with no internet DNS
  • Docker - Could not load X509 key pair
  • How to organize microservices projects connection parameters
  • I want to use this Image:
    https://index.docker.io/u/bnchdrff/nginx-php5-drupal/

    And use this as my data container:
    https://index.docker.io/u/bnchdrff/mariadb/

    I have the database downloaded from the live site saved as an .sql file.

    I need to be able to use this pre-existing database.

    Best case scenario is to be able to run the images in terminal and open a browser, navigate to something like ‘localhost’ and have the Drupal site pop up there for me to work on.

    I am running Ubuntu 13.10 and have the latest version of Docker. Needless to say I have been working on trying to get this working for a while but don’t want to complicate things with my failed attempts. Any and all suggestions welcomed.

  • Mounted docker volumes corrupting files
  • docker network in bridge mode
  • docker compose with swarm and spring boot, cannot connect to database on different node
  • Connect Docker Container port to server's apache port (odoo Container)
  • Installing Java on docker in docker image
  • How do I set up my Dockerfile to use cpanm to install a specific version of a Perl module?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.