Skip to content

Instantly share code, notes, and snippets.

View silveraid's full-sized avatar
🤠

Frank Felhoffer silveraid

🤠
View GitHub Profile
@silveraid
silveraid / .bashrc
Created September 1, 2017 16:48 — forked from miracle2k/.bashrc
Convert an existing docker container into a "docker run" command line
# Convert an existing docker container into a "docker run" command line.
#
# This is useful when trying to debug containers that have been created
# by orchestration tools.
#
# Install jq: stedolan.github.io/jq/
function format_run() {
cid=$1