News for hackers. Stuff that matters.
Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @07:27AM (#11813526)
I've been using docker for a couple months but I still learned some new stuff. Awesome tutorial! Docker should be required learning in any CS program. I cannot fathom why anyone would setup environments any other way.
Re:Learn Docker by building a Microservice by andrewchambers on Wednesday June 01, 2016 @07:35AM (#11813558)
Docker isn't the only way, or always even a good way to do things. A better requirement would be to teach people how to write software that isn't a giant mess of dependencies that can't be recreated without the additional complexity of docker.
Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @11:18AM (#11815036)
I admit my wording was not as good as it could have been. I also agree that good engineering fundamental should be taught; however, Docker is a tool like any other. It can be used for both good and evil.
Re:Learn Docker by building a Microservice by pawadu on Wednesday June 01, 2016 @07:42AM (#11813592)
Do you think CS programs should teach someframework.js too?

Where is the Science in using stuff other people have put together (and then written a detailed instruction on how to use it)?

Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @11:17AM (#11815019)
Serious question: have you been through a CS program? In addition to the mathematical and theoretical underpinnings of the discipline, a large part of what is taught is how to engineer software. IMO Docker is a major step forward in software engineering, this is why I believe it should be taught.
Re:Learn Docker by building a Microservice by davexunit on Wednesday June 01, 2016 @12:20PM (#11815685)
>IMO Docker is a major step forward in software engineering

And a lot of people, myself included, disagree. Docker is a huge step backwards because it is covering up the major underlying issues of package management. It's a sledgehammer solution to a problem for which more composable, elegant solutions exist.

Re:Learn Docker by building a Microservice by pawadu on Thursday June 02, 2016 @04:38AM (#11821124)
Serious answer: a good CS program does not waste time teaching a particular use of a particular technology that may or may not be in use by the time the student has graduated. Instead, it ensures that the student has the base knowledge and research technique to learn that technology in a weekend when/if he needs it.
Re:Learn Docker by building a Microservice by eggman on Wednesday June 01, 2016 @08:53AM (#11813952)
are there different ways to put boards together so that they all run *nix? or are intel, asus, msi and gigabyte all doing the same thing?
Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @09:43AM (#11814244)
OP Here: Wow, people really took my comment the wrong way. Learning how to set up reproducible stacks is a skill that would greatly benefit students. How would it not?

I wasn't trying to say that anyone who doesn't use Docker is an idiot; if that's how it came across, I'm sorry.

Re:Learn Docker by building a Microservice by tdsamardzhiev on Wednesday June 01, 2016 @10:05AM (#11814411)
Docker is nice and all, but a CS program should teach CS, not Docker :)
Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @10:50AM (#11814749)
Software engineering was not part of your cs program?
Re:Learn Docker by building a Microservice by tdsamardzhiev on Thursday June 02, 2016 @12:32AM (#11820382)
I didn't actually intend for my response to sound snarky, even though as I read it now, it probably does. I think CS degrees should teach understanding (not practice) that will be useful to you for at least, say, the next 50 years if you are a computer scientist. Trendy tools and languages we can learn ourselves. What might be useful in a Software Engineering degree IMO is learning to do the thing yourself (e.g. creating a chroot jail for an app you developed the previous semester), together with a short tour of tools that already do that (Docker or whatever is popular at the time can make a good case study.) However, for a CS degree where you have only 1-2 SE-related subjects, I believe such a thing would just get in the way.
Re:Learn Docker by building a Microservice by mpicker0 on Wednesday June 01, 2016 @03:41PM (#11817495)
Many schools have separate software engineering majors/disciplines. When doing my MS in CompSci, there was only one required class on software engineering. I can imagine that other schools would not have that requirement at all.
Re:Learn Docker by building a Microservice by stirner on Wednesday June 01, 2016 @09:07AM (#11814024)
Docker is a (useful) compromise to help people deal with unmanageable, sloppy software. If students learn how to write simple, portable software, the need for compromises like Docker is reduced.
Re:Learn Docker by building a Microservice by dorfsmay on Wednesday June 01, 2016 @09:38AM (#11814209)
Docker is one of the way to bind infrastructure dependencies with a version of software, which means you can be consistent across nodes, run any version of your software without suffering dependency mismatches, and it ensure dev, qa and prod use the same (version of) dependencies. Finally it makes it easy to always run the latest stable versions of your dependencies.

Docker is one way to manage deployment better REGARDLESS of the quality of your software.

Re:Learn Docker by building a Microservice by davexunit on Wednesday June 01, 2016 @12:30PM (#11815773)
Functional package managers solve the same problems, but do it better and come with additional features like unprivileged package management, transactional upgrades and rollbacks, and bit-reproducible builds.
Re:Learn Docker by building a Microservice by alistproducer2 on Wednesday June 01, 2016 @02:22PM (#11816860)
In your opinion, how is this superior to just building a container?

Also, could such a package manager be used to deploy to clusters?

I'm not being facetious, I'm trying to understand your rationale for using a PM over Docker for similar use cases.

Re:Learn Docker by building a Microservice by dorfsmay on Wednesday June 01, 2016 @01:17PM (#11816214)
Notice I said "one way". I wanted to counter the arguments that writing better software remove the need for something like docker.

Are talking about something like NIX?

How do you handle other type of installs such as python pip?