Embed presentation
Downloaded 18 times









![Workflow
● Build the container
– Write the dockerfile
– Build it with docker. E.g. docker build -t [name]
● Commit the dockerfile OR the resulting image
● Run the container locally
– Mount any folder needed (e.g. the source files during dev, the
compiled app for production)
● Deploy the container
– Docker needs to be installed on server](https://image.slidesharecdn.com/why-you-should-start-using-docker-150211151104-conversion-gate02/75/Why-You-Should-Start-Using-Docker-10-2048.jpg)





This document discusses why developers should use Docker containers. It notes that Docker can help solve problems with reproducibility across environments by packaging applications and dependencies into self-contained units. An example is provided of a Dockerfile for a Java Spark application that defines what is needed to build and run the application in a container. The document encourages asking questions and experimenting with Docker to take advantage of its benefits like ease of use, large community support, and speed.









![Workflow
● Build the container
– Write the dockerfile
– Build it with docker. E.g. docker build -t [name]
● Commit the dockerfile OR the resulting image
● Run the container locally
– Mount any folder needed (e.g. the source files during dev, the
compiled app for production)
● Deploy the container
– Docker needs to be installed on server](https://image.slidesharecdn.com/why-you-should-start-using-docker-150211151104-conversion-gate02/75/Why-You-Should-Start-Using-Docker-10-2048.jpg)



