Barbarian Meets Coding

WebDev, UX & a Pinch of Fantasy

1 minute readdocker


What is Docker?


Docker Cheatsheet

# Build an image from a docker file
docker build --tag={name_of_image}

# Run image
docker run {name_of_image}

# Run image with support for terminal apps like vim
docker run -it {name_of_image}

Example Docker File to Setup Neovim on Ubuntu

FROM ubuntu:latest

RUN apt-get update
RUN apt-get install software-properties-common -y
RUN add-apt-repository ppa:neovim-ppa/stable
RUN apt-get update

# See versions available
# RUN apt-cache policy neovim

RUN apt-get install neovim -y



Jaime González García

Written by Jaime González García , Dad, Husband, Front-end software engineer, UX designer, amateur pixel artist, tinkerer and master of the arcane arts. You should follow him on Twitter where he shares useful stuff! (and is funny too).Jaime González García