i'd contend that it's much worse. One (Docker) is a piece of software, one (Amazon) is a corporation with a motivated will.
They are two different problems. One is basically the problem of copy-paste/stackoverflow developers, the other is a walled garden problem that'll make itself worse over time.