Why You Should Start Using Docker
-
Upload
alexandru-bolboaca -
Category
Software
-
view
758 -
download
0
Transcript of Why You Should Start Using Docker
About Me
● Polyglot programmer● Trainer● Coach● Not a Docker expert; a fan● Not affiliated with docker
Why DevOps? Agile!Reduce time to market & Adapt fast to change
Scrum for dev teams
Bugs & Code difficult to changeChangeable DesignAutomated testingCIEtc.
Operations ProblemsFast feedback on infrastructure+ many others
Annoying Problems
“It works on my computer”
Black Tuesdays
“Cannot reproduce”
I have errors nobody else has
Work with Containers● Each component of your application runs in a
container● Dependencies are included in each container● Containers are shared by all developers,
sysadmins, operations etc. through SCC (eg. git)● Containers are deployed as such
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