Giter Site home page Giter Site logo

Docker build about packer-centos-7 HOT 6 CLOSED

geerlingguy avatar geerlingguy commented on May 31, 2024
Docker build

from packer-centos-7.

Comments (6)

geerlingguy avatar geerlingguy commented on May 31, 2024

The only issue for me is that the overwhelming majority of Drupal VM users (and heck, most other dev environment projects I've worked with) are running in a Mac OS X or Windows environment—neither of which natively support Docker.

So even if I did go the Docker route, it would have to be either wrapped in something like Boot2Docker or a VM in general, meaning I'd just be digging the local environment abstraction one level deeper.

I'm not opposed to moving some portions of Drupal VM inside containers inside the VM if it adds flexibility, speed, or agility—for example, moving a service like Varnish, or Memcached, or Solr into a container could make for cleaner configuration separation.

However, I'm leery of doing things like wrapping PHP+nginx, PHP+apache, or PHP-FPM and some other cruft in one giant Docker-container-like-VM, and I have never been that happy with MySQL inside a Docker container, especially if it's not for any performance or portability reason.

I have other reservations about going down the Docker route too much further for a project as flexible/sprawling as Drupal VM, and I also know there are already dozens if not hundreds of excellent base images in Docker Hub for PHP, Drupal, Apache, Nginx, MySQL, etc.

Most of the developers who dive headfirst into Docker are willing to put the effort into composing their own project-specific environments, and I don't know if trying to replicate the Drupal VM 'system in a box' approach using Docker would appeal to those developers.

Basically what I'm saying is, if Docker makes Drupal VM maintenance and architecture easier, then I'm going to use it. So far that hasn't been the case in my dabbling, but I'm always willing to change :)

from packer-centos-7.

bhundven avatar bhundven commented on May 31, 2024

I know this was a while ago, but:

https://docs.docker.com/engine/installation/mac/

https://docs.docker.com/engine/installation/windows/

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

@bhundven - Once the official Mac/Windows clients are out of beta, I'm thinking of going back and re-evaluating the situation. The current tooling (using docker-machine) is incredibly painful if you're not on a Linux machine that natively supports Docker.

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

Docker is still in beta, but now the beta is open for anyone on Mac/Windows. It would be interesting to take a look at this sometime.

from packer-centos-7.

geerlingguy avatar geerlingguy commented on May 31, 2024

Just wanted to post that in the intervening months, Docker has been released, and I do now maintain a number of Ansible-based-base images on Docker Hub: https://hub.docker.com/u/geerlingguy/

from packer-centos-7.

bhundven avatar bhundven commented on May 31, 2024

+1

I've been using the docker toolbox on Mac OS X/macOS with minikube for a month, and it seems to work pretty well!

from packer-centos-7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.