in Software Development ◦ Complete life cycle (SDLC) ◦ Daily (development) activities ◦ Java, Backend, Web, ... Current State ◦ Review ◦ Reached Goals ◦ Hotspots, Alternatives (topics for today)
from container? Mac OS X: sudo route -n add 172.??.0.0/16 192.168.99.100 How to test? ip addr show en0 # get notebook ip docker exec -it tst_mysql_1 bash ping <notebook-ip>
every where ◦ Docker Toolbox / Docker for Mac / Windows ▪ only one “host/vm” …??? ◦ Docker Machine ▪ ready to use, remote providers ▪ no control about host config ◦ Vagrant (+ CM like Ansible) ▪ not so simple but highly customizable ▪ more expensive work
◦ Boot2Docker for local dev ◦ ??? on Digital Ocean ◦ ??? on AWS ◦ CoreOS on ??? ◦ control which software runs on which “place” ◦ Packer + Vagrant + Ansible
their file systems ▪ Virtualbox ▪ Parallels ▪ Xhyve (Mac), Hyper-V (Win) ◦ NFS ??? ◦ ??? ◦ sync files and their changes between host and vm ◦ permission differences between host and vm (Win?)
◦ Fqn contains registry url - but this is a “storage place”, nothing more ◦ “latest” ??? !!! ◦ no real common style (compared i.e. with Artifact naming defined by Maven)
“container” and “persistent data” ◦ some applications has special needs ... ◦ some applications provide own “solution” ▪ sometimes good ones like using S3, but sometimes not ...
or similar config ... ▪ consider > 1 stages ◦ Config files in Host folder ▪ may be prepared and distributed via Config Managament like Ansible ◦ Config Server ▪ Spring Cloud / Config
variables like in my example? ▪ not a good idea ... ◦ Volumes based on Host Folders ? ▪ a little bit better, but not so flexible ◦ Secret Stores ▪ Keywhiz ▪ Hashicorp Vault ◦ Mutual Authentication necessary …???