i tried to dockerize my app but i had to paas
TRANSCRIPT
![Page 1: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/1.jpg)
I tried to Dockerize my app but I had to PaaS
“The incredible case of the man who knew nothing”
Jorge Morales, @UnPOUcoDe, github.com/jorgemoralespou
![Page 2: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/2.jpg)
Based on a True Story
![Page 3: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/3.jpg)
DISCLAIMER!!!
Everything you’re going to hear from now on is based on my experience as:
“The incredible case of the man who knew nothing”
While I did things my way, there might be easier ways but Google didn’t showed them to me.
![Page 4: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/4.jpg)
![Page 5: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/5.jpg)
http://mugs.mugbug.co.uk/
![Page 6: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/6.jpg)
![Page 7: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/7.jpg)
https://tstoaddicts.files.wordpress.com
![Page 8: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/8.jpg)
https://blog.travis-ci.com
![Page 9: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/9.jpg)
![Page 10: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/10.jpg)
![Page 11: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/11.jpg)
![Page 12: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/12.jpg)
docker run -it jboss/wildfly
![Page 13: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/13.jpg)
![Page 14: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/14.jpg)
Where’s my app?
![Page 15: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/15.jpg)
![Page 16: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/16.jpg)
● Build my app locally● Create a docker image that extends
jboss/wildfly and includes my app● Start my new image (exporting ports)
![Page 17: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/17.jpg)
Where’s my data?
![Page 18: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/18.jpg)
![Page 19: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/19.jpg)
1. Select an image2. Learn how to use it3. Try it4. See if it works for you, or got back to 1
![Page 20: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/20.jpg)
myapp-on-wildfly mydbschema-on-postgres
![Page 21: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/21.jpg)
myapp-on-wildfly mydbschema-on-postgres
?
![Page 22: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/22.jpg)
● Environment variables● Docker links
Read more!!!
![Page 23: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/23.jpg)
Finish for the day!!!
Stop
Goto sleep
![Page 24: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/24.jpg)
Start of a new day!!!
Start
Where the f*** is my data???
![Page 25: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/25.jpg)
● Docker volumes
Read more!!!
![Page 26: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/26.jpg)
Finally working!!!
![Page 27: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/27.jpg)
myapp-on-wildfly mydbschema-on-postgres
![Page 28: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/28.jpg)
myapp-on-wildfly mydbschema-on-postgres?
https://www.insight.com
![Page 29: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/29.jpg)
https://learnenglishbehappy.files.wordpress.com
![Page 30: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/30.jpg)
https://tstoaddicts.files.wordpress.com
![Page 31: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/31.jpg)
PaaS
![Page 32: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/32.jpg)
![Page 33: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/33.jpg)
The freaking awesome
online PaaS
![Page 34: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/34.jpg)
https://img1.etsystatic.com
![Page 35: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/35.jpg)
Use to interact with the PaaS:
● PaaS UI● PaaS CLI● PaaS API
![Page 36: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/36.jpg)
cli deploy jorgemorales/app --name=frontend
![Page 37: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/37.jpg)
cli deploy http://github.com/jorgemoralespou/app.git
--build=maven --run=wildfly --name=frontend
![Page 38: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/38.jpg)
cli deploy http://github.com/jorgemoralespou/app.git/db.sql
--run=postgresql-persistent --name=database --size=5GB --type=NFS
![Page 39: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/39.jpg)
cli link frontend database
![Page 40: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/40.jpg)
cli scale frontend --replicas=5
![Page 41: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/41.jpg)
Code changes needed!!!
![Page 42: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/42.jpg)
cli deploy http://github.com/jorgemoralespou/app.git
--build=maven --run=wildfly --name=frontend
![Page 43: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/43.jpg)
I fu*** it up!!!
![Page 44: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/44.jpg)
cli rollback frontend
![Page 45: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/45.jpg)
Also...
● Big catalog of images to use (Docker)● Automatic builds based on code changes● Application Hooks. pre-deploy, post-deploy, mid-deploy,
custom.● Application probes. Know when your application is live
and/or ready.● CI/CD, Pipelines● Blue/Green deployments● AB Testing● And many, many more...
![Page 46: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/46.jpg)
Now my app is in production.
![Page 47: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/47.jpg)
http://api.ning.com/
![Page 48: I tried to dockerize my app but I had to PaaS](https://reader034.vdocument.in/reader034/viewer/2022051520/58eec1e71a28abe2228b4629/html5/thumbnails/48.jpg)
If you want to get more information:
@UnPOUcoDe
Or find me at the booth
http://www.openshift.orghttp://www.openshift.com