Docker
What is Docker?
// TODO
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
ENTRYPOINT ["nvim"]
References
- Docker website
- Docker hub where you can find docker images with diverse setups
- Docker installation for OSX
- Docker getting started
Written by Jaime González García , dad, husband, software engineer, ux designer, amateur pixel artist, tinkerer and master of the arcane arts. You can also find him on Twitter jabbering about random stuff.