Skip to content

Instantly share code, notes, and snippets.

@gponty
Last active February 21, 2019 08:44
Show Gist options
  • Save gponty/cb755ebb486edab6f7eeaa359be6225b to your computer and use it in GitHub Desktop.
Save gponty/cb755ebb486edab6f7eeaa359be6225b to your computer and use it in GitHub Desktop.

Revisions

  1. gponty revised this gist Feb 21, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    docker exec -it php71 bash
    dbash() { docker exec -u 1000 -it $(docker ps -aqf "name=$1") bash; }
    dbashsudo() { docker exec -it $(docker ps -aqf "name=$1") bash; }
  2. gponty created this gist Feb 20, 2019.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    docker exec -it php71 bash