hackoregon / devops-17

deployment tools for Hack Oregon projects
4 stars 3 forks source link

Build lightweight Vagrant box to host Docker (for developers on non-MacOS computers) #7

Open MikeTheCanuck opened 7 years ago

MikeTheCanuck commented 7 years ago

For developers using modern MacBooks, Docker works fairly well and has few challenges.

For developers on non-MacOS systems (some Linux we've tested, and all Windows systems) there are a number of challenges that make their lives hell. We'd like to reduce the pain for such users so they can be productive developing code, not troubleshooting Docker commands and processes.

In theory, users would simply run vagrant up to get a Linux shell/terminal from which they can run all their Docker commands. With shared folders and port forwarding, it should almost feel like running it natively.

Users would type their commands into the *nix shell that runs inside the VM, rather than from their host’s terminal/shell/prompt. Users would use shared folders to mount a single host folder that contains the containers & code & other files.

MikeTheCanuck commented 7 years ago

Initial OS target in the vagrant box is Alpine Linux.

sanjuroj commented 7 years ago

Would it be possible to add Docker support to the Vagrant Box that Ed built for data analysis?

MikeTheCanuck commented 7 years ago

Depends on what Ed has done to such a box - depends on the OS, and what's been added. Our intent is to start with a generic box that has as little included as possible except Docker. I'll have a look at Ed's "data analysis" Vagrant box. Where is that located @sanjuroj?

MikeTheCanuck commented 7 years ago

If we don't extend Ed's box, the intent would be to help situations like Ed's and others we encounter to migrate to the standardized setup.

sanjuroj commented 7 years ago

Sorry, should have linked to it in the first place.
https://github.com/hackoregon/hack-university-data-architecture/tree/master/toolchain/vagrant

JohnTasto commented 7 years ago

I can work on Ed's box after I work on this.