Member-only story
Don’t Use This Docker Command
Welcome back! Docker is an awesome tool that allows us to deploy and containerize out projects, if you’re new to Docker, check out the link below to learn more about it:
So, let’s take a look at some of the worst Docker commands you should probably avoid doing.
Avoiding Roots
A big issue that many users have within Docker is by running their containers as roots, however, it is recommended to avoid creating your container as a root-user. If you want to learn more about this, here is a link that explains this in detail:
Don’t Put Passwords/Usernames In Images
Another big issue I’ve seen many Docker users implement is by hardcoding their passwords/usernames inside of their projects, this is one of the worst commands you can put inside…