3 ms·
Can't you do the same thing with docker, docker compose?
by mateuszf 9y ago
Can't you do the same thing with docker, docker compose?
- moondev 9y agoNo, because containers are processes not vms.
- derimagia 9y agoYou can get close but as someone else said, they are mean't to be processes. You can get more control with Vagrant for a lot of things and have actual VMs.
- bboreham 9y agoThe equivalent tool is docker-machine, not docker compose. Though they de-emphasised that tool in favour of Docker for Mac and Docker for Windows which interact directly with the platform hypervisor to create a Linux VM.
- giobox 9y agoIf you've recently migrated your stack to a fully docker containerised setup, docker-compose can be a great replacement for an old vagrant provisioning setup, as the startup time will usually be a fraction of that needed by running vagrant up. It won't make sense for every project, but it's definitely a viable option for some.