Upload
seongjae-park
View
318
Download
0
Embed Size (px)
Citation preview
Software InstallationWith / Without Docker
SeongJae Park <[email protected]>
Nice To Meet You!
SeongJae Park
Docker newbie
Using Docker *personally*
Gonna talk about my experience with Docker
Installation Without Docker
“Installed, but doesn’t works!”
Installation Without Docker
“Installed, but doesn’t works!”“Install this one and that one additionally”
http://memegenerator.net/instance/59157929http://memegenerator.net/instance/59157929
Installation Without Docker
“Installed, but doesn’t works!”“Install this one and that one additionally”“Modify the source and build it again”
http://memegenerator.net/instance/59157929http://memegenerator.net/instance/59157929
Installation Without Docker
“Installed, but doesn’t works!”“Install this one and that one additionally”“Modify the source and build it again”“Path configuration was wrong”
http://memegenerator.net/instance/59157929http://memegenerator.net/instance/59157929
Installation Without Docker
“Installed, but doesn’t works!”“Install this one and that one additionally”“Modify the source and build it again”“Path configuration was wrong”“Install another version of that”“Format and install OS again”
http://memegenerator.net/instance/59157929
Installation Without Docker“Installed, but doesn’t works!”“Install this one and that one additionally”“Modify the source and build it again”“Path configuration was wrong”“Install another version of that”“Format and install OS again”
It’s miserable experience.Finally works, but doesn’t know why...
http://memegenerator.net/instance/59157456
Installation Using Docker
1. Install Docker
Installation Using Docker
1. Install Docker2. Get Docker image or Dockerfile for the app
https://registry.hub.docker.com/u/sameersbn/gitlab/ https://github.com/sameersbn/docker-gitlab/blob/master/Dockerfile
Installation Using Docker
1. Install Docker2. Get Docker image or Dockerfile for the app3. `docker run`
Installation Using Docker
1. Install Docker2. Get Docker image or Dockerfile for the app3. `docker run`
● Simple, never fail.○ Docker container contains libraries,
packages, env variables, etc...● (Sometimes fail, though) Host OS
Docker Engine
Bins/Libs
App
Installing New One Without Docker
Could be success as those old ones
Installing New One Without Docker
Could be success as those old onesOr, conflict with an old one
Could be PATH, Library, Version, etc…
Installing New One Without Docker
Could be success as those old onesOr, conflict with an old one
Could be PATH, Library, Version, etc…
But, we usually doesn’t know what we did during installation of old ones
Installing New One Without Docker
Could be success as those old onesOr, conflict with an old one
Could be PATH, Library, Version, etc…
But, we usually doesn’t know what we did during installation of old ones...UNACCEPTABLE!!!
http://memegenerator.net/instance/59157648
Installing New One Using Docker
Generate new docker container
It never conflicts with because containers are isolated with others
Host OS
Docker Engine
Bins/Libs Bins/Libs
App 1 App 2
Summary
Docker rules!