Skip to content

Instantly share code, notes, and snippets.

@dciccale
Last active March 30, 2022 16:48
Show Gist options
  • Select an option

  • Save dciccale/31f77c856d6090c89d80 to your computer and use it in GitHub Desktop.

Select an option

Save dciccale/31f77c856d6090c89d80 to your computer and use it in GitHub Desktop.

Revisions

  1. dciccale revised this gist Jul 29, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions docker-enter
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    # usage docker-enter [CONTAINER_ID]
    dockerenter() {
    docker exec -it $1 bash
    }
  2. dciccale renamed this gist Aug 2, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. dciccale renamed this gist Aug 2, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. dciccale renamed this gist Aug 2, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. dciccale created this gist Aug 2, 2015.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    dockerenter() {
    docker exec -it $1 bash
    }
    alias docker-enter=dockerenter