I probably read 3 articles on this and got no where. After watching this video I feel like this isn't even that complicated. Thanks a lot for making this!
To me this sounds quite highlightening and I had these challenges in the past. Even I have the suspicion other people teach to use CMD at first, where it hurts the rule of least priviledged, however. Thanks for the video
Thank you for this video. I read the docker official docs and couldn't understand the difference or when to use each one. Your video is easy to understand and the examples are great.
Cristal clear explanation thanks for the video . One question how do you run the commands in visual studio code do we need to install any extension for that ?
Hey Siva 👋 thank you for your kind comment! No I don't use any extension for the Visual Studio Code terminal, although if you're referring to how my terminal looks I use *oh-my-zsh* with the *PowerLevel10k* theme. I'll link the repos below if you want to check them out 🙂 - ohmyz.sh/ - github.com/romkatv/powerlevel10k
8:13 at this point the docker container is run with entrypoint and cmd arguments in the dockerfile. 8:20 at this point the docker container is run with cmd replaced with the command line argument, which is whoiam.
Hi @atexnik, thank you for your feedback. Indeed you’re right there’s the implicit entrypoint defined in the Dockerfile that will always execute unless otherwise specified. I’ll keep this in mind and be more explicit about it next time 🙏
Hello Bartosz, the short answer is no, I don't think creating loads of containers is a problem 🙂 let me explain. Containers are disposable things by nature, they're meant to be created, stopped, destroyed and created again. Coming back to the dig example, yes, this will leave a lot of stopped containers in your system, but they hardly utilise any space because they don't generate and store any data. When seeing a lot of stopped containers starts to bother you, you have the option of removing all stopped containers with the prune command *docker container prune -f* or for a deeper cleaning *docker system prune*
Hi Manuel , I need some help dockerizing my organization application based on wildfly/jboss so that we can run it in Docker and kube8...con you please revert me for help
Hello Simiran! I appreciate your suggestion, I'll keep in mind to include some easier examples in my next videos :) To try help you out with this video I can tell you the example at 3:23 should be simple enough. It shows how to use the ENTRYPOINT to create a container that runs a single Linux command. If you have further questions I'm happy to help :)