docker-extras icon indicating copy to clipboard operation
docker-extras copied to clipboard

Helper scripts for everyday docker use.

Table of Contents

  • Introduction
  • Install
  • Commands
  • Uninstall

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