Skip to content

Instantly share code, notes, and snippets.

@lyndametref
Last active July 28, 2016 07:44
Show Gist options
  • Save lyndametref/eb14bdb6bce097f20d19e578f10f603f to your computer and use it in GitHub Desktop.
Save lyndametref/eb14bdb6bce097f20d19e578f10f603f to your computer and use it in GitHub Desktop.

Revisions

  1. lyndametref revised this gist Jul 28, 2016. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions Docker.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,12 @@
    ### Start container dicsconnected from the shell

    docker-compose up -d

    ### Shell in running container

    docker exec -it 6e796a466e53 bash

    ### Stop and delete containers
    docker-compose stop
    docker-compose rm

    docker-compose stop
    docker-compose rm
  2. lyndametref created this gist Jul 28, 2016.
    9 changes: 9 additions & 0 deletions Docker.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    ### Start container dicsconnected from the shell
    docker-compose up -d

    ### Shell in running container
    docker exec -it 6e796a466e53 bash

    ### Stop and delete containers
    docker-compose stop
    docker-compose rm