Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 654 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 654 Bytes

Table of Contents

Introduction

Helper scripts for everyday docker use.

Install

git clone https://github.com/sameersbn/docker-extras.git
cd docker-extras
sudo make install

Commands

  • docker-purge : removes stopped containers and/or unnamed images
  • docker-ip : get ip address of a running container
  • docker-last : get id of the most recent container
  • docker-ip-last: get ip address of the most recent container
  • docker-stop-last: stop the most recent container

Uninstall

sudo make uninstall