Docker 101: What is Docker and How do I use it?
tl;dr: Docker makes running databases and other utility really simple. You also save yourself from accidentally messing up your current environment!
There are many articles out there that talks about what Docker is on a system and abstract level, but not many elaborates the simpler point:
Docker, do I need it? Why would I use this?
If you have wondered about this before, and you are a developer, then this article is for you!
A little history: Developing SaaS products on a Mac in 2014
Prototyping and making web applications with a small team is an exciting thing. In 2014, one of the top contender was Ruby On Rails, which came with Sqlite3 as the build-in database.
If a new engineer joins the team, the on-boarding process would look something like this:
- Install git via xcode-select
- Install Rails (Mac came with Ruby)
- Clone the project
- Install dependencies
- Run database migration and seeding script
And your environment is now ready (assuming you do not have crazy dependencies like ImageMagick).