Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefaniuk/vagrant-docker-php
https://github.com/stefaniuk/vagrant-docker-php
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/stefaniuk/vagrant-docker-php
- Owner: stefaniuk
- Created: 2015-09-14T20:46:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-19T22:36:08.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T07:49:27.246Z (7 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```