Docker packs an entire virtual machine into a portable ‘container’ that can be run on any other machine, with a similar architecture, that’s also running a Docker server.
Docker gives us two very important advantages - it means that you can:
- run your site locally, exactly as it runs on Divio Cloud, on your own machine
- take your Divio Cloud site and run it almost anywhere, guaranteeing that you will not be locked into Divio Cloud
You need Docker in order to work on the Python code of your website projects locally, typically when you are developing new web applications in Django. You don’t need it for any other purpose, so if you’re not developing Django applications, you don’t need to worry about it.
Docker works in conjunction with the Divio CLI.