Loved it. Excellent presentation. Especially the docker compose commands. It would be nice, if Dan can talk about how this is done in production environment too
great talk, i've heard of docker but never really tried it. been a developer for a long time, and it’s always a pain to solve issues which exist on one environment but not on another. It seems docker is definitely a game changer. Will plan to use docker as part of our build and deployment process(bamboo).
Yeah - that's a good trick actually. I normally just type 2 characters and call it good most of the time, but when you have to type more than that the tab is definitely good! Thanks for pointing that out.
I never used Docker because I only do the Angular part but I really want to. It is a really nice talk Dan. Also happy to know that I was pronouncing your surname correctly.
Good stuff. My Docker light bulb popped on about a year ago. I've been on a mission to dockerize everything. LOL! Didn't know about the ng cli. Thanks for the heads up.
Great talk. Been only dabbling with docker, but this pulls it all together nicely for me. Assume the data is stored on the final docker images (for the big demo) and restores in the same state each time?
Hey Rick! Yeah, if the data, code, etc. is baked into the image then every time you run the container you'd be starting from the same point. For data that changes you'll normally use volumes with containers since when you kill a container it kills any "live" state in that container.
Got it. I converted my albumviewer sample to run with nginx and docker and worked great. Thanks dan for the nudge to finally actually do something useful with docker :-)
Nice! So when do we get you back speaking at DevIntersection? We have a new enterprise Angular conference planned for October (Orlando) as well now. :-)
Thank you for the super informative and fun talk. Two quick questions: 1) where's the GitHub code? 2) if I'm using the MEAN stack, does that equate to four separate Docker containers, or should everything go into one container? Sorry in advance if I've missed anything.
Hi. Actually could be both ways - all stuff in one container or each container only one service/application. For example you may have Node and Angular in one container - not necessary to use NGINX for Angular, you can host it from static middleware. So in this case two separate layers are in the same container. Well, there are different reasons not to do it, like if you need to update version or who knows.. But it is totally possible to have more than one app per container.
Is it good practice to put all your containers and projects in one root git? Been trying to dive into docker and figuring out how/where to put my postgres stuff.
It turns out ng build deletes the dist folder every time it runs which will break the volume. So, until that behavior gets changed (if it does) I don't want to add it since things get a bit weird & people will wonder why nginx is giving a 404. Strange issue I ran across while creating the project. Other than that, I like your suggestion for a possible future change though.
Just made a request to the CLI team to have an option to leave the "dist" folder. Hoping they'll add a flag so that the volumes don't break. Then, more of this could be automated.
Best fast start I've seen. I've been using Docker compose for six months, now I understand what's going on!
Glad to hear it helped - thanks Brian.
Loved it. Excellent presentation. Especially the docker compose commands. It would be nice, if Dan can talk about how this is done in production environment too
great talk, i've heard of docker but never really tried it. been a developer for a long time, and it’s always a pain to solve issues which exist on one environment but not on another. It seems docker is definitely a game changer. Will plan to use docker as part of our build and deployment process(bamboo).
The best presentation I've ever seen !!!
Hey Dan when removing images/containers and entering the id try using the tab button it autofills the rest of the id for you :)
Yeah - that's a good trick actually. I normally just type 2 characters and call it good most of the time, but when you have to type more than that the tab is definitely good! Thanks for pointing that out.
I never used Docker because I only do the Angular part but I really want to. It is a really nice talk Dan. Also happy to know that I was pronouncing your surname correctly.
Thanks - it's fun stuff. And....glad to hear you know how to pronounce my last name. :-)
Great talk and interesting topic! Thanks Dan!
The sound keeps switching right to lift it got me dizzy!
Good stuff. My Docker light bulb popped on about a year ago. I've been on a mission to dockerize everything. LOL! Didn't know about the ng cli. Thanks for the heads up.
Great talk. Been only dabbling with docker, but this pulls it all together nicely for me. Assume the data is stored on the final docker images (for the big demo) and restores in the same state each time?
Hey Rick! Yeah, if the data, code, etc. is baked into the image then every time you run the container you'd be starting from the same point. For data that changes you'll normally use volumes with containers since when you kill a container it kills any "live" state in that container.
Got it. I converted my albumviewer sample to run with nginx and docker and worked great. Thanks dan for the nudge to finally actually do something useful with docker :-)
Nice! So when do we get you back speaking at DevIntersection? We have a new enterprise Angular conference planned for October (Orlando) as well now. :-)
This is super helpful! Thanks a lot!
Thank you for the super informative and fun talk. Two quick questions:
1) where's the GitHub code?
2) if I'm using the MEAN stack, does that equate to four separate Docker containers, or should everything go into one container?
Sorry in advance if I've missed anything.
Hi. Actually could be both ways - all stuff in one container or each container only one service/application.
For example you may have Node and Angular in one container - not necessary to use NGINX for Angular, you can host it from static middleware. So in this case two separate layers are in the same container. Well, there are different reasons not to do it, like if you need to update version or who knows.. But it is totally possible to have more than one app per container.
Great Talk :) Gives a great introduction to Docker
Thanks Jonathan!
Is it good practice to put all your containers and projects in one root git? Been trying to dive into docker and figuring out how/where to put my postgres stuff.
Your dockerfiles and projects could certainly go into one root git. Containers are only runtime entities so they won't ever go into source control.
If you allready know about docker or docker does need introduction for you, skip to 22:09 ( ruclips.net/video/socWfhPJptE/видео.htmlm9s )
thx
Wow great
Can you add the ng build command to your build script?
It turns out ng build deletes the dist folder every time it runs which will break the volume. So, until that behavior gets changed (if it does) I don't want to add it since things get a bit weird & people will wonder why nginx is giving a 404. Strange issue I ran across while creating the project. Other than that, I like your suggestion for a possible future change though.
That makes sense! I really enjoyed your talk btw! I look forward to more (if there are more).
Just made a request to the CLI team to have an option to leave the "dist" folder. Hoping they'll add a flag so that the volumes don't break. Then, more of this could be automated.
Fantastic!
Hamari video mein add kar do
Mari video mein add dikha diya karo
Missing Lakha Banjara Uttar Pradesh dharmveer Singh Nayak isa banjare hamare video mein bhi add dikha diya karo