Skip to content

Instantly share code, notes, and snippets.

@wirwolf
Last active May 29, 2018 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wirwolf/d6c7d785911b7cb01421e8031d1212f5 to your computer and use it in GitHub Desktop.
Save wirwolf/d6c7d785911b7cb01421e8031d1212f5 to your computer and use it in GitHub Desktop.
docker-compose up -d
docker-compose run --rm app bin/wait # ждет пока поднимется все
docker-compose run --rm app bin/console doctr:mig:mig -n
docker-compose run --rm app bin/phpunit --testsuite integration
docker kill $(docker ps -q)
docker rm $(docker ps -a -q) -f
docker rmi $(docker images -q) -f
docker system prune --volumes
docker system prune -a
docker volume prune
docker network prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment