Skip to content

Instantly share code, notes, and snippets.

View Franktian's full-sized avatar

Yawen Tian Franktian

View GitHub Profile
set nocompatible
syntax enable
syntax on
set nu
set autoindent
set tabstop=2
set softtabstop=2
set expandtab
set mouse=a
@Franktian
Franktian / helpful-docker-commands.sh
Created November 30, 2017 15:42 — forked from garystafford/helpful-docker-commands.sh
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# helps with error: 'unexpected end of JSON input'