Dockerfile
• Images are created through Dockerfiles
• Simple script that prepares the system to run the
app
Slide 16
Slide 16 text
Dockerfile
FROM eljojo/golang-docker
WORKDIR /app
RUN git clone https://github.com/eljojo/shouldidothat.git .
RUN go get -d
RUN go build -o shouldidothat
CMD ["/app/shouldidothat", "-c", "/etc/
shouldidothat/conf.json"]
Slide 17
Slide 17 text
Container
• Instance of Docker Image
• Has it’s own private IP
• You can map folders in host to folders in container
Slide 18
Slide 18 text
Demo
Slide 19
Slide 19 text
Registries
• Like Git but for Docker Images
• The Docker Index will host your public images for
free