|
|
|
|
|
by turtlebits
3162 days ago
|
|
For docker w/ docker-compose, I can get a postgres container in <2 seconds with this definition version: "2"
services:
database:
image: postgres
environment:
- POSTGRES_PASSWORD=123456
ports:
- "5432:5432"
docker-compose up -d 0.59s user 0.14s system 50% cpu 1.462 totalAnd restarting it takes < 1 second. |
|
You're relying on an existing image. That concept works in Vagrant too.
And if you want quick startup and are already on a Linux host, use vagrant-lxc.