Skip to content

Instantly share code, notes, and snippets.

Steps to build an image and start a container from that image

# Build an image from a Dockerfile
> docker build -t <image_name> .

# List images
> docker images 
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<image_name>       latest             47da5935a6e9        11 minutes ago      910MB
@youngzhao-xyz
youngzhao-xyz / index.js
Last active August 18, 2017 23:51
requirebin sketch
const { normalize, schema } = require('normalizr');
const data = [
{
"id": "123",
"author": {
"id": "1",
"name": "Paul"
},
"title": "My awesome blog post",