Skip to content

Docker Cheatsheet

Cheng-Yu Hsu edited this page Nov 11, 2016 · 1 revision

Installing

Install Docker.app would be much easier!

$ brew cask install docker

Attach to Shell

Grabbed from https://gist.github.com/mitchwongho/11266726, thanks to @mitchwongho!

$ docker run -it <image> /bin/bash
# example:
#    docker run -it ubuntu /bin/bash

Clone this wiki locally