Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stefaniuk/vagrant-docker-php


https://github.com/stefaniuk/vagrant-docker-php

Last synced: about 7 hours ago
JSON representation

Awesome Lists containing this project

README

        

vagrant-docker-php
==================

Using Vagrant
-------------

Workflow

```bash
vagrant up
vagrant ssh
cd /vagrant; docker-compose logs
docker exec -it [container] /bin/bash --login
vagrant suspend
```

There are three ways to ask Vagrant to rebuild the VM.

```bash
# Run the provisioner without stopping the VM
vagrant provision
# Restart VM and re-provision
vagrant reload
# Create new VM
vagrant destroy --force && vagrant up
```

Using Docker
------------

```bash
docker-compose up
docker-compose stop
docker-compose rm
```