Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
duckWit56166yLike a virtual machine with isolated resources but not the full machine. Instead, you have compartmentalized containers that run images of software that run on any operating system with all its dependencies packaged in.
All that means you can start and stop docker containers as services (running a MySql database, mongo db, apache web server, custom API service or program in whatever language you want, etc) that each run the exact same no matter which operating system is being used.
It gets way more complex than that description. It's a beautiful thing. -
leksyib94516yThe short form of what @duckWit is saying is, with docker you can "package" your whole app's environment into a container so when someone else wants to run your code, it works in that container, in the same environment that you set it to work, so there'll be nothing like "it works on my machine but doesn't on yours".
-
If you start using docker, you will be even simpler developer (:
Then you can say:
"It works on m̶y̶ ̶m̶a̶c̶h̶i̶n̶e̶ docker" -
joykill3406y@TRex yes, but in a system where you can mix and match your virtual env so it only contains what you need it to contain, without any bloat...
-
Just apply the rule every person who has worked in the IT industry ask their client to apply:
RTFM!!!!
There are lots of youtube videos, blogs articles, etc... And for once the docker documentation is mostly clean and useful.
RTFM!!!! -
mahoraz576ybut the sad thing is that docker still requires as much memory as a virtual machine.....
-
thomasd3676yStarting with it can be a bit of a pain, but once you are used to the commands, config files, etc you'll wonder how you've done without it all these years.
Despite the annoyances at the beginning, I really recommend you invest time in it. -
Save yourself the setup headache and drop $10 (USD) a month on digital ocean’s “rancher” droplet to get started. Once you love Docker, bring it local. It can be a bear locally.
-
Docker is tackling an aspect of application deployment that has always been sucking under Linux. Imagine you have an application on Linux. Like all Linux applications, it pulls in 500,000 dependencies, and each of them does the same recursively because nobody has grasped the liabilities that dependencies create, and it's a big web of dependency spaghetti with shit breaking left and right. There are poor sods on every distro who waste their lives trying to deal with the fallout (maintainers), but only for applications they like, which doesn't include yours. And they don't test exactly your use case.
You could use a VM, but that costs much performance and memory, which sucks if the server shall run a lot of that stuff. Enter Docker which only scraps together userspace shit in a config that you have tested and that happens to work. You put that container to a server and don't have to care about breaking userland dependencies because your container is self-sufficient (within userland).
Related Rants
I'm a simple developer.. Now wtf is docker...
joke/meme
docker