Skip to content

Instantly share code, notes, and snippets.

@luanpcweb
Last active December 18, 2017 18:47
Show Gist options
  • Save luanpcweb/d5512dcb922627cd46c91887665cc950 to your computer and use it in GitHub Desktop.
Save luanpcweb/d5512dcb922627cd46c91887665cc950 to your computer and use it in GitHub Desktop.
Comandos Docker do Dia dia

Comandos dia a dia Docker

Executa o container com o composer e instala dependencia

$ docker run --rm -v $(pwd):/app composer/composer install

Executa PHPUnit

docker run --rm -v $(pwd):/app phpunit/phpunit -c phpunit.xml

Start DOCKER MACHINE - OS X

eval "$(docker-machine env default)" docker-machine start default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment