Last active
May 18, 2018 07:10
-
-
Save SurajAdsul/e29def15e02eb57f9dbd1b48a51a1486 to your computer and use it in GitHub Desktop.
Docker commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm \ | |
-v $(pwd)/app:/opt \ | |
-w /opt \ | |
--network=surajadsulapplication_example \ | |
shippingdocker/php \ | |
php artisan migrate | |
docker exec -it image_name bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment