Docker – best practices

Before we dive into the CIS guide, let's go over some of the following best practices when using Docker:

  • One application per container: Spread your applications to one per container. Docker was built for this and it makes everything easy at the end of the day. The isolation that we talked about earlier is where this is the key.
  • Review who has access to your Docker hosts: Remember that whoever has the access to your Docker hosts has the access to manipulate all your images and containers on the host.
  • Use the latest version: Always use the latest version of Docker. This will ensure that all the security holes have been patched and you have the latest features as well.
  • Use the resources: Use the resources available if you need help. The community within Docker is huge and immensely helpful. Use their website, documentation, and the Internet Relay Chat (IRC) chat rooms to your advantage.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset