18
Software Installation With / Without Docker SeongJae Park <[email protected]>

Sw install with_without_docker

Embed Size (px)

Citation preview

Page 1: Sw install with_without_docker

Software InstallationWith / Without Docker

SeongJae Park <[email protected]>

Page 2: Sw install with_without_docker

Nice To Meet You!

SeongJae Park

Docker newbie

Using Docker *personally*

Gonna talk about my experience with Docker

Page 3: Sw install with_without_docker

Installation Without Docker

“Installed, but doesn’t works!”

Page 4: Sw install with_without_docker

Installation Without Docker

“Installed, but doesn’t works!”“Install this one and that one additionally”

http://memegenerator.net/instance/59157929http://memegenerator.net/instance/59157929

Page 5: Sw install with_without_docker

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

Page 6: Sw install with_without_docker

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

Page 7: Sw install with_without_docker

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

Page 8: Sw install with_without_docker

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

Page 9: Sw install with_without_docker

Installation Using Docker

1. Install Docker

Page 10: Sw install with_without_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

Page 11: Sw install with_without_docker

Installation Using Docker

1. Install Docker2. Get Docker image or Dockerfile for the app3. `docker run`

Page 12: Sw install with_without_docker

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

Page 13: Sw install with_without_docker

Installing New One Without Docker

Could be success as those old ones

Page 14: Sw install with_without_docker

Installing New One Without Docker

Could be success as those old onesOr, conflict with an old one

Could be PATH, Library, Version, etc…

Page 15: Sw install with_without_docker

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

Page 16: Sw install with_without_docker

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

Page 17: Sw install with_without_docker

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

Page 18: Sw install with_without_docker

Summary

Docker rules!