Last active
February 21, 2019 08:44
-
-
Save gponty/cb755ebb486edab6f7eeaa359be6225b to your computer and use it in GitHub Desktop.
Revisions
-
gponty revised this gist
Feb 21, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,2 @@ dbash() { docker exec -u 1000 -it $(docker ps -aqf "name=$1") bash; } dbashsudo() { docker exec -it $(docker ps -aqf "name=$1") bash; } -
gponty created this gist
Feb 20, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ docker exec -it php71 bash