Injustice - Developers Among Us (SciFiDevCon 2024)
Monolithic docker pattern
1. A simple Docker pattern, for a Monolithic app/server dev-ops
Host(s) : Development Host : Staging Host : Production
Host : Blob Store
Canonical
Image
version
x.y.z
Exact
Immutable
Copy
Exact
Immutable
Copy
Exact
Immutable
Copy
OPERATION 1
Update all the images.
2. A simple Docker pattern, for a Monolithic app/server dev-ops
Host(s) : Development
Canonical
Image
version
x.y.z
OPERATION 2
Do all the development.
Container
Container
Container
Host : Staging
Canonical
Image
version
x.y.z
Build
Image
version
a.b.c
OPERATION 3
SAVE/LOAD a Build Image.
[Without a private registry, you have to
copy redundant layers across hosts, in
a tarball, but when you LOAD, docker
should discard the locally redundant
layers.]
3
OPERATION 4
Testing(s).
Container
4
3. A simple Docker pattern, for a Monolithic app/server dev-ops
Host : Staging
Canonical
Image
version
x.y.z
Build
Image
version
a.b.c
Host : Production
Canonical
Image
version
x.y.z
Build
Image
version
a.b.c
Container
OPERATION 5
copy/LOAD a Build Image.
[Without a private registry, you have to
copy redundant layers across hosts, in
a tarball, but when you LOAD, docker
should discard the locally redundant
layers.]
5
6
OPERATION 6
Launch.