I am not a professional developer, but enjoy learning programming as a serious hobby (may develop ann App or two in due course if manage to learn enough). I do not intend to work as a developer in any company. In the last week I have started learning Docker - reading multiple books and watching many video tutorial from many very good teachers. I am able to follow many of these but do get stuck here and there.
Whilst spending time learning it, I keep thinking, is it an appropriate use of my time and is it going to be helpful to me in any way to learn Docker. One of the reason, I have started learning is to help overcome a problem I often run into whilst learning on my own which is that quite often when you are following a book or a tutorial the sample code or application has many dependencies that I do not have on my computer and they don’t run on my machine in the way the book or the tutorial shows. I can of course download these different dependencies and framework but I worry doing that in case downloading and installing many different things on my machine would lead to any conflicts or slow down my machine. From learning Docker, I am hopping that I may be able to avoid installing multiple conflicting dependencies or run times on my machine by using Docker containers, that I could easily remove when I do not need them.
My question is am right in thinking this and is learning Docker going to help me in overcoming the problem that I have just described. So in essence my question is learning Docker going to help somebody like me who is learning programming just as a hobby and can it help my learning efforts in the way I am hoping.