Dockerfile & docker-compose.yml Snippets
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:ubuntu-lxc/lxd-stable
RUN apt-get update && apt-get install -y \
build-essential \
ca-certificates \
curl
Define your app’s environment with a Dockerfile so it can be reproduced anywhere.
####Build, Ship, Run. An open platform for distributed applications for developers and sysadmins.
Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment. Lastly, run docker-compose up and Compose will start and run your entire app. -https://docs.docker.com/compose