Docker

5 Docker Best Practices

Docker best practices that will help us optimize images for better size, security and developer experience

Docker Container Networking

By default, several network modes of bridge, host, none, overlay, maclan and Network plugins are provided. When running the container, you can set the specific mode to be used through the -network parameter

Use timing tasks in Django application container

As a Django application developer, you often encounter situations like this: You want to be able to perform periodic asynchronous background tasks. It will come in handy if you want to create some background checks, send notifications or build a cache

Docker Daemon Socket TLS encryption

In order to prevent problems such as link hijacking and session hijacking from being attacked by an intermediary during Docker communication, both ends of c/s should communicate through encryption.

Docker modify storage path

When Docker is installed by default, the /var/lib/docker/ directory will be used as the storage directory to store the pulled images and created containers, etc.

CentOS uses Docker to deploy opengrok

OpenGrok is a fast, easy-to-use source code search and comparison engine. It helps you search, compare, and locate your source tree. It understands various program file formats and version control history

CentOS7 Docker CE online installation

Docker CE supports the 64-bit version of CentOS 7, and requires the kernel version to be at least 3.10. CentOS 7 meets the minimum kernel requirements, but due to the relatively low kernel version, some functions (such as overlay2 storage layer driver) cannot be used, and some functions may not be stable