Docker isn't sufficient because it just manages a process. Something "outside" has to tell it what port to run on.
So the next question is, do you learn docker-swarm? Docker-compose? Puppet? Chef? Vagrant? It's all too much.
If you just know docker and k8s I think you're in a pretty good platform-independent and future-proof position.